[Bug 566441] Re: pycompile defaults to python 2.5, should use python 2.6 in Lucid

Matthias Klose doko at ubuntu.com
Sun Mar 24 20:57:22 UTC 2013


** Also affects: python-defaults (Ubuntu Lucid)
   Importance: Undecided
       Status: New

** Changed in: python-defaults (Ubuntu Lucid)
   Importance: Undecided => Medium

** Changed in: python-defaults (Ubuntu Lucid)
       Status: New => Triaged

** Changed in: python-defaults (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/566441

Title:
  pycompile defaults to python 2.5, should use python 2.6 in Lucid

Status in “python-defaults” package in Ubuntu:
  Fix Released
Status in “python-defaults” source package in Lucid:
  Triaged

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/566441/+subscriptions




More information about the foundations-bugs mailing list