Unable to use URLs as requirement specifiers

Bug #1667310 reported by Chris Norman
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?



Revision history for this message
Chris Norman (chris-norman2) wrote :
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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