Skip to content

Commit 031614c

Browse files
nitins17Google-ML-Automation
authored andcommitted
Pin numpy~=2.1.0 in workflow file instead of test-requirements.txt
PiperOrigin-RevId: 737632771
1 parent 3649da5 commit 031614c

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/pytest_cpu.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,11 @@ jobs:
118118
run: |
119119
$JAXCI_PYTHON -m pip install uv~=0.5.30
120120
$JAXCI_PYTHON -m uv pip install -r build/test-requirements.txt
121+
122+
# CPU Pytests crash with NumPy 2.2+ on Linux Aarch64; b/399168632
123+
if [[ $OS == "linux" && $ARCH == "aarch64" ]]; then
124+
$JAXCI_PYTHON -m uv pip install numpy~=2.1.0
125+
fi
121126
# Halt for testing
122127
- name: Wait For Connection
123128
uses: google-ml-infra/actions/ci_connection@main

build/test-requirements.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,4 @@ setuptools
1818
matplotlib~=3.8.4; python_version=="3.10"
1919
matplotlib; python_version>="3.11"
2020
opt-einsum
21-
auditwheel
22-
23-
# CPU Pytests crash with NumPy 2.2+ on Linux Aarch64; b/399168632
24-
numpy~=2.1.0; platform_system == "Linux" and platform_machine == "aarch64"
21+
auditwheel

0 commit comments

Comments
 (0)