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
Hello, using pkg_resources in gunicorn.util causes a deprecation warning to be issued down the stack (it's coming from sre_constants imported py the vendored pyparsing).
The use of pkg_resources has been heavily discouraged over the past years and nowadays the recommended alternative exists. It's called importlib.metadata and it's present in the modern CPython stdlib. For older interpreter versions, there's also an importlib_metadata backport packaged and published separately to PyPI. It can be used as a fallback.
Hello, using
pkg_resources
ingunicorn.util
causes a deprecation warning to be issued down the stack (it's coming fromsre_constants
imported py the vendoredpyparsing
).The use of
pkg_resources
has been heavily discouraged over the past years and nowadays the recommended alternative exists. It's calledimportlib.metadata
and it's present in the modern CPython stdlib. For older interpreter versions, there's also animportlib_metadata
backport packaged and published separately to PyPI. It can be used as a fallback.https://importlib-metadata.readthedocs.io/en/latest/api.html#importlib_metadata.entry_points
The text was updated successfully, but these errors were encountered: