From b680b9f0b5a97bb4f7cfc7c59d1045b0a3cd301b Mon Sep 17 00:00:00 2001 From: Jamie Geddes Date: Tue, 10 May 2022 09:15:43 +0100 Subject: [PATCH 1/4] Use the Airflow 2.x google provider package --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 68bb1e0..faca2f4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1 @@ -apache-airflow-backport-providers-google==2021.3.3 \ No newline at end of file +apache-airflow-providers-google \ No newline at end of file From 9dc2eddfe44224ad7468e9749e444a23312ec68e Mon Sep 17 00:00:00 2001 From: Jamie Geddes Date: Tue, 10 May 2022 09:21:01 +0100 Subject: [PATCH 2/4] Update version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 460a5c7..c896cf3 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ import setuptools PACKAGE_NAME = 'airflow-gcpsecretmanager-adapter' -PACKAGE_VERSION = '0.0.7' +PACKAGE_VERSION = '2.0.0' REQUIRED_PACKAGES = [ "apache-airflow-backport-providers-google==2021.3.3", From 095253b4dcfd0bf6a43bf79d2e07fd821703594d Mon Sep 17 00:00:00 2001 From: Jamie Geddes Date: Tue, 10 May 2022 09:25:52 +0100 Subject: [PATCH 3/4] Add deployment reference --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 0605541..ba6b5a8 100644 --- a/README.md +++ b/README.md @@ -29,3 +29,6 @@ pip install airflow-gcpsecretmanager-adapter | :: | - | | : | - | +## Deployment + +Follow the instructions here: https://packaging.python.org/en/latest/tutorials/packaging-projects/ to build and deploy a new version of the adapter library. \ No newline at end of file From 90361bb8aed3b117c77827d51f2693363d99c1f9 Mon Sep 17 00:00:00 2001 From: Jamie Geddes Date: Tue, 10 May 2022 09:29:26 +0100 Subject: [PATCH 4/4] Fix REQUIRED_PACKAGES in setup.py --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index c896cf3..c331c9f 100644 --- a/setup.py +++ b/setup.py @@ -1,10 +1,10 @@ import setuptools PACKAGE_NAME = 'airflow-gcpsecretmanager-adapter' -PACKAGE_VERSION = '2.0.0' +PACKAGE_VERSION = '2.0.1' REQUIRED_PACKAGES = [ - "apache-airflow-backport-providers-google==2021.3.3", + "apache-airflow-providers-google", ] with open("README.md", "r", encoding="utf-8") as fh: