deprecated icon indicating copy to clipboard operation
deprecated copied to clipboard

Add support for Python 3.12

Open hugovk opened this issue 1 year ago • 1 comments

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 avatar Oct 07 '24 14:10 hugovk

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.)

hugovk avatar Oct 07 '24 15:10 hugovk

Updated!

hugovk avatar Nov 15 '24 12:11 hugovk