Python2 version actually uses Python3

Bug #1307149 reported by Andrew Starr-Bochicchio
46
This bug affects 12 people
Affects Status Importance Assigned to Milestone
bpython (Ubuntu)
Fix Released
High
Unassigned

Bug Description

[Impact]
bpython is unusable as dh_python3 rewrites the python2 package shebang to use python3

[TESTCASE]
run bpython
expected interpreter
what happes: error message

[Regression Potential]
none

original report

I fired up bpython and tried to import a python 2 only module. It failed. I was surprised to see:

$ bpython --version
bpython version 0.12 on top of Python 3.4.0
(C) 2008-2012 Bob Farrell, Andreas Stuehrk et al. See AUTHORS for detail.

$ head -n 1 /usr/bin/bpython
#! /usr/bin/python3

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :
Changed in bpython (Ubuntu):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bpython (Ubuntu):
status: New → Confirmed
Julian Taylor (jtaylor)
Changed in bpython (Ubuntu):
status: Confirmed → In Progress
Julian Taylor (jtaylor)
description: updated
Revision history for this message
Julian Taylor (jtaylor) wrote :

fix uploaded to proposed

Changed in bpython (Ubuntu):
status: In Progress → Triaged
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Andrew, or anyone else affected,

Accepted bpython into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/bpython/0.12-1ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

I've installed both bpython and bpython three from proposed, and I can confirm that they both work as expected.

asb@asb-laptop:~/Desktop$ bpython --version
bpython version 0.12 on top of Python 2.7.6
(C) 2008-2012 Bob Farrell, Andreas Stuehrk et al. See AUTHORS for detail.
asb@asb-laptop:~/Desktop$ bpython3 --version
bpython version 0.12 on top of Python 3.4.0
(C) 2008-2012 Bob Farrell, Andreas Stuehrk et al. See AUTHORS for detail.
asb@asb-laptop:~/Desktop$ head -n 1 /usr/bin/bpython
#! /usr/bin/python
asb@asb-laptop:~/Desktop$ head -n 1 /usr/bin/bpython3
#! /usr/bin/python3

tags: added: verification-done
removed: verification-needed
Revision history for this message
Matthew Buck (seamusmb) wrote :

bpython from propsed is working for me as well.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bpython - 0.12-1ubuntu1.1

---------------
bpython (0.12-1ubuntu1.1) trusty-proposed; urgency=medium

  * fix wrong shebang of bpython (LP: #1307149)
 -- Julian Taylor <email address hidden> Fri, 18 Apr 2014 12:41:06 +0200

Changed in bpython (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Scott Kitterman (kitterman) wrote : Update Released

The verification of the Stable Release Update for bpython has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.