Skip to content

Commit 4879369

Browse files
committed
test numpy version 2.0
1 parent 4b5659d commit 4879369

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dependencies = [
3838
"google-pasta",
3939
"importlib-metadata>=1.4.0,<7.0",
4040
"jsonschema",
41-
"numpy>=1.9.0,<2.0",
41+
"numpy==2.0",
4242
"packaging>=20.0",
4343
"pandas",
4444
"pathos",

requirements/extras/test_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tox==3.24.5
2-
numpy>=1.24.0
2+
numpy==2.0
33
build[virtualenv]==1.2.1
44
flake8==4.0.1
55
pytest==6.2.5

src/sagemaker/serve/utils/conda_in_process.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies:
1212
- boto3>=1.34.142,<2.0
1313
- cloudpickle==2.2.1
1414
- google-pasta
15-
- numpy>=1.9.0,<2.0
15+
- numpy==2.0
1616
- protobuf>=3.12,<5.0
1717
- smdebug_rulesconfig==1.0.1
1818
- importlib-metadata>=1.4.0,<7.0

tests/data/serve_resources/mlflow/pytorch/conda.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies:
1111
- defusedxml==0.7.1
1212
- dill==0.3.8
1313
- gmpy2==2.1.2
14-
- numpy==1.26.4
14+
- numpy==2.0
1515
- opt-einsum==3.3.0
1616
- packaging==24.0
1717
- pandas==2.2.1

tests/data/serve_resources/mlflow/pytorch/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cloudpickle==2.2.1
55
defusedxml==0.7.1
66
dill==0.3.8
77
gmpy2==2.1.2
8-
numpy==1.24.4
8+
numpy==2.0
99
opt-einsum==3.3.0
1010
packaging==21.3
1111
pandas==2.2.1

tests/data/serve_resources/mlflow/tensorflow/conda.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ dependencies:
66
- pip:
77
- mlflow==2.11.1
88
- cloudpickle==2.2.1
9-
- numpy==1.26.4
9+
- numpy==2.0
1010
- tensorflow==2.16.1
1111
name: mlflow-env
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
mlflow==2.13.2
22
cloudpickle==2.2.1
3-
numpy==1.26.4
3+
numpy==2.0
44
tensorflow==2.16.1

tests/data/serve_resources/mlflow/xgboost/conda.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies:
66
- pip:
77
- mlflow==2.11.1
88
- lz4==4.3.2
9-
- numpy==1.26.4
9+
- numpy==2.0
1010
- pandas==2.2.1
1111
- psutil==5.9.8
1212
- scikit-learn==1.3.2

tests/data/serve_resources/mlflow/xgboost/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
mlflow==2.13.2
22
lz4==4.3.2
3-
numpy==1.24.4
3+
numpy==2.0
44
pandas==2.0.3
55
psutil==5.9.8
66
scikit-learn==1.3.2

tests/unit/sagemaker/jumpstart/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7467,7 +7467,7 @@
74677467
"inference_dependencies": [],
74687468
"inference_vulnerabilities": [],
74697469
"training_vulnerable": False,
7470-
"training_dependencies": ["numpy==1.19.5", "opencv_python==4.0.1.23"],
7470+
"training_dependencies": ["numpy==2.0", "opencv_python==4.0.1.23"],
74717471
"training_vulnerabilities": [],
74727472
"deprecated": False,
74737473
"hyperparameters": [

0 commit comments

Comments
 (0)