Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ dependencies = [
"asteval>=0.9.22,!=0.9.28",
"netcdf4>=1.5.7",
"numba>=0.55",
"numpy>=1.21.2,<2.1",
"numpy>=1.21.2,<2.3",
Comment on lines 35 to +36
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Numba minimum version not updated alongside numpy upper bound

The numpy upper bound was bumped from <2.1 to <2.3, allowing numpy 2.1.x and 2.2.x. However, the numba lower bound remains >=0.55, which is too old to support these numpy versions:

  • Numba 0.60.0 supports numpy up to 2.0.x only
  • Numba 0.61.0 added numpy 2.1.x support
  • Numba 0.61.2 added numpy 2.2.x support

A resolver picking numba 0.60.0 (still valid per >=0.55) alongside numpy 2.1.x or 2.2.x (now valid per <2.3) would create an incompatible combination. Update the numba lower bound to at least >=0.61.2 to guarantee compatibility:

Suggested change
"numba>=0.55",
"numpy>=1.21.2,<2.1",
"numpy>=1.21.2,<2.3",
"numba>=0.61.2",

"odfpy>=1.4.1",
"openpyxl>=3.0.10",
"pandas>=1.3.4",
Expand Down
18 changes: 9 additions & 9 deletions requirements_pinned.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# glotaran setup dependencies
asteval==1.0.2
netCDF4==1.7.1.post1
numba==0.60.0
numpy==2.0.1
asteval==1.0.8
netCDF4==1.7.4
numba==0.64.0
numpy==2.2.6
odfpy==1.4.1
openpyxl==3.1.5
pandas==2.2.2
pydantic==2.10.0
ruamel.yaml==0.18.6
scipy==1.14.1
pydantic==2.12.5
ruamel.yaml==0.19.1
scipy==1.15.3
sdtfile==2024.5.24
tabulate==0.9.0
typing_extensions==4.12.2
tabulate==0.10.0
typing_extensions==4.15.0
xarray==2024.7.0
Loading