-
-
Notifications
You must be signed in to change notification settings - Fork 168
Closed
Milestone
Description
I’d expect a DeprecationWarning
or FutureWarning
, not a generic UserWarning
that can’t be filtered.
markupsafe/src/markupsafe/__init__.py
Lines 387 to 392 in 620c06c
warnings.warn( | |
"The '__version__' attribute is deprecated and will be removed in" | |
" MarkupSafe 3.1. Use feature detection, or" | |
' `importlib.metadata.version("markupsafe")`, instead.', | |
stacklevel=2, | |
) |
Background: scverse/session-info2#96
Metadata
Metadata
Assignees
Labels
No labels