PBR

extras_require is ignored when used with pbr

Bug #1931705 reported by Jozef Gaborik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PBR
New
Undecided
Unassigned

Bug Description

In normal setup.py you can specify extras_require. However, it's ignored when used together with pbr. Example:

setup(
    setup_requires=["pbr"],
    pbr=True,
    extras_require={"full": ["requests"]}
)

When you run:

pip install .[full]

you get this warning:
WARNING: xxx 0.2.0 does not provide the extra 'full'

I created simple fix here: https://github.com/jozo/pbr/commit/7853fdbbc6d5b8bb3a97398dbe24ccb2b39b90e8

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.