File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 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 9797
9898warnings .warn (
9999 "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 ,
102105 stacklevel = 2 ,
103106)
104107
Original file line number Diff line number Diff line change @@ -84,8 +84,8 @@ filterwarnings=
8484# Avoid errors when testing pkg_resources.declare_namespace
8585ignore:.*pkg_resources\.declare_namespace.*:DeprecationWarning
8686
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
8989
9090# Dependencies might not have been updated yet
9191default:onerror argument is deprecated, use onexc instead
You can’t perform that action at this time.
0 commit comments