Skip to content

ImportWarning on Python 3.10 #2282

Closed
@pcarn

Description

@pcarn

When using Python 3.10, kafka-python 2.0.2, in python -Wd:

>>> from kafka import KafkaConsumer
<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()

Needs find_spec and exec_module here

class _SixMetaPathImporter(object):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions