flask-autoindex
flask-autoindex copied to clipboard
flask_autoindex 0.6.6 incompatible with Python 3.12
The imp module has been removed in Python 3.12, thus flask_autoindex 0.6.6 run into problem:
app\app.py:11: in <module>
import flask_autoindex
.venv\Lib\site-packages\flask_autoindex\__init__.py:12: in <module>
from . import icons
.venv\Lib\site-packages\flask_autoindex\icons.py:4: in <module>
from .entry import File, Default
.venv\Lib\site-packages\flask_autoindex\entry.py:2: in <module>
from future import standard_library
.venv\Lib\site-packages\future\standard_library\__init__.py:65: in <module>
import imp
E ModuleNotFoundError: No module named 'imp'
https://discuss.python.org/t/how-do-i-migrate-from-imp/27885
it's future
that's incompatible with Py3.12, please remove it's usage
future was removed in git on Apr 9, 2020: https://github.com/general03/flask-autoindex/commit/424246242c9f40aeb9ac2c8c63f4d2234024256e
but last release 0.6.6 was on Mar 30, 2020: https://github.com/general03/flask-autoindex/tags
Thus it seems that just a new release is required!
@general03 are you still maintaining this package/project?