Skip to content

Commit ddb767e

Browse files
author
Jacob Garber
committed
Add numpy 2.0.2
This is the current version of numpy in Google Colab, see: https://github.com/googlecolab/backend-info/blob/main/pip-freeze.txt We should use this version of numpy in our poetry.lock file so that our testing environments match the colab version, but still specify a wider range of allowable versions in pyproject.toml so that if a newer version of colab is released then the malaria package can still be installed. This can be done by running `poetry add numpy==2.0.2` and then editing pyproject.toml to specify the allowed range of versions.
1 parent 4341957 commit ddb767e

2 files changed

Lines changed: 51 additions & 39 deletions

File tree

poetry.lock

Lines changed: 47 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ authors = [
1515
license = "MIT"
1616

1717
[tool.poetry.dependencies]
18+
# We should try to remain compatible with the latest
19+
# package versions in Google Colab:
20+
# https://github.com/googlecolab/backend-info
1821
python = ">=3.10,<3.13"
19-
numpy = "==1.26.4"
22+
numpy = ">=2.0.2,<2.1"
2023
numba = ">=0.60.0"
2124
llvmlite = "*"
2225
scipy = "*"

0 commit comments

Comments
 (0)