Skip to content

Conversation

Zethson
Copy link
Member

@Zethson Zethson commented Oct 10, 2025

When running session_info(), a deprecation warning is raised:

UserWarning: The 'version' attribute is deprecated and will be removed in MarkupSafe 3.1.
Use feature detection, or importlib.metadata.version("markupsafe"), instead.

We now suppress all UserWarning from MarkupSafe's deprecated __version__ attribute when collecting package versions.

This might be too big of a hammer and I don't have full context.

…ribute when collecting package versions.

Signed-off-by: Lukas Heumos <[email protected]>
Signed-off-by: Lukas Heumos <[email protected]>
@Zethson
Copy link
Member Author

Zethson commented Oct 10, 2025

Ahh now I remember #96

Maybe I just need to upgrade my markupsafe

@Zethson Zethson closed this Oct 10, 2025
@flying-sheep
Copy link
Member

flying-sheep commented Oct 10, 2025

yup, to 3.0.3, released 2 weeks ago! pallets/markupsafe@3.0.2...3.0.3#diff-4c33fc9d0d

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.

2 participants