python3-stevedore doesn't have stevedore modules for python3

Bug #1461753 reported by Felipe Reyes
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
stevedore (Ubuntu)
Fix Released
Undecided
Unassigned
Vivid
Fix Released
Undecided
Felipe Reyes

Bug Description

[Impact]

The package python3-stevedore doesn't contain the code, list of files:

$ dpkg -L python3-stevedore
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/python3-stevedore
/usr/share/doc/python3-stevedore/copyright
/usr/share/doc/python3-stevedore/changelog.Debian.gz

This problem is not present in wily, it was detected just in vivid.

[Test Case]

$ sudo apt-get install python3-stevedore
$ python3 -c 'import stevedore'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named 'stevedore'

While for python2 works fine.

[Regression Potential]

None expected, currently python3-stevedore is unusable.

[Other info]

List of files for python3-stevedore:
vivid: http://packages.ubuntu.com/vivid/all/python3-stevedore/filelist
utopic: http://packages.ubuntu.com/utopic/all/python3-stevedore/filelist
trusty: http://packages.ubuntu.com/trusty/all/python3-stevedore/filelist

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: python3-stevedore 1.3.0-0ubuntu1
Uname: Linux 4.0.0-999-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
Date: Thu Jun 4 01:43:28 2015
InstallationDate: Installed on 2015-03-26 (69 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
PackageArchitecture: all
SourcePackage: stevedore
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Felipe Reyes (freyes) wrote :
Revision history for this message
Felipe Reyes (freyes) wrote :

Package in wily (1.3.0-1) doesn't present this problem.

Revision history for this message
Felipe Reyes (freyes) wrote :

This patch runs build and install targets with python3

description: updated
Changed in stevedore (Ubuntu):
assignee: nobody → Felipe Reyes (freyes)
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "lp1461753_vivid.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Felipe Reyes (freyes)
summary: - python3-stevedore doesn't have the stevedore for python3
+ python3-stevedore doesn't have stevedore modules for python3
Revision history for this message
Daniel Holbach (dholbach) wrote :

I took the liberty to add "(LP: #1461753)" to the changelog entry.

Revision history for this message
Daniel Holbach (dholbach) wrote :
Changed in stevedore (Ubuntu Vivid):
status: New → Fix Committed
Revision history for this message
Daniel Holbach (dholbach) wrote :

Closing the wily part of the bug.

Changed in stevedore (Ubuntu):
assignee: Felipe Reyes (freyes) → nobody
status: New → Fix Released
Changed in stevedore (Ubuntu Vivid):
assignee: nobody → Felipe Reyes (freyes)
Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Felipe, or anyone else affected,

Accepted stevedore into vivid-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/stevedore/1.3.0-0ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Revision history for this message
Felipe Reyes (freyes) wrote :

python3-stevedore from vivid-proposed fixes this issue

root@stevedore:~# dpkg -l python-stevedore python3-stevedore
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-====================-===============-===============-==============================================
ii python-stevedore 1.3.0-0ubuntu1. all manage dynamic plugins for Python applications
ii python3-stevedore 1.3.0-0ubuntu1. all manage dynamic plugins for Python applications
root@stevedore:~# python3 -c "import stevedore; print(stevedore.__file__)"
/usr/lib/python3/dist-packages/stevedore/__init__.py
root@stevedore:~# python -c "import stevedore; print(stevedore.__file__)"
/usr/lib/python2.7/dist-packages/stevedore/__init__.pyc
root@stevedore:~# python3 test.py
a = A
b = B
long = word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word
root@stevedore:~# python test.py
a = A
b = B
long = word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word
root@stevedore:~# cat test.py
# stevedore/example/load_as_driver.py
from __future__ import print_function

import argparse

from stevedore import driver

if __name__ == '__main__':
    parser = argparse.ArgumentParser()
    parser.add_argument(
        'format',
        nargs='?',
        default='simple',
        help='the output format',
    )
    parser.add_argument(
        '--width',
        default=60,
        type=int,
        help='maximum output width for text',
    )
    parsed_args = parser.parse_args()

    data = {
        'a': 'A',
        'b': 'B',
        'long': 'word ' * 80,
    }

    mgr = driver.DriverManager(
        namespace='stevedore.example.formatter',
        name=parsed_args.format,
        invoke_on_load=True,
        invoke_args=(parsed_args.width,),
    )
    for chunk in mgr.driver.format(data):
        print(chunk, end='')

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package stevedore - 1.3.0-0ubuntu1.1

---------------
stevedore (1.3.0-0ubuntu1.1) vivid; urgency=medium

  * Fix python3-stevedore packaging (LP: #1461753)
    - debian/rules: build and install stevedore with python3 interpreter.

 -- Felipe Reyes <email address hidden> Thu, 04 Jun 2015 11:13:16 -0300

Changed in stevedore (Ubuntu Vivid):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for stevedore has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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.