Skip to content

Commit 919817d

Browse files
committed
add setuptools install
1 parent e2b3939 commit 919817d

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.github/workflows/ci-autowrap.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
include:
18-
- CYTHON: "<=0.29.21"
19-
python-version: "3.8" # Cython < 0.29.21 not compatible with 3.10, so neither are we
2018
- CYTHON: "<=0.29.21"
2119
python-version: "3.9" # Cython < 0.29.21 not compatible with 3.10, so neither are we
2220
- CYTHON: ">0.29.21"
@@ -47,6 +45,9 @@ jobs:
4745
- name: Install pytest
4846
run: |
4947
python -m pip install pytest
48+
- name: Install setuptools
49+
run: |
50+
python -m pip install setuptools
5051
- name: Upgrade cython version
5152
run: |
5253
python -m pip install "Cython${{ matrix.CYTHON }}"

.github/workflows/release-autowrap.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515
build_publish:
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919

2020
- name: Set up Python
2121
uses: actions/setup-python@v4
2222
with:
23-
python-version: 3.9
23+
python-version: 3.11
2424

2525
- name: Upgrade pip version
2626
run: |
@@ -30,6 +30,10 @@ jobs:
3030
run: |
3131
python -m pip install wheel
3232
33+
- name: Install setuptools
34+
run: |
35+
python -m pip install setuptools
36+
3337
- name: Build wheel and source distribution
3438
run: |
3539
python setup.py bdist_wheel sdist
@@ -46,12 +50,12 @@ jobs:
4650
id: version
4751

4852
- name: Create github release
49-
uses: softprops/action-gh-release@v1
53+
uses: softprops/action-gh-release@v2
5054
id: create_release
5155
with:
5256
draft: false
5357
prerelease: false
54-
release_name: ${{ steps.version.outputs.version }}
58+
name: ${{ steps.version.outputs.version }}
5559
tag_name: release/${{ steps.version.outputs.version }}
5660
body_path: CHANGELOG.md
5761
env:

0 commit comments

Comments
 (0)