PBR

Unable to use URLs as requirement specifiers

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

Bug Description

I get an error when using a URL as a requirement specifier, such as:
hg+http://hg.q-continuum.net/platform_utils

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

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