PBR

tests-require metadata field ignored

Bug #1739354 reported by cmcginty
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PBR
Incomplete
Undecided
Unassigned

Bug Description

Setup.cfg should support the setuptools tests_require list.

Testing this in PBR, shows that it doesn't apply the dependencies before running tests.

Adding the field directly to setup.py works correctly however.

Also, please document this field in the PBR user guide.

cmcginty (casey-mcginty)
summary: - test-require metadata field ignored
+ tests-require metadata field ignored
description: updated
Revision history for this message
Ben Nemec (bnemec) wrote :

It looks like this is actually in the backwards_compat group: https://github.com/openstack-dev/pbr/blob/ee26945cb3b290983a4b6d71bec2ed5aaf163989/pbr/util.py#L131

I'm not sure of the history behind it that led to that decision, but does it work if you set it in that group instead of metadata?

Changed in pbr:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.