Skip to content

Commit 5bbd98b

Browse files
Backport PR #61423: CI: Fix test failures in 32-bit environment (#61437)
Co-authored-by: ChiLin Chiu <[email protected]>
1 parent 9bb152d commit 5bbd98b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/unit-tests.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -271,12 +271,14 @@ jobs:
271271
fi
272272
- name: Build environment and Run Tests
273273
# https://github.com/numpy/numpy/issues/24703#issuecomment-1722379388
274+
# Note: Pinned to Cython 3.0.10 to avoid numerical instability in 32-bit environments
275+
# https://github.com/pandas-dev/pandas/pull/61423
274276
run: |
275277
/opt/python/cp311-cp311/bin/python -m venv ~/virtualenvs/pandas-dev
276278
. ~/virtualenvs/pandas-dev/bin/activate
277279
python -m pip install --no-cache-dir -U pip wheel setuptools meson[ninja]==1.2.1 meson-python==0.13.1
278280
python -m pip install numpy --config-settings=setup-args="-Dallow-noblas=true"
279-
python -m pip install --no-cache-dir versioneer[toml] cython python-dateutil "pytz<2024.2" pytest>=7.3.2 pytest-xdist>=2.2.0 hypothesis>=6.46.1
281+
python -m pip install --no-cache-dir versioneer[toml] cython==3.0.10 python-dateutil "pytz<2024.2" pytest>=7.3.2 pytest-xdist>=2.2.0 hypothesis>=6.46.1
280282
python -m pip install --no-cache-dir --no-build-isolation -e . --config-settings=setup-args="--werror"
281283
python -m pip list --no-cache-dir
282284
export PANDAS_CI=1

0 commit comments

Comments
 (0)