Skip to content

Commit

Permalink
Prepare kedro-airflow 0.5.0 release (#17)
Browse files Browse the repository at this point in the history
* Prepare airflow for kedro 0.18.0

Signed-off-by: Merel Theisen <merel.theisen@quantumblack.com>

* Put back kedro req

Signed-off-by: Merel Theisen <merel.theisen@quantumblack.com>

* Temporarily pin back black

Signed-off-by: Merel Theisen <merel.theisen@quantumblack.com>

* Try pinning flask and jinja

Signed-off-by: Merel Theisen <merel.theisen@quantumblack.com>

* Fix lint

Signed-off-by: Merel Theisen <merel.theisen@quantumblack.com>

* Use latest black

Signed-off-by: Merel Theisen <merel.theisen@quantumblack.com>

* Try unpin flask

Signed-off-by: Merel Theisen <merel.theisen@quantumblack.com>

* Unpin jinja

Signed-off-by: Merel Theisen <merel.theisen@quantumblack.com>

* Bump version

Signed-off-by: noklam <nok.lam.chan@quantumblack.com>

* Force starters to point to checkout 0.18.0 temporarily

Signed-off-by: noklam <nok.lam.chan@quantumblack.com>

* Disable the path checking temporarily

Signed-off-by: noklam <nok.lam.chan@quantumblack.com>

* Revert checkout argument for starters

Signed-off-by: noklam <nok.lam.chan@quantumblack.com>

* Test older version of Kedro build

Signed-off-by: noklam <nok.lam.chan@quantumblack.com>

* Forcing e2e test run on kedro==0.17.3

Signed-off-by: noklam <nok.lam.chan@quantumblack.com>

* Bump kedro to 0.17.4

Signed-off-by: noklam <nok.lam.chan@quantumblack.com>

* Pin 0.17.5

Signed-off-by: noklam <nok.lam.chan@quantumblack.com>

* Update kedro-airflow/RELEASE.md

Co-authored-by: Antony Milne <49395058+AntonyMilneQB@users.noreply.github.com>

* Update kedro-airflow/RELEASE.md

Co-authored-by: Antony Milne <49395058+AntonyMilneQB@users.noreply.github.com>

* Revert the test to point back to latest kedro for CI

Signed-off-by: noklam <nok.lam.chan@quantumblack.com>

* Fix Ci config

Signed-off-by: noklam <nok.lam.chan@quantumblack.com>

* update badges

Signed-off-by: noklam <nok.lam.chan@quantumblack.com>

* Pin kedro to latest in test config

Signed-off-by: noklam <nok.lam.chan@quantumblack.com>

Co-authored-by: noklam <nok.lam.chan@quantumblack.com>
Co-authored-by: Nok <mediumnok@gmail.com>
Co-authored-by: Antony Milne <49395058+AntonyMilneQB@users.noreply.github.com>
  • Loading branch information
4 people authored Apr 4, 2022
1 parent fa99aed commit f8f0f6e
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .circleci/continue_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ commands:
name: Install kedro and test requirements
command: |
cd <<parameters.plugin>>
pip install kedro==0.17.7
pip install git+https://github.com/kedro-org/kedro@main
pip install -r test_requirements.txt
- run:
name: Install pre-commit hooks
Expand Down Expand Up @@ -106,7 +106,7 @@ commands:
conda activate kedro_plugins
cd <<parameters.plugin>>
python -m pip install -U pip setuptools wheel
pip install kedro==0.17.7
pip install git+https://github.com/kedro-org/kedro@main
pip install -r test_requirements.txt -U
- run:
name: Pip freeze
Expand Down Expand Up @@ -239,16 +239,16 @@ workflows:
plugin: "kedro-airflow"
matrix:
parameters:
python_version: ["3.6", "3.7", "3.8"]
python_version: ["3.7", "3.8", "3.9", "3.10"]
- e2e_tests:
plugin: "kedro-airflow"
matrix:
parameters:
python_version: ["3.6", "3.7", "3.8"]
python_version: ["3.7", "3.8", "3.9", "3.10"]
- win_unit_tests:
plugin: "kedro-airflow"
matrix:
parameters:
python_version: ["3.6", "3.7", "3.8"]
python_version: ["3.7", "3.8", "3.9", "3.10"]
- lint:
plugin: "kedro-airflow"
2 changes: 1 addition & 1 deletion kedro-airflow/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Kedro-Airflow

[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Python Version](https://img.shields.io/badge/python-3.6%20%7C%203.7%20%7C%203.8-blue.svg)](https://pypi.org/project/kedro-airflow/)
[![Python Version](https://img.shields.io/badge/python-3.7%20%7C%203.8%20%7C%203.9%20%7C%203.10-blue.svg)](https://pypi.org/project/kedro-airflow/)
[![PyPI Version](https://badge.fury.io/py/kedro-airflow.svg)](https://pypi.org/project/kedro-airflow/)
[![Code Style: Black](https://img.shields.io/badge/code%20style-black-black.svg)](https://github.com/ambv/black)

Expand Down
6 changes: 6 additions & 0 deletions kedro-airflow/RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release 0.5.0
* Add compatibility with `kedro` 0.18.0
* Add compatibility with Python 3.9 and 3.10
* Remove compatibility with Python 3.6

# Release 0.4.2
* Drop context/session usage to fetch pipelines to support Kedro>=0.17.5.

# Release 0.4.1

## Bugfix
Expand Down
4 changes: 2 additions & 2 deletions kedro-airflow/features/airflow.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Feature: Airflow
Given I have initialized Airflow with home dir "airflow"

Scenario: Print a list of tasks with latest Kedro
Given I have installed kedro version "0.17.7"
Given I have installed kedro version "latest"
And I have prepared a config file
And I have run a non-interactive kedro new
And I have prepared a data catalog
Expand All @@ -17,7 +17,7 @@ Feature: Airflow
And I should get a message including "train"

Scenario: Run Airflow task locally with latest Kedro
Given I have installed kedro version "0.17.7"
Given I have installed kedro version "latest"
And I have prepared a config file
And I have run a non-interactive kedro new
And I have prepared a data catalog
Expand Down
2 changes: 1 addition & 1 deletion kedro-airflow/kedro_airflow/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
""" Kedro plugin for running a project with Airflow """

__version__ = "0.4.2"
__version__ = "0.5.0"
2 changes: 1 addition & 1 deletion kedro-airflow/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
kedro>=0.17.5, <0.18.0
kedro>=0.17.5
python-slugify~=4.0
semver~=2.10 # Needs to be at least 2.10.0 to get VersionInfo.match
2 changes: 1 addition & 1 deletion kedro-airflow/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
long_description_content_type="text/markdown",
url="https://github.com/kedro-org/kedro-plugins/tree/main/kedro-airflow",
author="Kedro",
python_requires=">=3.6, <3.9",
python_requires=">=3.7, <3.11",
install_requires=requires,
tests_require=test_requires,
license="Apache Software License (Apache 2.0)",
Expand Down
2 changes: 1 addition & 1 deletion kedro-airflow/test_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apache-airflow<3.0
bandit>=1.6.2, <2.0
behave
black==v19.10.b0
black~=22.0
flake8
pre-commit>=1.17.0, <2.0
pylint>=2.5.2, <3.0
Expand Down

0 comments on commit f8f0f6e

Please sign in to comment.