setuptools v36.0.0 breaks the python plugin
Bug #1694945 reported by
Kyle Fazzari
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:
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).
description: | updated |
description: | updated |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
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.
Fix: https:/ /github. com/snapcore/ snapcraft/ pull/1339