Skip to content

Commit 80a3bd4

Browse files
committed
Add constraints file for apache-airflow
1 parent d779d1b commit 80a3bd4

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

requirements/extras/test_requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ contextlib2==21.6.0
1111
awslogs==0.14.0
1212
black==22.3.0
1313
stopit==1.1.2
14+
# Update tox.ini to have correct version of airflow constraints file
1415
apache-airflow==2.4.1
1516
apache-airflow-providers-amazon==4.0.0
1617
attrs==22.1.0

tox.ini

+2
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ 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.4.1' --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-2.4.1/constraints-3.10.txt"
77+
7678
pytest --cov=sagemaker --cov-append {posargs}
7779
{env:IGNORE_COVERAGE:} coverage report -i --fail-under=86
7880
deps = .[test]

0 commit comments

Comments
 (0)