pycompile defaults to python 2.5, should use python 2.6 in Lucid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-defaults (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Lucid |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: python-minimal
A fresh install of Lucid installs python2.6, but the python compiler still defaults to using python2.5.
Unless I manually specify the python version on the command line (eg "pycompile -V 2.6 foo.py"), then I get the error:
/bin/sh: python2.5: not found
*** SRU evalution ***
impact: as explained above pycompile fails unless given specific instructions how to work around the failure
dev branch: pycompile in maverick and beyond was completely rewritten and is either unaffected or would have to be patched completely differently
minimal patch is provided in the attachment
TEST CASE:
1) install python-defaults in lucid
2) cp /usr/bin/pycompile /tmp/pycompile.py
3) pycompile /tmp/compile.py
Step 3 will fail, but succeed with a patched package.
Related branches
Changed in python-defaults (Ubuntu Lucid): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in python-defaults (Ubuntu): | |
status: | Triaged → Fix Released |
I can't reproduce this on a lucid live CD