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):
python 3.10.4, aiokafka 0.8.0, fresh conda env
❯ conda create -n blah python=3.10.4
❯ conda activate blah
❯ pip install aiokafka
...
Successfully installed aiokafka-0.8.0 async-timeout-4.0.2 kafka-python-2.0.2 packaging-23.0
❯ 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()
<frozen importlib._bootstrap>:914: ImportWarning: _SixMetaPathImporter.find_spec() not found; falling back to find_module()
Try python -Werror -c 'import aiokafka' to see the source of problem is in python-kafka. Here is an issue dpkp/kafka-python#2282, and even a pull request dpkp/kafka-python#2304 to fix it.
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 3.10.4, aiokafka 0.8.0, fresh conda env
Similar to #836
The text was updated successfully, but these errors were encountered: