diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3ab2ad5..4bb4d10 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,8 +34,13 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] airflow-version: ["2.7", "2.8", "2.9"] + exclude: + - python-version: "3.12" + airflow-version: "2.7" + - python-version: "3.12" + airflow-version: "2.8" steps: - uses: actions/checkout@v4 with: diff --git a/pyproject.toml b/pyproject.toml index 085f11f..36f977c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,9 +19,10 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", ] dynamic = ["version"] -requires-python = "~=3.8" +requires-python = ">=3.8, <3.13" dependencies = [ "apache-airflow>=2.7", "pyyaml", @@ -66,7 +67,7 @@ dependencies = [ pre-install-commands = ["sh scripts/test/pre-install-airflow.sh {matrix:airflow} {matrix:python}"] [[tool.hatch.envs.tests.matrix]] -python = ["3.8", "3.9", "3.10", "3.11"] +python = ["3.8", "3.9", "3.10", "3.11", "3.12"] airflow = ["2.7", "2.8", "2.9"] [tool.hatch.envs.tests.overrides]