4
4
# and then run "tox" from this directory.
5
5
6
6
[tox]
7
- envlist = py38-airflow21, py38-airflow22 , py310-airflow24, py310-airflow26, py310-airflow27, py310-airflow28, py311-airflow29, py311-airflow210
7
+ envlist = py38-airflow23 , py310-airflow24, py310-airflow26, py310-airflow27, py310-airflow28, py311-airflow29, py311-airflow210
8
8
9
9
[testenv]
10
10
use_develop = true
11
- extras = dev,integration-tests,plugin-v1
11
+ extras = dev,integration-tests,plugin-v1,plugin-v2
12
12
deps =
13
13
# This should be kept in sync with the Github Actions matrix.
14
14
-e ../../metadata-ingestion/
15
15
# Airflow version
16
- airflow21: apache-airflow~=2.1.0
17
- airflow22: apache-airflow~=2.2.0
16
+ airflow23: apache-airflow~=2.3.0
18
17
airflow24: apache-airflow~=2.4.0
19
18
airflow26: apache-airflow~=2.6.0
20
19
airflow27: apache-airflow~=2.7.0
@@ -24,14 +23,15 @@ deps =
24
23
25
24
# Respect the Airflow constraints files.
26
25
# We can't make ourselves work with the constraints of Airflow < 2.3.
26
+ py38-airflow23: -c https://raw.githubusercontent.com/apache/airflow/constraints-2.3.4/constraints-3.8.txt
27
27
# The Airflow 2.4 constraints file requires a version of the sqlite provider whose
28
28
# hook type is missing the `conn_name_attr` property.
29
29
; py310-airflow24: -c https://raw.githubusercontent.com/apache/airflow/constraints-2.4.3/constraints-3.10.txt
30
30
py310-airflow26: -c https://raw.githubusercontent.com/apache/airflow/constraints-2.6.3/constraints-3.10.txt
31
31
py310-airflow27: -c https://raw.githubusercontent.com/apache/airflow/constraints-2.7.3/constraints-3.10.txt
32
32
py310-airflow28: -c https://raw.githubusercontent.com/apache/airflow/constraints-2.8.1/constraints-3.10.txt
33
33
py311-airflow29: -c https://raw.githubusercontent.com/apache/airflow/constraints-2.9.3/constraints-3.11.txt
34
- py311-airflow210: -c https://raw.githubusercontent.com/apache/airflow/constraints-2.10.2 /constraints-3.11.txt
34
+ py311-airflow210: -c https://raw.githubusercontent.com/apache/airflow/constraints-2.10.3 /constraints-3.11.txt
35
35
36
36
# Before pinning to the constraint files, we previously left the dependencies
37
37
# more open. There were a number of packages for which this caused issues.
@@ -55,10 +55,6 @@ deps =
55
55
commands =
56
56
pytest --cov-append {posargs}
57
57
58
- # For Airflow 2.4+ , add the plugin-v2 extra.
58
+ # For Airflow 2.4, add a few extra requirements .
59
59
[testenv:py310-airflow24]
60
- extras = dev,integration-tests,plugin-v2,test-airflow24
61
-
62
- [testenv:py3{10,11}-airflow{26,27,28,29,210}]
63
- extras = dev,integration-tests,plugin-v2
64
-
60
+ extras = dev,integration-tests,plugin-v1,plugin-v2,test-airflow24
0 commit comments