Skip to content

Commit

Permalink
Drop support for Airflow 2.3 (astronomer#994)
Browse files Browse the repository at this point in the history
Airflow 2.3 was released more than 2 years ago on Apr 30, 2022
and few of the apache-airflow providers are known to no longer
support it. We've observed cosmos users are not on Airflow 2.3 
based on the analysis in
astronomer#963 (comment)
and hence, to avoid maintenance & support efforts for an older version,
this PR drops Cosmos support for Airflow 2.3
  • Loading branch information
pankajkoti authored and arojasb3 committed Jul 14, 2024
1 parent 54cc66f commit 9dd4bd7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,8 @@ jobs:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
airflow-version: ["2.3", "2.4", "2.5", "2.6", "2.7", "2.8", "2.9"]
airflow-version: ["2.4", "2.5", "2.6", "2.7", "2.8", "2.9"]
exclude:
- python-version: "3.11"
airflow-version: "2.3"
- python-version: "3.11"
airflow-version: "2.4"
steps:
Expand Down Expand Up @@ -83,10 +81,8 @@ jobs:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
airflow-version: ["2.3", "2.4", "2.5", "2.6", "2.7", "2.8", "2.9"]
airflow-version: ["2.4", "2.5", "2.6", "2.7", "2.8", "2.9"]
exclude:
- python-version: "3.11"
airflow-version: "2.3"
- python-version: "3.11"
airflow-version: "2.4"
services:
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ classifiers = [
dependencies = [
"aenum",
"attrs",
"apache-airflow>=2.3.0",
"apache-airflow>=2.4.0",
"importlib-metadata; python_version < '3.8'",
"Jinja2>=3.0.0",
"msgpack",
Expand Down Expand Up @@ -133,7 +133,7 @@ pre-install-commands = ["sh scripts/test/pre-install-airflow.sh {matrix:airflow}

[[tool.hatch.envs.tests.matrix]]
python = ["3.8", "3.9", "3.10", "3.11"]
airflow = ["2.3", "2.4", "2.5", "2.6", "2.7", "2.8", "2.9"]
airflow = ["2.4", "2.5", "2.6", "2.7", "2.8", "2.9"]

[tool.hatch.envs.tests.overrides]
matrix.airflow.dependencies = [
Expand Down

0 comments on commit 9dd4bd7

Please sign in to comment.