Skip to content

Commit 9e59038

Browse files
jaracoclaude
andcommitted
Mention the exemption in the release notes.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent 82f4d7c commit 9e59038

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎newsfragments/486.feature.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Added ``IDistribution`` and ``IPackagePath`` protocols so consumers can target a stable, shared interface across ``importlib.metadata`` and ``importlib_metadata``. A provider supplying its own ``Distribution`` subclass is warned about only when the class omits members that interface requires, not merely because it derives from ``importlib.metadata``.
1+
Added ``IDistribution`` and ``IPackagePath`` protocols so consumers can target a stable, shared interface across ``importlib.metadata`` and ``importlib_metadata``. A provider supplying its own ``Distribution`` subclass is warned about only when the class omits members that interface requires, not merely because it derives from ``importlib.metadata``. ``origin`` is exempt from that expectation until support for Python 3.12 is dropped, as there is none to inherit before Python 3.13.

0 commit comments

Comments
 (0)