Bug was reported on Debian when running the 0.3.5 update script:
# pip3 install --force-reinstall flask_limiter --break-system-packages
Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Using cached wrapt-1.16.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (87 kB)
Installing collected packages: wrapt, typing-extensions, pygments, packaging, ordered-set, mdurl, MarkupSafe, itsdangerous, importlib-resources, click, blinker, Werkzeug, markdown-it-py, Jinja2, deprecated, rich, limits, Flask, flask_limiter
Attempting uninstall: wrapt
Found existing installation: wrapt 1.16.0
Uninstalling wrapt-1.16.0:
Successfully uninstalled wrapt-1.16.0
Attempting uninstall: typing-extensions
Found existing installation: typing_extensions 4.10.0
ERROR: Cannot uninstall typing_extensions 4.10.0, RECORD file not found. Hint: The package was installed by debian.
The issue was resolved by running:
pip3 install --force-reinstall --ignore-installed flask_limiter --break-system-packages
I will add --ignore-installed
flag to all future update scripts.