diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index e8672115b..8620618dc 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -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 @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 856d46cf3..d64694822 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "Cython~=0.29.29", + "cython>=3", "setuptools>=61", ] build-backend = "setuptools.build_meta" diff --git a/requirements-dev.txt b/requirements-dev.txt index 797477aa5..78d00eb5a 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -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