File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 70
70
shell : python
71
71
- name : Test
72
72
run : |
73
- pip install numpy ml_dtypes
73
+ pip install " numpy<2" ml_dtypes
74
74
cargo test --all-features
75
75
# Not on PyPy, because no embedding API
76
76
if : ${{ !startsWith(matrix.python-version, 'pypy') }}
@@ -104,7 +104,7 @@ jobs:
104
104
continue-on-error : true
105
105
- uses : taiki-e/install-action@valgrind
106
106
- run : |
107
- pip install numpy ml_dtypes
107
+ pip install " numpy<2" ml_dtypes
108
108
cargo test --all-features --release
109
109
env:
110
110
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER: valgrind --leak-check=no --error-exitcode=1
@@ -119,7 +119,7 @@ jobs:
119
119
continue-on-error : true
120
120
- uses : taiki-e/install-action@cargo-careful
121
121
- run : |
122
- pip install numpy ml_dtypes
122
+ pip install " numpy<2" ml_dtypes
123
123
cargo careful test --all-features
124
124
125
125
check-msrv :
@@ -195,7 +195,7 @@ jobs:
195
195
steps :
196
196
- uses : actions/checkout@v4
197
197
- name : Install numpy
198
- run : pip install numpy ml_dtypes
198
+ run : pip install " numpy<2" ml_dtypes
199
199
- uses : Swatinem/rust-cache@v2
200
200
continue-on-error : true
201
201
- uses : dtolnay/rust-toolchain@stable
Original file line number Diff line number Diff line change 3
3
4
4
@nox .session
5
5
def tests (session ):
6
- session .install ("pip" , "numpy" , "pytest" )
6
+ session .install ("pip" , "numpy<2 " , "pytest" )
7
7
session .run ("pip" , "install" , "." , "-v" )
8
8
session .run ("pytest" )
Original file line number Diff line number Diff line change 3
3
4
4
@nox .session
5
5
def tests (session ):
6
- session .install ("pip" , "numpy" , "pytest" )
6
+ session .install ("pip" , "numpy<2 " , "pytest" )
7
7
session .run ("pip" , "install" , "." , "-v" )
8
8
session .run ("pytest" )
Original file line number Diff line number Diff line change 3
3
4
4
@nox .session
5
5
def tests (session ):
6
- session .install ("pip" , "numpy" , "pytest" )
6
+ session .install ("pip" , "numpy<2 " , "pytest" )
7
7
session .run ("pip" , "install" , "." , "-v" )
8
8
session .run ("pytest" )
You can’t perform that action at this time.
0 commit comments