** Description changed:

  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
+ 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.

** Patch added: "lp566441.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/566441/+attachment/2211514/+files/lp566441.debdiff

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

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to