RuntimeWarning generated by is_compatible()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.utils |
Fix Released
|
Undecided
|
John L. Villalovos |
Bug Description
In Ironic during a run of: $ tox -e py35
We see 11,000+ RuntimeWarnings like this:
RuntimeWarning: You have iterated over the result of pkg_resources.
This is caused by this line:
https:/
When it tries to index the value it causes the __iter__ operator to run and then the above RuntimeWarning is generated.
Changed in oslo.utils: | |
assignee: | nobody → John L. Villalovos (happycamp) |
status: | New → In Progress |
summary: |
- RuntimeWarning generated by is_compatbile() + RuntimeWarning generated by is_compatible() |
Fix proposed:
https:/ /review. openstack. org/486796 Prevent deprecation error messages from pkg_resources