snapcraft dies with "export: python3.5/dist-packages: bad variable name"

Bug #1499429 reported by Yasushi SHOJI
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Critical
Unassigned

Bug Description

On Wily with python3-minimal 3.4.3-4ubuntu1, /usr/share/python3/debian_defaults has multiple version listed in supported-versions.

supported-versions = python3.4, python3.5

Those versions return when `py3version -i` is run.

$ py3versions -i
python3.4 python3.5

py3version -i is used in snapcraft to generate PYTHONPATH in Python3ProjectPlugin::python_version(), but due to the return value of py3version, and the value has space in it, it generates the following PYTHONPATH and dies with "export: python3.5/dist-packages: bad variable name".

"....spongeshaker/install/usr/lib/python3.4 python3.5/dist-packages"

Related branches

Revision history for this message
Leo Arias (elopio) wrote :

Setting importance to critical because it breaks the integration tests.

Changed in snapcraft:
status: New → Confirmed
importance: Undecided → High
importance: High → Critical
Changed in snapcraft:
milestone: none → 0.3
Changed in snapcraft:
status: Confirmed → Fix Committed
Changed in snapcraft:
status: Fix Committed → Fix Released
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.