| Some options: 1. Don’t have pyramid imported when you import your package. Wait until main() is called. 2. Set the PYTHONWARNINGS env var in your env prior to the script running. 3. In your package define an __init__.py that configures warnings prior to importing anything else. Not saying they’re great options but trying to help. - Michael On Jul 11, 2025, at 11:10, Jonathan Vanasco <[email protected]> wrote:
You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/pylons-discuss/47BD2C90-9141-41CB-B35C-BA55548B25D4%40gmail.com. |
- [pylons-discuss] disabling pkg_resources warning on conso... Jonathan Vanasco
- Re: [pylons-discuss] disabling pkg_resources warning... Michael Merickel
- Re: [pylons-discuss] disabling pkg_resources war... Jonathan Vanasco
- Re: [pylons-discuss] disabling pkg_resources... Jonathan Vanasco
