Closed microamp closed 4 weeks ago
pipdeptree -f
shows that importlib_metadata
appears twice in the dependency tree.
...
django-markup==1.9
bleach==6.1.0
six==1.16.0
webencodings==0.5.1
Django==4.2.16
asgiref==3.8.1
typing_extensions==4.12.2
sqlparse==0.5.1
docutils==0.21.2
Markdown==3.7
importlib_metadata==8.5.0 # <---
zipp==3.20.1
Pygments==2.18.0
python-creole==1.4.10
docutils==0.21.2
smartypants==2.0.1
textile==4.0.2
html5lib==1.1
six==1.16.0
webencodings==0.5.1
regex==2024.9.11
...
inflect==7.4.0
more-itertools==10.5.0
typeguard==4.3.0
importlib_metadata==8.5.0 # <---
zipp==3.20.1
typing_extensions==4.12.2
...
We could pin the lib to 8.4.0, both of those packages that depend on it (Markdown and typeguard) are fine with at least 4.4.0.
Also, if we move to python 3.10 or higher, they won't need importlib-metadata at all if I'm reading their requirements correctly (e.g., ~/.local/lib/python3.9/site-packages/typeguard-4.3.0.dist-info/METADATA
in the dev container, look for Requires-Dist: importlib-metadata
)
Describe the issue
I encountered the following error after I had rebuilt the images, containers and volumes from scratch.
Downgrading
importlib_metadata
from8.5.0
to8.4.0
manually inside the container fixed the problem for me.Code of Conduct