Page MenuHomePhabricator

package python module pbr
Closed, ResolvedPublic

Assigned To
Authored By
hashar
Jul 3 2013, 3:01 PM
Referenced Files
F11815: file_50667.txt
Nov 22 2014, 2:07 AM
F11816: file_50667.txt
Nov 22 2014, 2:07 AM
F11814: file_50667.txt
Nov 22 2014, 2:07 AM
F11813: file_50667.txt
Nov 22 2014, 2:07 AM

Description

Zuul with Gearman requires the python module pbr. OpenStack has probably packaged it already since it is a dependency for most of their softwares.


Version: wmf-deployment
Severity: enhancement

Details

Reference
bz50667

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:07 AM
bzimport set Reference to bz50667.

I have filled an Ubuntu bug to get python-pbr synced from Debian testing to the Ubuntu repository: https://bugs.launchpad.net/ubuntu/+bug/1205313

The package is available in Saucy :-]

Created attachment 12971
backportpackage result

attachment file_50667.txt ignored as obsolete

$ sudo BASEPATH=/var/cache/pbuilder/precise.cow cowbuilder --distribution=precise --build *.dsc

That complains about missing dependencies :(

The following packages have unmet dependencies:
pbuilder-satisfydepends-dummy :

Depends: debhelper (>= 9) but it is not going to be installed
Depends: openstack-pkg-tools but it is not installable
Depends: python-all (>= 2.6.6-3~) but it is not going to be installed
Depends: python-coverage but it is not going to be installed
Depends: python-d2to1 (>= 0.2.10) but it is not installable
Depends: python-fixtures but it is not going to be installed
Depends: python-setuptools but it is not going to be installed
Depends: python-setuptools-git but it is not installable
Depends: python-sphinx but it is not going to be installed
Depends: python-subunit but it is not going to be installed
Depends: python-testrepository (>= 0.0.14) but it is not going to be installed
Depends: python-testresources but it is not going to be installed
Depends: python-testtools but it is not going to be installed
Depends: python3-all but it is not going to be installed
Depends: python3-d2to1 (>= 0.2.10) but it is not installable
Depends: python3-setuptools but it is not going to be installed
Depends: subunit but it is not going to be installed

Created attachment 12972
pbuilder output

Attached:

Created attachment 12973
apt-cache policy on all dependencies

Attached:

Thus requirements are:

N: Unable to locate package python-d2to1 bug 50666
N: Unable to locate package python3-d2to1 bug 50666
N: Unable to locate package python-setuptools-git bug 52092

All requirements should not be available in Wikimedia apt repository. I can resume packaging python module pbr.

Created attachment 13179
backportpackage result (pbr 0.5.21)

attachment file_50667.txt ignored as obsolete

Created attachment 13180
pbuilder output (pbr 0.5.21) [FAILS]

Now needs python3-d2to1 (>= 0.2.10) :(

Attached:

Created attachment 13419
backportpackage result (pbr 0.5.21, python-d2to1 available)

Attached:

The package dependencies are only needed to actually build the package, so instead we could just grab the already build package from Ubuntu:

http://pmtpa.clouds.archive.ubuntu.com/ubuntu/pool/main/p/python-pbr/

Uploaded from Saucy by Alexandros:

$ apt-cache policy python-pbr
python-pbr:

Installed: (none)
Candidate: 0.5.21-0ubuntu4
Version table:
   0.5.21-0ubuntu4 0
     1001 http://apt.wikimedia.org/wikimedia/ precise-wikimedia/main amd64 Packages

\O/