Upgrading importlib-metadata 7 to 8
Breaking7.2.1 → 8.9.0Breaking3Platform1New2Changed7Fixed3Other1
BreakingUpgrade verdict
3 breaking changes and a platform requirement change.
In plain terms
- Custom Distribution subclasses must now implement all required abstract methods.
- You can no longer pass a 'dist' argument when selecting entry points, so code that did so will fail.
- Looking up a header that does not exist in a message now raises an error instead of returning something else.
- This version no longer supports Python 3.9, so users on that Python version should stay on an older release.
Must act 4 items need code or config changes
Python requirement changed in 8.8.0: >=3.8 → >=3.10.
What you must change
Breaking3
Removes deprecated support for Distribution subclasses that do not implement abstract methods.
DistributionDisallows passing 'dist' to EntryPoints.select.
EntryPoints.selectdistMessage.__getitem__ now raises a KeyError on missing keys.
Message.__getitem__Platform1
Removes Python 3.9 compatibility.