You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did not know why I had tons of warnings when running tests for my own library, and found the culprit in this package. I can go back to setuptools 65 the same way pip did : pypa/pip#11975, but might as well prepare for the future.
Recommendation is to use importlib.resources instead of pkg_resources, see related discussion : simonw/datasette#2057 (nice demonstration of chatgpt pair programming ! 😛 )
The text was updated successfully, but these errors were encountered:
pkg_resources
is called frometa.core.utils
, but its use is now deprecated, since setuptools > 67.5See the warning on most recent file here : https://github.com/pypa/setuptools/blame/main/pkg_resources/__init__.py#L121
See commit introducing the warning here : pypa/setuptools@a1aeda3
Did not know why I had tons of warnings when running tests for my own library, and found the culprit in this package. I can go back to setuptools 65 the same way pip did : pypa/pip#11975, but might as well prepare for the future.
Recommendation is to use
importlib.resources
instead ofpkg_resources
, see related discussion : simonw/datasette#2057 (nice demonstration of chatgpt pair programming ! 😛 )The text was updated successfully, but these errors were encountered: