Skip to content

Commit 9059d74

Browse files
author
rgaudin
authored
Upgrade cython to latest stable (#50)
Cython is a fast evolving project with frequent fixes and improvements. Keeping up-to-date on stable version makes sense as a failure to build with a newer Cython would indicate a problem on our codebase.
1 parent 5cff1c5 commit 9059d74

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ on:
88
env:
99
LIBZIM_VERSION: 6.1.6
1010
LIBZIM_INCLUDE_PATH: include/zim
11-
CYTHON_VERSION: 0.29.6
1211
TWINE_USERNAME: __token__
1312
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
1413
# TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/
@@ -78,7 +77,7 @@ jobs:
7877
7978
- name: Build cython, sdist, and bdist_wheels
8079
run: |
81-
pip install --upgrade cython==$CYTHON_VERSION setuptools pip wheel
80+
pip install --upgrade "cython>=0.29.20,<3.0" setuptools pip wheel
8281
python3 setup.py build_ext --rpath='$ORIGIN'
8382
if [[ "${{ matrix.python-version }}" == "3.6" ]]
8483
then

.github/workflows/test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on: [push]
44
env:
55
LIBZIM_VERSION: 6.1.6
66
LIBZIM_INCLUDE_PATH: include/zim
7-
CYTHON_VERSION: 0.29.6
87
MAX_LINE_LENGTH: 110
98

109
jobs:
@@ -98,7 +97,7 @@ jobs:
9897
9998
- name: Build cython, sdist, and bdist_wheel
10099
run: |
101-
pip install --upgrade cython==$CYTHON_VERSION setuptools pip wheel
100+
pip install --upgrade pip install "cython>=0.29.20,<3.0" setuptools pip wheel
102101
python3 setup.py build_ext
103102
python3 setup.py sdist bdist_wheel
104103

0 commit comments

Comments
 (0)