Skip to content

Fix compatibility with Python 3.15#38

Open
hrnciar wants to merge 1 commit into
Pylons:mainfrom
hrnciar:patch-1
Open

Fix compatibility with Python 3.15#38
hrnciar wants to merge 1 commit into
Pylons:mainfrom
hrnciar:patch-1

Conversation

@hrnciar

@hrnciar hrnciar commented Jun 1, 2026

Copy link
Copy Markdown

Python 3.15 changed importlib.metadata to raise MetadataNotFound (a FileNotFoundError subclass) when a distribution has no metadata file, instead of returning None. This breaks plaster's loader discovery which iterates all distributions unconditionally.

Assisted-by: Cursor

Python 3.15 changed importlib.metadata to raise MetadataNotFound
(a FileNotFoundError subclass) when a distribution has no metadata
file, instead of returning None. This breaks plaster's loader
discovery which iterates all distributions unconditionally.

Assisted-by: Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant