File tree 3 files changed +8
-4
lines changed 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change
1
+ Set a deadline for the removal of pkg_resources later this year (December).
Original file line number Diff line number Diff line change 97
97
98
98
warnings .warn (
99
99
"pkg_resources is deprecated as an API. "
100
- "See https://setuptools.pypa.io/en/latest/pkg_resources.html" ,
101
- DeprecationWarning ,
100
+ "See https://setuptools.pypa.io/en/latest/pkg_resources.html. "
101
+ "The pkg_resources package is slated for removal as early as "
102
+ "2025-11-30. Refrain from using this package or pin to "
103
+ "Setuptools<81." ,
104
+ UserWarning ,
102
105
stacklevel = 2 ,
103
106
)
104
107
Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ filterwarnings=
84
84
# Avoid errors when testing pkg_resources.declare_namespace
85
85
ignore:.*pkg_resources\.declare_namespace.*:DeprecationWarning
86
86
87
- # suppress known deprecation
88
- ignore:pkg_resources is deprecated:DeprecationWarning
87
+ # suppress known deprecation pypa/setuptools#3085
88
+ ignore:pkg_resources is deprecated:UserWarning
89
89
90
90
# Dependencies might not have been updated yet
91
91
default:onerror argument is deprecated, use onexc instead
You can’t perform that action at this time.
0 commit comments