Skip to content

Commit 576680c

Browse files
authored
Adding support for numpy 2 (#132)
1 parent 6ebe885 commit 576680c

File tree

4 files changed

+326
-81
lines changed

4 files changed

+326
-81
lines changed

pixi.lock

+236-10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pixi.toml

+21-17
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ postinstall = "pip install --no-build-isolation --no-deps --disable-pip-version-
99

1010
[dependencies]
1111
python = ">=3.8"
12-
numpy = "*"
12+
numpy = ">=1,<3"
1313

1414
[host-dependencies]
1515
pip = "*"
@@ -49,6 +49,10 @@ scikit-learn = ">=1.3,<1.4"
4949
scikit-learn = ">=1.4,<1.5"
5050
[feature.skl15.dependencies]
5151
scikit-learn = ">=1.5,<1.6"
52+
[feature.np1.dependencies]
53+
numpy = "1.*"
54+
[feature.np2.dependencies]
55+
numpy = "2.*"
5256
[feature.py38.dependencies]
5357
python = ">=3.8,<3.9"
5458
[feature.py39.dependencies]
@@ -71,20 +75,20 @@ pre-commit-run = "pre-commit run -a"
7175

7276
[environments]
7377
default = ["test"]
74-
skl11 = ["py38", "skl11", "test"]
75-
skl12 = ["py38", "skl12", "test"]
76-
skl13 = ["py38", "skl13", "test"]
77-
skl14 = ["py39", "skl14", "test"]
78-
skl15 = ["py39", "skl15", "test"]
79-
lgbm32 = ["py38", "lgbm32", "test"]
80-
lgbm33 = ["py38", "lgbm33", "test"]
81-
lgbm40 = ["py38", "lgbm40", "test"]
82-
lgbm41 = ["py38", "lgbm41", "test"]
83-
lgbm42 = ["py38", "lgbm42", "test"]
84-
lgbm43 = ["py38", "lgbm43", "test"]
85-
py38 = ["py38", "test"]
86-
py39 = ["py39", "test"]
87-
py310 = ["py310", "test"]
88-
py311 = ["py311", "test"]
89-
py312 = ["py312", "test"]
78+
skl11 = ["py38", "skl11", "test", "np1"]
79+
skl12 = ["py38", "skl12", "test", "np1"]
80+
skl13 = ["py38", "skl13", "test", "np1"]
81+
skl14 = ["py39", "skl14", "test", "np1"]
82+
skl15 = ["py39", "skl15", "test", "np2"]
83+
lgbm32 = ["py38", "lgbm32", "test", "np1"]
84+
lgbm33 = ["py38", "lgbm33", "test", "np1"]
85+
lgbm40 = ["py38", "lgbm40", "test", "np1"]
86+
lgbm41 = ["py38", "lgbm41", "test", "np1"]
87+
lgbm42 = ["py38", "lgbm42", "test", "np1"]
88+
lgbm43 = ["py38", "lgbm43", "test", "np1"]
89+
py38 = ["py38", "test", "np1"]
90+
py39 = ["py39", "test", "np1"]
91+
py310 = ["py310", "test", "np1"]
92+
py311 = ["py311", "test", "np1"]
93+
py312 = ["py312", "test", "np2"]
9094
lint = { features = ["lint"], no-default-feature = true }

0 commit comments

Comments
 (0)