Python 3.12 has deprecated pkg_resources
As of Python 3.12, the pkg_resources module fails to import. You can see this in the automated pre-tests of my tools which relies on this library: https://github.com/ReK42/passhash/actions/runs/5721796256/job/15503907977?pr=2
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.12.0-beta.4/x64/bin/passhash", line 5, in <module>
from passhash import main
File "/opt/hostedtoolcache/Python/3.12.0-beta.4/x64/lib/python3.12/site-packages/passhash/__init__.py", line 16, in <module>
from passhash.passhash import ALGORITHMS, main
File "/opt/hostedtoolcache/Python/3.12.0-beta.4/x64/lib/python3.12/site-packages/passhash/passhash.py", line 10, in <module>
from passlib import pwd
File "/opt/hostedtoolcache/Python/3.12.0-beta.4/x64/lib/python3.12/site-packages/passlib/pwd.py", line 16, in <module>
import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'
Error: Process completed with exit code 1.