Skip to content

Commit 16997de

Browse files
committed
Update airflow version
1 parent dd2a91b commit 16997de

File tree

6 files changed

+23
-21
lines changed

6 files changed

+23
-21
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ dependencies = [
4141
"jsonschema",
4242
"numpy==1.26.4",
4343
"omegaconf>=2.2,<3",
44-
"packaging>=23.0,<25",
44+
"packaging>=25.0,<26",
4545
"pandas",
4646
"pathos",
4747
"platformdirs",
4848
"protobuf>=3.12,<6.32",
4949
"psutil",
5050
"PyYAML>=6.0.1",
5151
"requests",
52-
"sagemaker-core>=1.0.42,<2.0.0",
52+
"sagemaker-core>=1.0.30,<2.0.0",
5353
"schema",
5454
"smdebug_rulesconfig==1.0.1",
5555
"tblib>=1.7.0,<4",

requirements/constraints.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22
# This forces specific versions to be used regardless of what other packages require
33

44
# Core conflicts
5-
importlib-metadata<7.0
6-
rich>=13.6.0,<14.0.0
7-
Flask-Limiter==2.9.2
5+
importlib-metadata==6.11.0
6+
rich==13.7.0
7+
Flask-Limiter==3.5.0
88

99
# Additional constraints to ensure compatibility
10-
sagemaker-core==1.0.42
11-
apache-airflow==3.0.4
12-
apache-airflow-providers-amazon==8.30.0
10+
sagemaker-core==1.0.30
11+
apache-airflow==3.0.3
12+
apache-airflow-providers-amazon==7.2.1
1313

1414
# Sphinx dependencies
1515
sphinx==7.2.6
1616
sphinx-rtd-theme==3.0.0
1717
docutils>=0.18.1,<0.21
18-
packaging>=23.0,<25
18+
packaging>=25.0,<26
1919
jinja2==3.1.6
2020
schema==0.7.5
2121
accelerate>=0.24.1,<=0.27.0
22-
graphene<4.0
22+
graphene<4.0

requirements/extras/test_requirements.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ awslogs==0.14.0
1414
black==24.3.0
1515
stopit==1.1.2
1616
# Update tox.ini to have correct version of airflow constraints file
17-
apache-airflow==3.0.4
18-
apache-airflow-providers-amazon==8.30.0
19-
Flask-Limiter==2.9.2
17+
apache-airflow==3.0.3
18+
apache-airflow-providers-amazon==7.2.1
19+
Flask-Limiter==3.5.0
20+
rich==13.7.0
21+
importlib-metadata==6.11.0
2022
attrs>=24,<26
2123
fabric==3.2.2
2224
requests==2.32.2

src/sagemaker/serve/utils/conda_in_process.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ dependencies:
1515
- numpy==1.26.4
1616
- protobuf>=3.12,<5.0
1717
- smdebug_rulesconfig==1.0.1
18-
- importlib-metadata>=1.4.0,<7.0
19-
- packaging>=23.0,<25
18+
- importlib-metadata==6.11.0
19+
- packaging>=25.0,<26
2020
- pandas
2121
- pathos
2222
- schema
@@ -53,7 +53,7 @@ dependencies:
5353
- h11>=0.14.0
5454
- huggingface-hub>=0.13.4
5555
- idna>=3.4
56-
- importlib-metadata>=4.13.0
56+
- importlib-metadata==6.11.0
5757
- jinja2>=3.1.2
5858
- jmespath>=1.0.1
5959
- jsonschema>=4.17.3
@@ -85,7 +85,7 @@ dependencies:
8585
- pyyaml>=6.0.1
8686
- regex>=2023.3.23
8787
- requests>=2.28.2
88-
- rich>=13.3.4,<14.0.0
88+
- rich==13.7.0
8989
- safetensors>=0.4.0
9090
- rsa>=4.7.2
9191
- s3transfer>=0.6.0

src/sagemaker/serve/utils/in_process_requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ gunicorn>=20.1.0
2121
h11>=0.14.0
2222
huggingface-hub>=0.13.4
2323
idna>=3.4
24-
importlib-metadata>=4.13.0
24+
importlib-metadata==6.11.0
2525
jinja2>=3.1.2
2626
jmespath>=1.0.1
2727
jsonschema>=4.17.3
@@ -31,7 +31,7 @@ mdurl>=0.1.2
3131
mpmath>=1.3.0
3232
multiprocess>=0.70.14
3333
networkx>=3.1
34-
packaging>=23.1
34+
packaging>=25.0,<26
3535
pandas>=1.5.3
3636
pathos>=0.3.0
3737
pillow>=9.5.0
@@ -53,7 +53,7 @@ pytz-deprecation-shim>=0.1.0.post0
5353
pyyaml>=6.0.1
5454
regex>=2023.3.23
5555
requests>=2.28.2
56-
rich>=13.3.4,<14.0.0
56+
rich==13.7.0
5757
rsa>=4.7.2
5858
s3transfer>=0.6.0
5959
sagemaker>=2.148.0

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ passenv =
8282
# Can be used to specify which tests to run, e.g.: tox -- -s
8383
commands =
8484
python -c "import os; os.system('install-custom-pkgs --install-boto-wheels')"
85-
pip install 'apache-airflow==3.0.4' --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-3.0.4/constraints-3.9.txt"
85+
pip install 'apache-airflow==3.0.3' 'Flask-Limiter==3.5.0' 'rich==13.7.0' 'importlib-metadata==6.11.0' --constraint {toxinidir}/requirements/constraints.txt
8686
pip install 'torch==2.3.1+cpu' -f 'https://download.pytorch.org/whl/torch_stable.html'
8787
pip install 'torchvision==0.18.1+cpu' -f 'https://download.pytorch.org/whl/torch_stable.html'
8888
pip install 'dill>=0.3.9'

0 commit comments

Comments
 (0)