Skip to content

Commit ca21919

Browse files
author
Roja Reddy Sareddy
committed
Added numpy 2.0 support
1 parent a9e7fbb commit ca21919

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ dependencies = [
3939
"google-pasta",
4040
"importlib-metadata>=1.4.0,<7.0",
4141
"jsonschema",
42-
"numpy==2.0",
42+
"numpy==2.0.0",
4343
"omegaconf>=2.2,<=2.3",
4444
"packaging>=20.0",
4545
"pandas==2.2.3",

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==2.0
2+
numpy==2.0.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: 2 additions & 2 deletions
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==2.0
15+
- numpy==2.0.0
1616
- protobuf>=3.12,<5.0
1717
- smdebug_rulesconfig==1.0.1
1818
- importlib-metadata>=1.4.0,<7.0
@@ -64,7 +64,7 @@ dependencies:
6464
- multiprocess>=0.70.14
6565
- networkx>=3.1
6666
- packaging>=23.1
67-
- pandas>=1.5.3
67+
- pandas==2.2.3
6868
- pathos>=0.3.0
6969
- pillow>=9.5.0
7070
- platformdirs>=3.2.0

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==2.0
8+
numpy==2.0.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==2.0
9+
- numpy==2.0.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==2.0
3+
numpy==2.0.0
44
tensorflow==2.16.1

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ dependencies:
66
- pip:
77
- mlflow==2.11.1
88
- lz4==4.3.2
9-
- numpy==2.0
10-
- pandas==2.2.1
9+
- numpy==2.0.0
10+
- pandas==2.2.3
1111
- psutil==5.9.8
1212
- scikit-learn==1.3.2
1313
- scipy==1.11.3

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==2.0
3+
numpy==2.0.0
44
pandas==2.2.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
@@ -14884,7 +14884,7 @@
1488414884
"jmespath==1.0.1",
1488514885
"jsonschema==4.17.3",
1488614886
"multiprocess==0.70.14",
14887-
"numpy==2.0",
14887+
"numpy==2.0.0",
1488814888
"oscrypto==1.3.0",
1488914889
"packaging==23.1",
1489014890
"pandas==2.2.3",

tests/unit/sagemaker/serve/detector/test_dependency_manager.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
DEPENDENCY_LIST = [
2323
"requests==2.26.0",
24-
"numpy==2.0",
24+
"numpy==2.0.0",
2525
"pandas==2.2.3",
2626
"matplotlib<3.5.0",
2727
"scikit-learn>0.24.1",
@@ -34,7 +34,7 @@
3434

3535
EXPECTED_DEPENDENCY_MAP = {
3636
"requests": "==2.26.0",
37-
"numpy": "==2.0",
37+
"numpy": "==2.0.0",
3838
"pandas": "==2.2.3",
3939
"matplotlib": "<3.5.0",
4040
"scikit-learn": ">0.24.1",

0 commit comments

Comments
 (0)