From c7d53681db2bafbcf2610e38ef805a2ad4f9d3c4 Mon Sep 17 00:00:00 2001 From: renaud gaudin Date: Tue, 23 Jun 2020 17:26:36 +0000 Subject: [PATCH] Upgrade cython to latest stable 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. --- .github/workflows/release.yml | 3 +-- .github/workflows/test.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a3f51bbb..1e057cae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,6 @@ on: env: LIBZIM_VERSION: 6.1.6 LIBZIM_INCLUDE_PATH: include/zim - CYTHON_VERSION: 0.29.6 TWINE_USERNAME: __token__ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} # TWINE_REPOSITORY_URL: https://test.pypi.org/legacy/ @@ -78,7 +77,7 @@ jobs: - name: Build cython, sdist, and bdist_wheels run: | - pip install --upgrade cython==$CYTHON_VERSION setuptools pip wheel + pip install --upgrade "cython>=0.29.20,<3.0" setuptools pip wheel python3 setup.py build_ext --rpath='$ORIGIN' if [[ "${{ matrix.python-version }}" == "3.6" ]] then diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d00346a5..dacf88b0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,6 @@ on: [push] env: LIBZIM_VERSION: 6.1.6 LIBZIM_INCLUDE_PATH: include/zim - CYTHON_VERSION: 0.29.6 MAX_LINE_LENGTH: 110 jobs: @@ -98,7 +97,7 @@ jobs: - name: Build cython, sdist, and bdist_wheel run: | - pip install --upgrade cython==$CYTHON_VERSION setuptools pip wheel + pip install --upgrade pip install "cython>=0.29.20,<3.0" setuptools pip wheel python3 setup.py build_ext python3 setup.py sdist bdist_wheel