This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 679c5b6177 Limit Asana Python client until provider is adapted to 4.*
version (#32995)
679c5b6177 is described below
commit 679c5b617752e060d3e9259e9ab12f7696805f39
Author: Jarek Potiuk <[email protected]>
AuthorDate: Tue Aug 1 10:54:18 2023 +0200
Limit Asana Python client until provider is adapted to 4.* version (#32995)
The Asana provider uses Asana Python API
https://github.com/Asana/python-asana/ and version
4.* of it introduced 31.07.2023 is heavily incompatible with previous
versions (new way of generating API client from specification has been
used). Until we convert to the new API - as described in #32994 - we
need to limit the version to < 4.
---
airflow/providers/asana/provider.yaml | 6 +++++-
generated/provider_dependencies.json | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/airflow/providers/asana/provider.yaml
b/airflow/providers/asana/provider.yaml
index b16ef68a7b..ed7ca815f3 100644
--- a/airflow/providers/asana/provider.yaml
+++ b/airflow/providers/asana/provider.yaml
@@ -36,7 +36,11 @@ versions:
dependencies:
- apache-airflow>=2.4.0
- - asana>=0.10
+ # The Asana provider uses Asana Python API
https://github.com/Asana/python-asana/ and version
+ # 4.* of it introduced 31.07.2023 is heavily incompatible with previous
versions
+ # (new way of generating API client from specification has been used). Until
we convert to the new API
+ # - as described in https://github.com/apache/airflow/issues/32994 - we need
to limit the version to < 4.
+ - asana>=0.10,<4.0.0
integrations:
- integration-name: Asana
diff --git a/generated/provider_dependencies.json
b/generated/provider_dependencies.json
index 4b2fc9a639..42146c2767 100644
--- a/generated/provider_dependencies.json
+++ b/generated/provider_dependencies.json
@@ -228,7 +228,7 @@
"asana": {
"deps": [
"apache-airflow>=2.4.0",
- "asana>=0.10"
+ "asana>=0.10,<4.0.0"
],
"cross-providers-deps": [],
"excluded-python-versions": []