Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
deprecation warnings in pip/_vendor/pkg_resources/__init__.py explode OpenStack test logs #2326
The OpenStack Nova unit tests (stable/juno) running on python 2.6 now explode hitting sanity limits on log size due to a deprecation warning that was added in this commit:
Author: Donald Stufft firstname.lastname@example.org
The issue is here:
Every call to load issues the DeprecationWarning. This should instead be issued once per executable run otherwise long running environments are going to be blasted with this over and over again.
Also the DeprecationWarning isn't sufficient to have any idea what's calling it (so what needs to be fixed).
This is being tracked in Nova via this bug - https://bugs.launchpad.net/nova/+bug/1407736
If the warning is triggered before that