Skip to content

Commit 0c7a8b4

Browse files
Backport PR pandas-dev#54759 on branch 2.1.x (CI: Pin more cython) (pandas-dev#54764)
Backport PR pandas-dev#54759: CI: Pin more cython Co-authored-by: Thomas Li <[email protected]>
1 parent d407b03 commit 0c7a8b4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/unit-tests.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ jobs:
234234
/opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
235235
. ~/virtualenvs/pandas-dev/bin/activate
236236
python -m pip install --no-cache-dir -U pip wheel setuptools meson[ninja]==1.0.1 meson-python==0.13.1
237-
python -m pip install --no-cache-dir versioneer[toml] cython numpy python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-asyncio>=0.17 hypothesis>=6.46.1
237+
python -m pip install --no-cache-dir versioneer[toml] "cython<3.0.1" numpy python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-asyncio>=0.17 hypothesis>=6.46.1
238238
python -m pip install --no-cache-dir --no-build-isolation -e .
239239
python -m pip list --no-cache-dir
240240
export PANDAS_CI=1
@@ -272,7 +272,7 @@ jobs:
272272
/opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
273273
. ~/virtualenvs/pandas-dev/bin/activate
274274
python -m pip install --no-cache-dir -U pip wheel setuptools meson-python==0.13.1 meson[ninja]==1.0.1
275-
python -m pip install --no-cache-dir versioneer[toml] cython numpy python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-asyncio>=0.17 hypothesis>=6.46.1
275+
python -m pip install --no-cache-dir versioneer[toml] "cython<3.0.1" numpy python-dateutil pytz pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-asyncio>=0.17 hypothesis>=6.46.1
276276
python -m pip install --no-cache-dir --no-build-isolation -e .
277277
python -m pip list --no-cache-dir
278278
@@ -345,7 +345,7 @@ jobs:
345345
python -m pip install --upgrade pip setuptools wheel meson[ninja]==1.0.1 meson-python==0.13.1
346346
python -m pip install --pre --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy
347347
python -m pip install versioneer[toml]
348-
python -m pip install python-dateutil pytz tzdata cython hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-cov pytest-asyncio>=0.17
348+
python -m pip install python-dateutil pytz tzdata "cython<3.0.1" hypothesis>=6.46.1 pytest>=7.3.2 pytest-xdist>=2.2.0 pytest-cov pytest-asyncio>=0.17
349349
python -m pip install -ve . --no-build-isolation --no-index
350350
python -m pip list
351351

ci/deps/actions-311-numpydev.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies:
2525
- pip
2626

2727
- pip:
28-
- "cython<=3.0.1"
28+
- "cython<3.0.1"
2929
- "--extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple"
3030
- "--pre"
3131
- "numpy"

0 commit comments

Comments
 (0)