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

Bug #1499429 reported by Yasushi SHOJI on 2015-09-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
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

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  Edit
Everyone can see this information.

Other bug subscribers