Skip to content

Commit 2750aa0

Browse files
committed
Add numpy version pin
1 parent e54f99c commit 2750aa0

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.circleci/config.yml

+14-2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ commands:
3737
parameters:
3838
pandas_version:
3939
type: string
40+
numpy_version:
41+
type: string
4042
steps:
4143
- checkout
4244
- browser-tools/install-chrome
@@ -65,19 +67,24 @@ commands:
6567
command: |
6668
source .venv/bin/activate
6769
uv pip install pip
68-
python -m pip install pandas==<<parameters.pandas_version>>
70+
python -m pip install pandas==<<parameters.pandas_version>> numpy==<<parameters.numpy_version>>
6971
7072
- run:
7173
name: Test core
7274
command: |
7375
source .venv/bin/activate
7476
python -m pytest tests/test_core
7577
no_output_timeout: 20m
78+
- run:
79+
name: List installed packages and python version
80+
command: |
81+
source .venv/bin/activate
82+
uv pip list
83+
python --version
7684
- run:
7785
name: Test optional
7886
command: |
7987
source .venv/bin/activate
80-
uv pip list | grep pandas
8188
python -m pytest tests/test_optional
8289
no_output_timeout: 40m
8390
- run:
@@ -141,12 +148,16 @@ jobs:
141148
pandas_version:
142149
default: ""
143150
type: string
151+
numpy_version:
152+
default: ""
153+
type: string
144154
executor:
145155
name: docker-container
146156
python_version: <<parameters.python_version>>
147157
steps:
148158
- test_optional:
149159
pandas_version: <<parameters.pandas_version>>
160+
numpy_version: <<parameters.numpy_version>>
150161

151162
# Percy
152163
python_39_percy:
@@ -423,5 +434,6 @@ workflows:
423434
name: "Test optional with pandas 1.2.4"
424435
python_version: "3.9"
425436
pandas_version: "1.2.4"
437+
numpy_version: "1.26.4"
426438
- python_39_percy
427439
- build-doc

0 commit comments

Comments
 (0)