Unable to use URLs as requirement specifiers

Bug #1667310 reported by Chris Norman on 2017-02-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I get an error when using a URL as a requirement specifier, such as:

I have tried with and without the hg+ part. The error I get is:
install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Invalid requirement, parse error at "'+http://'"

Am I doing it wrong? Or is this a bug?



Clark Boylan (cboylan) wrote :

Reading the PBR packaging code I believe the issue is with the regex at https://git.openstack.org/cgit/openstack-dev/pbr/tree/pbr/packaging.py#n145 assuming git is the only system going to be used here. Just a few lines above the -e (editable install basically setup.py develop) has a more generous regex and could possibly operate as a workaround until the non -e url regex is fixed.

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

Other bug subscribers