Skip to content

Commit

Permalink
DEP: Pin cython>=3 (#1281)
Browse files Browse the repository at this point in the history
  • Loading branch information
snowman2 authored Aug 7, 2023
1 parent f2e42d7 commit 828f4df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
run: |
conda config --prepend channels conda-forge
conda config --set channel_priority strict
conda create -n test python=${{ matrix.python-version }} libgdal geos=3.10.3 cython=0.29
conda create -n test python=${{ matrix.python-version }} libgdal geos=3.10.3 cython=3
source activate test
python -m pip install -e . || python -m pip install -e .
python -m pip install -r requirements-dev.txt
Expand All @@ -120,7 +120,7 @@ jobs:
run: |
conda config --prepend channels conda-forge
conda config --set channel_priority strict
conda create -n test python=${{ matrix.python-version }} libgdal geos=3.10.3 cython=0.29
conda create -n test python=${{ matrix.python-version }} libgdal geos=3.10.3 cython=3
source activate test
GDAL_VERSION="3.5" python setup.py build_ext -I"C:\\Miniconda\\envs\\test\\Library\\include" -lgdal_i -L"C:\\Miniconda\\envs\\test\\Library\\lib" install
python -m pip install -r requirements-dev.txt
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[build-system]
requires = [
"Cython~=0.29.29",
"cython>=3",
"setuptools>=61",
]
build-backend = "setuptools.build_meta"
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-r requirements.txt
boto3>=1.3.1
coverage~=6.5
cython~=0.29.29
cython>=3
pytest~=7.2
pytest-cov~=4.0
pytz==2022.6
Expand Down

0 comments on commit 828f4df

Please sign in to comment.