Is there a reasonable way (using Plone 6.1.0a5 and plone.recipe.zope2instance
) to suppress PEP 420 warnings? If Plone and Zope 2 in a state of waiting until Plone 7 to use PEP 420 namespace packages, is there a bridge that's not so noisy in the logs at instance startup? I know that pkg_resources
is deprecated, so I'm ok with the idea that this one particular deprecation warning can be quieted, if there is a simple means to do so?
Running with the PYTHONWARNINGS environment variable set to "ignore::DeprecationWarning:pkg_resources" seems to help.
3 Likes