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 d169df70ec Limit dnspython to < 2.3.0 until eventlet incompatibitliy
is solved (#28962)
d169df70ec is described below
commit d169df70ec0d0dae7cb0e89929f0b4c47d019c50
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Jan 15 23:39:54 2023 +0100
Limit dnspython to < 2.3.0 until eventlet incompatibitliy is solved (#28962)
The dnspython has been released 2 hours ago and apparently eventlet
that cassandra-driver uses is not compatible with the new version.
Until the problem is fixed, we should limit dnspython to <2.3.0.
Related: https://github.com/eventlet/eventlet/issues/781
---
airflow/providers/apache/cassandra/provider.yaml | 5 +++++
generated/provider_dependencies.json | 3 ++-
setup.py | 5 +++++
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/airflow/providers/apache/cassandra/provider.yaml
b/airflow/providers/apache/cassandra/provider.yaml
index 961bbd3679..a7681f50cf 100644
--- a/airflow/providers/apache/cassandra/provider.yaml
+++ b/airflow/providers/apache/cassandra/provider.yaml
@@ -36,6 +36,11 @@ versions:
dependencies:
- apache-airflow>=2.3.0
- cassandra-driver>=3.13.0
+ # dnspython 2.3.0 is not compatible with eventlet that cassandra-driver uses
under-the-hood
+ # This can be removed when the issue is resolved (reported in two places):
+ # * https://github.com/eventlet/eventlet/issues/781
+ # * https://datastax-oss.atlassian.net/browse/PYTHON-1320
+ - dnspython<2.3.0
integrations:
- integration-name: Apache Cassandra
diff --git a/generated/provider_dependencies.json
b/generated/provider_dependencies.json
index 90f878796b..de2a7b5164 100644
--- a/generated/provider_dependencies.json
+++ b/generated/provider_dependencies.json
@@ -53,7 +53,8 @@
"apache.cassandra": {
"deps": [
"apache-airflow>=2.3.0",
- "cassandra-driver>=3.13.0"
+ "cassandra-driver>=3.13.0",
+ "dnspython<2.3.0"
],
"cross-providers-deps": []
},
diff --git a/setup.py b/setup.py
index 0bd6ccb607..747532e39e 100644
--- a/setup.py
+++ b/setup.py
@@ -216,6 +216,11 @@ def write_version(filename: str = str(AIRFLOW_SOURCES_ROOT
/ "airflow" / "git_ve
# If you change this mark you should also change
./scripts/ci/check_order_setup.py
# Start dependencies group
async_packages = [
+ # dnspython 2.3.0 is not compatible with eventlet.
+ # This can be removed when the issue is resolved (reported in two places):
+ # * https://github.com/eventlet/eventlet/issues/781
+ # * https://datastax-oss.atlassian.net/browse/PYTHON-1320
+ "dnspython<2.3.0",
"eventlet>=0.9.7",
"gevent>=0.13",
"greenlet>=0.4.9",