Add pymacaroons to xenial

Bug #1586770 reported by Colin Watson on 2016-05-29
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pymacaroons (Ubuntu)
High
Unassigned
Xenial
High
Colin Watson
python-libnacl (Ubuntu)
High
Unassigned
Xenial
High
Colin Watson

Bug Description

In order to be able to authenticate properly to myapps.developer.ubuntu.com for such things as uploading snaps, snapcraft is going to need the "pymacaroons" library. (This is because it needs to be able to get a macaroon-format authentication token from myapps, then go to SSO to get a "discharge macaroon" that confirms that it actually has permission from the user in question to act on their behalf, then bind these two tokens together; it's that last step that requires pymacaroons.) pymacaroons in turn also requires python-libnacl. I hope that we're generally agreed that it would be better for snapcraft not to need to embed its own copies of these libraries.

I've packaged both of these in Debian unstable and they're therefore also in yakkety, but we need them in xenial-updates as well.

I plan to test these by running the pymacaroons functional tests (which are in git although for some reason not in the released tarballs) against the built binaries, for both Python 2 and 3.

Colin Watson (cjwatson) on 2016-05-29
Changed in python-libnacl (Ubuntu):
status: New → Fix Released
Changed in pymacaroons (Ubuntu):
status: New → Fix Released
Colin Watson (cjwatson) on 2016-05-29
Changed in pymacaroons (Ubuntu Xenial):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Colin Watson (cjwatson)
Changed in python-libnacl (Ubuntu Xenial):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Colin Watson (cjwatson)
Colin Watson (cjwatson) on 2016-06-03
description: updated

Hello Colin, or anyone else affected,

Accepted pymacaroons into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/pymacaroons/0.9.2-0ubuntu1 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!

Changed in pymacaroons (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed
Changed in python-libnacl (Ubuntu Xenial):
status: In Progress → Fix Committed
Adam Conrad (adconrad) wrote :

Hello Colin, or anyone else affected,

Accepted python-libnacl into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python-libnacl/1.4.5-0ubuntu1 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!

Colin Watson (cjwatson) on 2016-06-03
description: updated
Colin Watson (cjwatson) wrote :

I installed python{,3}-{pymacaroons,mock,nose} from xenial-{updates,proposed}, copied pymacaroons's functional tests to a fresh directory to avoid problems with them quietly importing the modules from git instead of the packaged ones, and ran "nosetests -v tests/functional_tests" and "nosetests3 -v tests/functional_tests". Both pass. I also played about a bit with some manual macaroon construction and inspection in the python{,3} REPLs, and things look fine there too.

tags: added: verification-done
removed: verification-needed
Changed in pymacaroons (Ubuntu):
importance: Undecided → High
Changed in python-libnacl (Ubuntu):
importance: Undecided → High
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-libnacl - 1.4.5-0ubuntu1

---------------
python-libnacl (1.4.5-0ubuntu1) xenial; urgency=medium

  * Backport to xenial (LP: #1586770).

python-libnacl (1.4.5-1) unstable; urgency=medium

  * Initial release (closes: #781984).

 -- Colin Watson <email address hidden> Sun, 29 May 2016 16:34:06 +0100

Changed in python-libnacl (Ubuntu Xenial):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for python-libnacl 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.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pymacaroons - 0.9.2-0ubuntu1

---------------
pymacaroons (0.9.2-0ubuntu1) xenial; urgency=medium

  * Backport to xenial (LP: #1586770).

pymacaroons (0.9.2-1) unstable; urgency=medium

  * Initial release (closes: #824554).

 -- Colin Watson <email address hidden> Sun, 29 May 2016 16:36:20 +0100

Changed in pymacaroons (Ubuntu Xenial):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers