-
Notifications
You must be signed in to change notification settings - Fork 332
eventlet is incompatible with dnspython 2.0.0rc1 #619
Copy link
Copy link
Closed
Description
Hello.
dnspython version 2.0.0 will be released soon (it's a release candidate now, rthalley/dnspython#466) and it seems that eventlet is not compatible with it.
# pip list
Package Version
---------- --------
dnspython 2.0.0rc1
eventlet 0.25.2
greenlet 0.4.16
monotonic 1.5
pip 20.1.1
setuptools 47.3.1
six 1.15.0
wheel 0.34.2
# python
Python 3.8.3 (default, May 29 2020, 00:00:00)
[GCC 10.1.1 20200507 (Red Hat 10.1.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import eventlet
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/lbalhar/.virtualenvs/tmp-722a19f0bf97ea6/lib/python3.8/site-packages/eventlet/__init__.py", line 10, in <module>
from eventlet import convenience
File "/home/lbalhar/.virtualenvs/tmp-722a19f0bf97ea6/lib/python3.8/site-packages/eventlet/convenience.py", line 7, in <module>
from eventlet.green import socket
File "/home/lbalhar/.virtualenvs/tmp-722a19f0bf97ea6/lib/python3.8/site-packages/eventlet/green/socket.py", line 21, in <module>
from eventlet.support import greendns
File "/home/lbalhar/.virtualenvs/tmp-722a19f0bf97ea6/lib/python3.8/site-packages/eventlet/support/greendns.py", line 64, in <module>
setattr(dns, pkg, import_patched('dns.' + pkg))
File "/home/lbalhar/.virtualenvs/tmp-722a19f0bf97ea6/lib/python3.8/site-packages/eventlet/support/greendns.py", line 59, in import_patched
return patcher.import_patched(module_name, **modules)
File "/home/lbalhar/.virtualenvs/tmp-722a19f0bf97ea6/lib/python3.8/site-packages/eventlet/patcher.py", line 123, in import_patched
return inject(
File "/home/lbalhar/.virtualenvs/tmp-722a19f0bf97ea6/lib/python3.8/site-packages/eventlet/patcher.py", line 100, in inject
module = __import__(module_name, {}, {}, module_name.split('.')[:-1])
ModuleNotFoundError: No module named 'dns.asyncquery.py'; 'dns.asyncquery' is not a package
Could you please take a look on that? Let me know if I can help anyhow.
Reactions are currently unavailable