setuptools v36.0.0 breaks the python plugin

Bug #1694945 reported by Kyle Fazzari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Invalid
Critical
Kyle Fazzari
snapcraft (Ubuntu)
Invalid
Undecided
Unassigned
Xenial
Invalid
Undecided
Unassigned
Yakkety
Invalid
Undecided
Unassigned
Zesty
Invalid
Undecided
Unassigned
Artful
Invalid
Undecided
Unassigned

Bug Description

[Impact]

 * setuptools v36.0.0 was released today, which no longer bundles six, thereby breaking the python plugin (both python2 and python3).
 * The fix is to simply install six before setuptools.

[Test Case]

 * Simply run one of the many python-based integration tests. For example:

       ./runtests.sh plugins test_python_plugin.py

   Without this patch, the test will fail. With it, the test will pass.

[Regression Potential]

 * Potential is low as we have a large test suite with a number of python-based snaps.
 * Pulling in six could potentially conflict with the dependencies of the snap being build, although six was already used previously (it was just bundled with setuptools).

Revision history for this message
Kyle Fazzari (kyrofa) wrote :
Changed in snapcraft:
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Kyle Fazzari (kyrofa)
Kyle Fazzari (kyrofa)
description: updated
Kyle Fazzari (kyrofa)
description: updated
Kyle Fazzari (kyrofa)
Changed in snapcraft:
status: In Progress → Fix Committed
Revision history for this message
Steve Langasek (vorlon) wrote : Proposed package upload rejected

An upload of snapcraft to zesty-proposed has been rejected from the upload queue for the following reason: "change not needed, fixed upstream in setuptools instead".

Changed in snapcraft (Ubuntu Zesty):
status: New → Invalid
Changed in snapcraft (Ubuntu Yakkety):
status: New → Invalid
Changed in snapcraft (Ubuntu Xenial):
status: New → Invalid
Changed in snapcraft (Ubuntu Artful):
status: New → Invalid
Changed in snapcraft:
status: Fix Committed → Invalid
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.