Skip to content

Commit 41968a5

Browse files
authored
CI: Fix test failures in 32-bit environment (#61423)
* CI: re-run testing in cython=3.0.10 env to evaluate root cause of testing failure * add comment for pin cython version
1 parent 839747c commit 41968a5

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
@@ -241,12 +241,14 @@ jobs:
241241
fi
242242
- name: Build environment and Run Tests
243243
# https://github.com/numpy/numpy/issues/24703#issuecomment-1722379388
244+
# Note: Pinned to Cython 3.0.10 to avoid numerical instability in 32-bit environments
245+
# https://github.com/pandas-dev/pandas/pull/61423
244246
run: |
245247
/opt/python/cp313-cp313/bin/python -m venv ~/virtualenvs/pandas-dev
246248
. ~/virtualenvs/pandas-dev/bin/activate
247249
python -m pip install --no-cache-dir -U pip wheel setuptools meson[ninja]==1.2.1 meson-python==0.13.1
248250
python -m pip install numpy -Csetup-args="-Dallow-noblas=true"
249-
python -m pip install --no-cache-dir versioneer[toml] cython python-dateutil pytest>=7.3.2 pytest-xdist>=3.4.0 hypothesis>=6.84.0
251+
python -m pip install --no-cache-dir versioneer[toml] cython==3.0.10 python-dateutil pytest>=7.3.2 pytest-xdist>=3.4.0 hypothesis>=6.84.0
250252
python -m pip install --no-cache-dir --no-build-isolation -e . -Csetup-args="--werror"
251253
python -m pip list --no-cache-dir
252254
PANDAS_CI=1 python -m pytest -m 'not slow and not network and not clipboard and not single_cpu' pandas --junitxml=test-data.xml

0 commit comments

Comments
 (0)