Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix greendns for dnspython 2.3.0+ #782

Merged
merged 1 commit into from Jan 17, 2023

Conversation

tipabu
Copy link
Contributor

@tipabu tipabu commented Jan 17, 2023

dnspython added more type annotations in 2.3.0 -- because of how we reimport the package piece by piece, though, not all of the types would be available during reimport, leading to AttributeErrors like

module 'dns.rdtypes' has no attribute 'ANY'

Now, do all of our rdtypes special-handling first, before reimporting any other submodules.

Addresses #781

dnspython added more type annotations in 2.3.0 -- because of how we
reimport the package piece by piece, though, not all of the types would
be available during reimport, leading to AttributeErrors like

   module 'dns.rdtypes' has no attribute 'ANY'

Now, do all of our rdtypes special-handling *first*, before reimporting
any other submodules.

Addresses eventlet#781
Copy link
Member

@temoto temoto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like obviously correct.

@temoto temoto merged commit 333ee08 into eventlet:master Jan 17, 2023
potiuk added a commit to potiuk/airflow that referenced this pull request Jan 18, 2023
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.
potiuk added a commit to apache/airflow that referenced this pull request Jan 18, 2023
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.
ephraimbuddy pushed a commit to apache/airflow that referenced this pull request Jan 18, 2023
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.

(cherry picked from commit eaf5675)
@tipabu tipabu deleted the support-dnspython-2.3.0 branch February 22, 2023 19:27
kosteev pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Mar 31, 2023
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.

GitOrigin-RevId: eaf567545b3339c20d2e072fca1d9cdb08c0dec7
kosteev pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Apr 4, 2023
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.

(cherry picked from commit eaf567545b3339c20d2e072fca1d9cdb08c0dec7)

GitOrigin-RevId: a0b464f828b97a6894426ec791714d7fbb6503ba
ahidalgob pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Nov 7, 2023
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.

GitOrigin-RevId: eaf567545b3339c20d2e072fca1d9cdb08c0dec7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants