Upgrading importlib-metadata 9 to 10
Review needed9.1.0 → 10.1.0New1Changed3Fixed2
Review neededUpgrade verdict
3 changed defaults.
In plain terms
- Nothing in this range needs changes to your code. It adds features and fixes.
Must act Nothing to change
No breaking, platform, security or deprecated items in this range.
Nothing in this upgrade needs a code or configuration change.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- removed:
property Distribution.files -> list[PackagePath] | None - removed:
property Distribution.metadata -> _meta.PackageMetadata - changed:
field PackagePath.dist: Distribution → field PackagePath.dist: IDistribution - changed:
function distribution(distribution_name: str) -> Distribution → function distribution(distribution_name: str) -> IDistribution - changed:
function distributions(**kwargs) -> Iterable[Distribution] → function distributions(**kwargs) -> Iterable[IDistribution] - changed:
function files(distribution_name: str) -> list[PackagePath] | None → function files(distribution_name: str) -> list[IPackagePath] | None - changed:
function metadata(distribution_name: str) -> _meta.PackageMetadata → function metadata(distribution_name: str) -> PackageMetadata - added:
export IDistribution - added:
export IPackagePath - added:
property Distribution.files -> list[IPackagePath] | None - added:
property Distribution.metadata -> PackageMetadata
- added:
variable protocol_attrs
- added:
function required(protocol) - added:
function tolerant_conforms(instance, protocol) - added:
variable conforms - added:
variable exempt