PBR

pbr doesn't work when there's subdirectory in url

Bug #1786306 reported by Wei T
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PBR
Fix Released
Undecided
Wei T

Bug Description

pip supports pulling module/package from VCS that the setup.py is not at root directory https://pip.pypa.io/en/latest/reference/pip_install/#vcs-support, however PBR fails in that case

e.g.

```
git+https://foo.com/zipball#egg=bar&subdirectory=baz
```

error msg when run `python setup.py sdist`

```
pkg_resources.RequirementParseError: Invalid requirement, parse error at "'&subdire'"
```

Wei T (nuaafe)
Changed in pbr:
assignee: nobody → Wei T (nuaafe)
Changed in pbr:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to pbr (master)

Reviewed: https://review.openstack.org/590066
Committed: https://git.openstack.org/cgit/openstack-dev/pbr/commit/?id=bca35333bcc1102040158ca97f2aac3bd932430b
Submitter: Zuul
Branch: master

commit bca35333bcc1102040158ca97f2aac3bd932430b
Author: Wei Tie <email address hidden>
Date: Wed Aug 8 18:03:31 2018 -0700

    Support subdirectory in the url

    Pip supports git+https://foo.com/zipball#egg=bar&subdirectory=baz
    when setup.py is not at the root directory of the project [1]. This
    commit keeps pbr function in this case.

    [1] https://pip.pypa.io/en/latest/reference/pip_install/#vcs-support

    Change-Id: I70dac755caacc89859a8646c090b69800401bbc0
    Closes-Bug: 1786306
    Signed-off-by: Wei Tie <email address hidden>

Changed in pbr:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack-dev/pbr 4.3.0

This issue was fixed in the openstack-dev/pbr 4.3.0 release.

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.