---
title: "importlib-metadata 10.2.0 Breaking Changes on PyPI"
description: "What each importlib-metadata release removed, renamed or changed: 27 breaking changes in 11 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/importlib-metadata
last_updated: 2026-12-04
---

# importlib-metadata breaking changes

importlib-metadata 10.2.0 (November 9, 2026) is its newest release with breaking changes. The first: JSON-compatible metadata now returns License-File, Import-Name and Import-Namespace as lists in importlib-metadata 10.2.0. Every breaking API change we have recorded in importlib-metadata on PyPI: 27 breaking changes in 11 versions. Below, its 11 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `10.2.0`, released November 9, 2026. [Source repository](https://github.com/python/importlib%5Fmetadata)

Its 9.1.0 release drops [Python 3.10](https://since.dev/calendar/python/3.10.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [9.1.0](#v-9-1-0) to [10.2.0](#v-10-2-0): 10 breaking changes in 3 versions.
- From [5.0.0](#v-5-0-0) to [10.2.0](#v-10-2-0): 25 breaking changes in 10 versions.

## importlib-metadata 10.2.0 breaking changes

importlib-metadata 10.2.0, released November 9, 2026: 1 breaking change.

- **Behavior changed**  

These fields are now always lists in JSON-compatible metadata, even when only one value is present, so code expecting a single string must handle a list instead. [github.com](https://github.com/python/importlib%5Fmetadata/blob/v10.2.0/NEWS.rst)

## importlib-metadata 10.1.0 breaking changes

importlib-metadata 10.1.0, released October 24, 2026: 1 breaking change.

- **Behavior changed**  

Where a path supplies more than one metadata directory for a distribution, discovery again reports them in the order the path supplies rather than preferring the lexicographically greater directory name. Code that relied on the v9.1.0... [github.com](https://github.com/python/importlib%5Fmetadata/blob/v10.1.0/NEWS.rst)

## importlib-metadata 10.0.0 breaking changes

importlib-metadata 10.0.0, released October 23, 2026: 8 breaking changes.

- **Behavior changed**  

When providers supply objects from importlib.metadata, they are now converted to the importlib_metadata classes, so code that relies on the original types may see different behavior. [github.com](https://github.com/python/importlib%5Fmetadata/blob/v10.0.0/NEWS.rst)
- **Signature changed** `importlib_metadata.distribution`  

Was def distribution(distribution_name: str) -> Distribution; now def distribution(distribution_name: str) -> IDistribution. [pypi.org](https://pypi.org/project/importlib-metadata/10.0.0/)
- **Signature changed** `importlib_metadata.Distribution.files`  

Was files: list\[PackagePath\] | None; now files: list\[IPackagePath\] | None. [pypi.org](https://pypi.org/project/importlib-metadata/10.0.0/)
- **Signature changed** `importlib_metadata.Distribution.metadata`  

Was metadata: \_meta.PackageMetadata; now metadata: PackageMetadata. [pypi.org](https://pypi.org/project/importlib-metadata/10.0.0/)
- **Signature changed** `importlib_metadata.distributions`  

Was def distributions(\*\*kwargs) -> Iterable\[Distribution\]; now def distributions(\*\*kwargs) -> Iterable\[IDistribution\]. [pypi.org](https://pypi.org/project/importlib-metadata/10.0.0/)
- **Signature changed** `importlib_metadata.files`  

Was def files(distribution_name: str) -> list\[PackagePath\] | None; now def files(distribution_name: str) -> list\[IPackagePath\] | None. [pypi.org](https://pypi.org/project/importlib-metadata/10.0.0/)
- **Signature changed** `importlib_metadata.metadata`  

Was def metadata(distribution_name: str) -> \_meta.PackageMetadata; now def metadata(distribution_name: str) -> PackageMetadata. [pypi.org](https://pypi.org/project/importlib-metadata/10.0.0/)
- **Signature changed** `importlib_metadata.PackagePath.dist`  

Was dist: Distribution; now dist: IDistribution. [pypi.org](https://pypi.org/project/importlib-metadata/10.0.0/)

## importlib-metadata 9.1.0 breaking changes

importlib-metadata 9.1.0, released October 22, 2026: 2 breaking changes.

- **Removed**  

Python 3.10 is end-of-life and is no longer supported; users on Python 3.10 must upgrade their Python version. [github.com](https://github.com/python/importlib%5Fmetadata/blob/v9.1.0/NEWS.rst)
- **Behavior changed**  

When a path has more than one metadata directory for a distribution, discovery now prefers the greater directory name by reverse lexicographic ordering instead of the previous choice. [github.com](https://github.com/python/importlib%5Fmetadata/blob/v9.1.0/NEWS.rst)

## importlib-metadata 9.0.1 breaking changes

importlib-metadata 9.0.1, released August 28, 2026: 2 breaking changes.

- **Signature changed** `importlib_metadata.SimplePath.__truediv__`  

Was def \_\_truediv\_\_(self, other: str | os.PathLike\[str\]) -> SimplePath; now def \_\_truediv\_\_(self, other: str | os.PathLike\[str\], /) -> SimplePath. [pypi.org](https://pypi.org/project/importlib-metadata/9.0.1/)
- **Signature changed** `importlib_metadata.SimplePath.joinpath`  

Was def joinpath(self, other: str | os.PathLike\[str\]) -> SimplePath; now def joinpath(self, other: str | os.PathLike\[str\], /) -> SimplePath. [pypi.org](https://pypi.org/project/importlib-metadata/9.0.1/)

## importlib-metadata 9.0.0 breaking changes

importlib-metadata 9.0.0, released March 20, 2026: 4 breaking changes.

- **Removed** `importlib_metadata.PackagePath`  

importlib_metadata.PackagePath was removed in importlib-metadata 9.0.0 [pypi.org](https://pypi.org/project/importlib-metadata/9.0.0/)
- **Behavior changed** `Distribution.metadata`  

When metadata files are missing, Distribution.metadata and metadata() now raise MetadataNotFound, a subclass of FileNotFoundError, instead of returning None. Code that checks for None must catch the exception. [github.com](https://github.com/python/importlib%5Fmetadata/blob/v9.0.0/NEWS.rst)
- **Signature changed** `importlib_metadata.Distribution.metadata`  

Was metadata: \_meta.PackageMetadata | None; now metadata: \_meta.PackageMetadata. [pypi.org](https://pypi.org/project/importlib-metadata/9.0.0/)
- **Signature changed** `importlib_metadata.metadata`  

Was def metadata(distribution_name: str) -> \_meta.PackageMetadata | None; now def metadata(distribution_name: str) -> \_meta.PackageMetadata. [pypi.org](https://pypi.org/project/importlib-metadata/9.0.0/)

## Older versions

5 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### importlib-metadata 8.8.0 breaking changes

importlib-metadata 8.8.0, released March 19, 2026: 2 breaking changes.

- **Removed**  

The release removes Python 3.9 compatibility. Users on Python 3.9 should stay on 8.7.1 or upgrade their Python version. [github.com](https://github.com/python/importlib%5Fmetadata/blob/v8.8.0/NEWS.rst)
- **Removed** `importlib_metadata.compat.py39`  

importlib_metadata.compat.py39 was removed in importlib-metadata 8.8.0 [pypi.org](https://pypi.org/project/importlib-metadata/8.8.0/)

### importlib-metadata 8.0.0 breaking changes

importlib-metadata 8.0.0, released June 25, 2024: 3 breaking changes.

- **Removed** `importlib_metadata.Distribution.__new__`  

importlib_metadata.distribution().\_\_new\_\_() was removed in importlib-metadata 8.0.0 [pypi.org](https://pypi.org/project/importlib-metadata/8.0.0/)
- **Behavior changed** `Message.__getitem__`  

Message.\_\_getitem\_\_ raises a KeyError for missing keys instead of returning None. Code that relies on a None result must catch the KeyError or use .get(). [github.com](https://github.com/python/importlib%5Fmetadata/blob/v8.0.0/NEWS.rst)

And 1 more in this version.

### importlib-metadata 7.0.0 breaking changes

importlib-metadata 7.0.0, released December 3, 2023: 1 breaking change.

- **Removed** `EntryPoint`  

EntryPoint objects no longer support tuple-style access by numeric index. Access attributes such as name, group and value instead. [github.com](https://github.com/python/importlib%5Fmetadata/blob/v7.0.0/NEWS.rst)

### importlib-metadata 6.0.0 breaking changes

importlib-metadata 6.0.0, released January 1, 2023: 1 breaking change.

- **Behavior changed** `Distribution`  

Distribution and its subclasses can no longer be instantiated unless they define all abstract methods. Subclasses that leave any abstract method undefined must implement it before they can be used. [github.com](https://github.com/python/importlib%5Fmetadata/blob/v6.0.0/CHANGES.rst)

### importlib-metadata 5.0.0 breaking changes

importlib-metadata 5.0.0, released October 2, 2022: 2 breaking changes.

- **Removed**  

The compatibility shims for the deprecated entry point interfaces were removed. Code that relies on those old interfaces must move to the current entry point API. [github.com](https://github.com/python/importlib%5Fmetadata/blob/v5.0.0/CHANGES.rst)
- **Signature changed** `importlib_metadata.entry_points`  

Was def entry_points(\*\*params) -> Union\[EntryPoints, SelectableGroups\]; now def entry_points(\*\*params) -> EntryPoints. [pypi.org](https://pypi.org/project/importlib-metadata/5.0.0/)

## Related packages

- [importlib-resources](https://since.dev/packages/pypi/importlib-resources.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
