diff --git a/pyproject.toml b/pyproject.toml index d1c634f86d..b2aadc3daa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", ] dependencies = [ - "attrs>=23.1.0,<24", + "attrs>=23.1.0,<25", "boto3>=1.34.142,<2.0", "cloudpickle==2.2.1", "docker", diff --git a/requirements/extras/test_requirements.txt b/requirements/extras/test_requirements.txt index 71b4ad6256..3c6d1abdb6 100644 --- a/requirements/extras/test_requirements.txt +++ b/requirements/extras/test_requirements.txt @@ -15,7 +15,7 @@ stopit==1.1.2 # Update tox.ini to have correct version of airflow constraints file apache-airflow==2.9.3 apache-airflow-providers-amazon==7.2.1 -attrs>=23.1.0,<24 +attrs>=23.1.0,<25 fabric==2.6.0 requests==2.32.2 sagemaker-experiments==0.1.35 diff --git a/src/sagemaker/serve/utils/conda_in_process.yml b/src/sagemaker/serve/utils/conda_in_process.yml index 6379812840..692184b0ab 100644 --- a/src/sagemaker/serve/utils/conda_in_process.yml +++ b/src/sagemaker/serve/utils/conda_in_process.yml @@ -8,7 +8,7 @@ dependencies: - fastapi>=0.111.0 - nest-asyncio - pip>=23.0.1 - - attrs>=23.1.0,<24 + - attrs>=23.1.0,<25 - boto3>=1.34.142,<2.0 - cloudpickle==2.2.1 - google-pasta diff --git a/tests/unit/sagemaker/serve/detector/test_dependency_manager.py b/tests/unit/sagemaker/serve/detector/test_dependency_manager.py index 491968dd25..94da900a2e 100644 --- a/tests/unit/sagemaker/serve/detector/test_dependency_manager.py +++ b/tests/unit/sagemaker/serve/detector/test_dependency_manager.py @@ -26,7 +26,7 @@ "matplotlib<3.5.0", "scikit-learn>0.24.1", "Django!=4.0.0", - "attrs>=23.1.0,<24", + "attrs>=23.1.0,<25", "torch@https://download.pytorch.org/whl/cpu/torch-2.0.0%2Bcpu-cp310-cp310-linux_x86_64.whl", "# some comment", "boto3==1.26.*", @@ -39,7 +39,7 @@ "matplotlib": "<3.5.0", "scikit-learn": ">0.24.1", "Django": "!=4.0.0", - "attrs": ">=23.1.0,<24", + "attrs": ">=23.1.0,<25", "torch": "@https://download.pytorch.org/whl/cpu/torch-2.0.0%2Bcpu-cp310-cp310-linux_x86_64.whl", "boto3": "==1.26.*", }