Skip to content

Commit 08d5282

Browse files
authored
chore(dependencies): add upper bounds for numpy/pandas (#2662)
Add upper bounds to numpy and pandas in pyproject.toml, and remove --prerelease-allow from uv sync command in smoke tests. CI was failing because these two factors combined to allow prerelease versions of numpy and pandas, which broke some tests. The intent behind --allow-prerelease was to get a prerelease version of vtk on ARM macs, but seems a full version is now available on PyPI. I think this might clear the way to switch CI to pixi if we want, as described in #2424
1 parent 7468302 commit 08d5282

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/commit.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ jobs:
8383
cache-dependency-glob: "**/pyproject.toml"
8484

8585
- name: Install Python dependencies
86-
# temp. allow prereleases for vtk on aarch64
87-
run: uv sync --all-extras --prerelease=allow
86+
run: uv sync --all-extras
8887

8988
- name: Install Modflow executables
9089
uses: modflowpy/install-modflow-action@v1

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ classifiers = [
2626
]
2727
requires-python = ">=3.10"
2828
dependencies = [
29-
"numpy>=1.20.3",
29+
"numpy>=1.20.3,<3.0",
3030
"matplotlib >=1.4.0",
31-
"pandas >=2.0.0",
31+
"pandas >=2.0.0,<3.0",
3232
]
3333
dynamic = ["version", "readme"]
3434

0 commit comments

Comments
 (0)