-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
vendored six module raises ImportWarning with Python 3.10 and 3.11a3 #3502
Comments
Can confirm on Artix with Scapy 2.4.5rc1.dev199, Python 3.10.2, IPython 8.0.1.
|
Same; python 3.10.1. |
but i use python 3.10.1;six 1.16.0,also have the warnings…… |
For the record, Scapy no longer ships (or use) the |
I found this nice blog post explaining the root of this mysterious issue https://blog.pecar.me/six-warnings |
Brief description
In Python 3.10 and 3.11a3, importing from scapy raises an ImportWarning:
The version of six (scapy/modules/six.py) in scapy is 1.10.0 which is missing implementations of find_spec and exec_module.
The fall back methods were deprecated beginning in Python 3.10: https://docs.python.org/3.10/whatsnew/3.10.html#deprecated
six version 1.16.0 includes the missing methods.
Scapy version
2.4.5
Python version
3.11a3
Operating system
Ubuntu 18.04
Additional environment information
No response
How to reproduce
Actual result
No response
Expected result
No response
Related resources
No response
The text was updated successfully, but these errors were encountered: