Skip to content

Commit bdc19b9

Browse files
committed
add test-airflow23 deps
1 parent 6619fa2 commit bdc19b9

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

.github/workflows/airflow-plugin.yml

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
# Note: this should be kept in sync with tox.ini.
3636
- python-version: "3.8"
3737
extra_pip_requirements: "apache-airflow~=2.3.4"
38+
extra_pip_extras: test-airflow23
3839
- python-version: "3.10"
3940
extra_pip_requirements: "apache-airflow~=2.4.3"
4041
extra_pip_extras: test-airflow24

metadata-ingestion-modules/airflow-plugin/setup.py

+5
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,11 @@ def get_long_description():
110110
"apache-airflow-providers-sqlite",
111111
}
112112
per_version_test_requirements = {
113+
"test-airflow23": {
114+
"pendulum<3.0",
115+
"Flask-Session<0.6.0",
116+
"connexion<3.0",
117+
},
113118
"test-airflow24": {
114119
"pendulum<3.0",
115120
"Flask-Session<0.6.0",

metadata-ingestion-modules/airflow-plugin/tox.ini

+9-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,15 @@ envlist = py38-airflow23, py310-airflow24, py310-airflow26, py310-airflow27, py3
88

99
[testenv]
1010
use_develop = true
11-
extras = dev,integration-tests,plugin-v1,plugin-v2
11+
extras =
12+
dev
13+
integration-tests
14+
plugin-v1
15+
plugin-v2
16+
# For Airflow 2.3 and 2.4, add a few extra requirements.
17+
airflow23: test-airflow23
18+
airflow24: test-airflow24
19+
1220
deps =
1321
# This should be kept in sync with the Github Actions matrix.
1422
-e ../../metadata-ingestion/
@@ -54,7 +62,3 @@ deps =
5462
; airflow24,airflow26,airflow27,airflow28: Flask-Session<0.6.0
5563
commands =
5664
pytest --cov-append {posargs}
57-
58-
# For Airflow 2.4, add a few extra requirements.
59-
[testenv:py310-airflow24]
60-
extras = dev,integration-tests,plugin-v1,plugin-v2,test-airflow24

0 commit comments

Comments
 (0)