You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using aiokafka with Python 3.10 with warnings enabled, several warnings are emitted.
Expected behaviour
No warnings are emitted.
Environment (please complete the following information):
aiokafka version (python -c "import aiokafka; print(aiokafka.__version__)"): 0.7.2
kafka-python version (python -c "import kafka; print(kafka.__version__)"): 2.0.2
Reproducible example
$ python --versionPython 3.10.4
# python -m pip install aiokafka[...]
# python -Wall -c 'import aiokafka'<frozen importlib._bootstrap>:914: ImportWarning: _SixMetaPathImporter.find_spec() not found; falling back to find_module()<frozen importlib._bootstrap>:914: ImportWarning: _SixMetaPathImporter.find_spec() not found; falling back to find_module()<frozen importlib._bootstrap>:914: ImportWarning: _SixMetaPathImporter.find_spec() not found; falling back to find_module()<frozen importlib._bootstrap>:914: ImportWarning: _SixMetaPathImporter.find_spec() not found; falling back to find_module()<frozen importlib._bootstrap>:671: ImportWarning: _SixMetaPathImporter.exec_module() not found; falling back to load_module()<frozen importlib._bootstrap>:914: ImportWarning: _SixMetaPathImporter.find_spec() not found; falling back to find_module()<frozen importlib._bootstrap>:914: ImportWarning: _SixMetaPathImporter.find_spec() not found; falling back to find_module()<frozen importlib._bootstrap>:914: ImportWarning: _SixMetaPathImporter.find_spec() not found; falling back to find_module()<frozen importlib._bootstrap>:914: ImportWarning: _SixMetaPathImporter.find_spec() not found; falling back to find_module()<frozen importlib._bootstrap>:914: ImportWarning: _SixMetaPathImporter.find_spec() not found; falling back to find_module()<frozen importlib._bootstrap>:914: ImportWarning: _SixMetaPathImporter.find_spec() not found; falling back to find_module()/usr/local/lib/python3.10/site-packages/aiokafka/util.py:4: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.version import StrictVersion<frozen importlib._bootstrap>:914: ImportWarning: _SixMetaPathImporter.find_spec() not found; falling back to find_module()
The text was updated successfully, but these errors were encountered:
dmajda
changed the title
Warning in Python 3.10
Warnings in Python 3.10
Jun 2, 2022
Describe the bug
When using aiokafka with Python 3.10 with warnings enabled, several warnings are emitted.
Expected behaviour
No warnings are emitted.
Environment (please complete the following information):
python -c "import aiokafka; print(aiokafka.__version__)"
): 0.7.2python -c "import kafka; print(kafka.__version__)"
): 2.0.2Reproducible example
The text was updated successfully, but these errors were encountered: