Skip to content
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

Add support for Python 3.12 #75

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

hugovk
Copy link
Contributor

@hugovk hugovk commented Oct 7, 2024

Tests use pkg_resources, which is part of setuptools and not included by default in Python 3.12+.

ImportError while importing test module '/private/tmp/deprecated/tests/test.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test.py:2: in <module>
    import pkg_resources
E   ModuleNotFoundError: No module named 'pkg_resources'

@hugovk
Copy link
Contributor Author

hugovk commented Oct 7, 2024

The failing Python 3.7 job is unrelated.

Python 3.7 is EOL, I recommend dropping support for it. (As it happens, Python 3.8 is also EOL today.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant