Unable to use URLs as requirement specifiers
Bug #1667310 reported by
Chris Norman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PBR |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I get an error when using a URL as a requirement specifier, such as:
hg+http://
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?
Cheers,
Chris
To post a comment you must log in.
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.