Skip to content

Commit 1fe8619

Browse files
fix: Update apache airflow and update test requirements (#3855)
1 parent 252a35b commit 1fe8619

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

requirements/extras/test_requirements.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ awslogs==0.14.0
1212
black==22.3.0
1313
stopit==1.1.2
1414
# Update tox.ini to have correct version of airflow constraints file
15-
apache-airflow==2.5.1
15+
apache-airflow==2.6.0
1616
apache-airflow-providers-amazon==7.2.1
17-
attrs==22.1.0
17+
attrs>=23.1.0,<24
1818
fabric==2.6.0
1919
requests==2.27.1
2020
sagemaker-experiments==0.1.35
@@ -23,3 +23,7 @@ pyvis==0.2.1
2323
pandas>=1.3.5,<1.5
2424
scikit-learn==1.0.2
2525
cloudpickle==2.2.1
26+
scipy==1.7.3
27+
urllib3==1.26.8
28+
docker>=5.0.2,<7.0.0
29+
PyYAML==6.0

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def read_requirements(filename):
4747

4848
# Declare minimal set for installation
4949
required_packages = [
50-
"attrs>=20.3.0,<23",
50+
"attrs>=23.1.0,<24",
5151
"boto3>=1.26.131,<2.0",
5252
"cloudpickle==2.2.1",
5353
"google-pasta",
@@ -60,7 +60,7 @@ def read_requirements(filename):
6060
"pandas",
6161
"pathos",
6262
"schema",
63-
"PyYAML==5.4.1",
63+
"PyYAML==6.0",
6464
"jsonschema",
6565
"platformdirs",
6666
"tblib==1.7.0",
@@ -75,7 +75,7 @@ def read_requirements(filename):
7575
# Meta dependency groups
7676
extras["all"] = [item for group in extras.values() for item in group]
7777
# Tests specific dependencies (do not need to be included in 'all')
78-
extras["test"] = (extras["all"] + read_requirements("requirements/extras/test_requirements.txt"),)
78+
extras["test"] = (read_requirements("requirements/extras/test_requirements.txt"),)
7979

8080
setup(
8181
name="sagemaker",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ passenv =
7373
# Can be used to specify which tests to run, e.g.: tox -- -s
7474
commands =
7575
python -c "import os; os.system('install-custom-pkgs --install-boto-wheels')"
76-
pip install 'apache-airflow==2.5.1' --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.5.1/constraints-3.7.txt"
76+
pip install 'apache-airflow==2.6.0' --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.6.0/constraints-3.7.txt"
7777

7878
pytest --cov=sagemaker --cov-append {posargs}
7979
{env:IGNORE_COVERAGE:} coverage report -i --fail-under=86

0 commit comments

Comments
 (0)