Skip to content

Commit

Permalink
Remove limit for dnspython after eventlet got fixed (#29004)
Browse files Browse the repository at this point in the history
The eventlet/eventlet#782 fixed error that
caused the need to limit dnspython and eventlet 0.33.3 has been
released. We can now remove the limit
for dnspython as long as we also limit eventlet to >=0.33.3.
  • Loading branch information
potiuk authored Jan 18, 2023
1 parent aa97474 commit eaf5675
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
5 changes: 0 additions & 5 deletions airflow/providers/apache/cassandra/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ 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
Expand Down
3 changes: 1 addition & 2 deletions generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@
"apache.cassandra": {
"deps": [
"apache-airflow>=2.3.0",
"cassandra-driver>=3.13.0",
"dnspython<2.3.0"
"cassandra-driver>=3.13.0"
],
"cross-providers-deps": []
},
Expand Down
7 changes: 1 addition & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,7 @@ 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",
"eventlet>=0.33.3",
"gevent>=0.13",
"greenlet>=0.4.9",
]
Expand Down

0 comments on commit eaf5675

Please sign in to comment.