Skip to content

Commit 06861e0

Browse files
llcourageLIT team
authored andcommitted
Change Numpy requirement to version == 2.3.
PiperOrigin-RevId: 771490711
1 parent 4542238 commit 06861e0

File tree

4 files changed

+5
-10
lines changed

4 files changed

+5
-10
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
strategy:
3434
matrix:
3535
node-version: [18]
36-
python-version: ["3.9", "3.10", "3.11"]
36+
python-version: ["3.11"]
3737
defaults:
3838
run:
3939
shell: bash -l {0}

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies = [
2626
"Levenshtein>=0.21.1",
2727
"matplotlib>=3.7.1",
2828
"ml-collections>=0.1.1",
29-
"numpy>=1.24.1,<2.0.0",
29+
"numpy==2.3",
3030
"pandas[output-formatting]>=2.0.3",
3131
"Pillow>=10.0.0",
3232
"portpicker>=1.5.2",
@@ -36,7 +36,6 @@ dependencies = [
3636
"saliency>=0.1.3",
3737
"scikit-learn>=1.6.1",
3838
"scipy>=1.10.1",
39-
"shap>=0.42.0,<0.46.0",
4039
"six>=1.16.0",
4140
"termcolor>=2.3.0",
4241
"tqdm>=4.64.0",
@@ -105,14 +104,12 @@ examples-generative-ai = [
105104
]
106105
# LINT.ThenChange(./requirements_examples_generative_ai.txt)
107106
umap = [
108-
"umap-learn==0.5.6"
109107
]
110108
# LINT.IfChange
111109
test = [
112110
"lit-nlp[examples-discriminative-ai]",
113111
"lit-nlp[examples-generative-ai]",
114112
"lit-nlp[umap]",
115-
"lime==0.2.0.1",
116113
"pytest>=7.4.0,<8.0.0",
117114
"webtest>=2.0",
118115
]

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ filelock>=3.12.3
2121
google-cloud-translate>=3.11.1
2222
ipython>=7.34.0
2323
Levenshtein>=0.21.1
24-
matplotlib>=3.6.0,<3.9.0
24+
matplotlib>=3.9.0
2525
ml-collections>=0.1.1
26-
numpy>=1.24.1,<2.0.0
26+
numpy==2.3
2727
pandas[output-formatting]>=2.0.3
2828
Pillow>=10.0.0
2929
portpicker>=1.5.2
@@ -33,7 +33,7 @@ sacrebleu>=2.3.1
3333
saliency>=0.1.3
3434
scikit-learn>=1.6.1
3535
scipy>=1.10.1
36-
shap>=0.42.0,<0.46.0
36+
shap>=0.46.0
3737
six>=1.16.0
3838
termcolor>=2.3.0
3939
tqdm>=4.64.0

requirements_test.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
-r requirements_examples_discriminative_ai.txt
1717
-r requirements_examples_generative_ai.txt
1818

19-
lime==0.2.0.1
2019
pytest>=7.4.0,<8.0.0
21-
umap-learn==0.5.6
2220
webtest>=2.0
2321
# LINT.ThenChange(./pyproject.toml)

0 commit comments

Comments
 (0)