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
The library fails when being used with Python 3.12, with the following error:
0.321 import pwnedpasswords
0.321 File "/usr/local/lib/python3.12/site-packages/pwnedpasswords/__init__.py", line 26, in <module>
0.321 from .pwnedpasswords import Password
0.321 File "/usr/local/lib/python3.12/site-packages/pwnedpasswords/pwnedpasswords.py", line 20, in <module>
0.322 from future import standard_library
0.322 File "/usr/local/lib/python3.12/site-packages/future/standard_library/__init__.py", line 65, in <module>
0.322 import imp
0.322 ModuleNotFoundError: No module named 'imp'
The reason is the usage of python-future, which is so far not compatible to Python versions >= 3.12:
The library fails when being used with Python 3.12, with the following error:
The reason is the usage of python-future, which is so far not compatible to Python versions >= 3.12:
PythonCharmers/python-future#625
The underlying reason is the removal of the 'imp' module in Python 3.12.
There is a suggested work-around in the issue referenced above, which may be applicable here.
The text was updated successfully, but these errors were encountered: