Skip to content

Commit

Permalink
build(airflow): Add python 3.12 support (#614)
Browse files Browse the repository at this point in the history
* Add python 3.12 support for airflow

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* temp: update gitpod

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* Update gitpod

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* Update gitpod

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* Resolve path

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* remove pins

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* Try bump apache

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* Try bump apache

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* Revert airflow pin

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* Revert extra changes

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* update install kedro-datasets step

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* try remove install kedro-datasets step

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* Install kedro from main

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* Revert changes

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* Use 3.12 gitpod

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* Update .gitpod.yml

Signed-off-by: Ankita Katiyar <110245118+ankatiyar@users.noreply.github.com>

---------

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>
Signed-off-by: Ankita Katiyar <110245118+ankatiyar@users.noreply.github.com>
  • Loading branch information
ankatiyar authored Apr 23, 2024
1 parent fbe545f commit 526fddd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/kedro-airflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
uses: ./.github/workflows/unit-tests.yml
with:
plugin: kedro-airflow
Expand All @@ -40,7 +40,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest ]
python-version: [ "3.8", "3.9", "3.10", "3.11" ]
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
uses: ./.github/workflows/e2e-tests.yml
with:
plugin: kedro-airflow
Expand Down
1 change: 1 addition & 0 deletions kedro-airflow/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Sort DAGs to make sure `kedro airflow create` is deterministic.
* Option to group MemoryDatasets in the same Airflow task (breaking change for custom template via `--jinja-file`).
* Include the environment name in the DAG file name when different from the default.
* Added support for Python 3.12

# Release 0.8.0
* Added support for Kedro 0.19.x
Expand Down
2 changes: 0 additions & 2 deletions kedro-airflow/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ test = [
"bandit",
"behave",
"black~=22.0",
"connexion<3.0.0", # TODO: Temporary fix, connexion has changed their API, but airflow hasn't caught up yet
"Flask-Session<0.6", # TODO: Temporary pin, 0.6 breaks apache-airflow
"kedro-datasets",
"pre-commit>=2.9.2",
"pytest",
Expand Down

0 comments on commit 526fddd

Please sign in to comment.