Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#31587 - ipython: use python3 instead of python when running setup.py

Attached to Project: Arch Linux
Opened by Kerrick Staley (KerrickStaley) - Monday, 17 September 2012, 22:12 GMT
Last edited by Dave Reisner (falconindy) - Monday, 17 September 2012, 22:20 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Per PEP 394 [1], scripts are not supposed to reference python, but rather python2 or python3 as appropriate. Please change the line

python setup.py install --prefix=/usr --root="$pkgdir" --optimize=0

in IPython's PKGBUILD to

python3 setup.py install --prefix=/usr --root="$pkgdir" --optimize=0

The build process will then use python3, regardless of what the user has python aliased to. This will also set the shebangs in the various scripts provided by ipython to /usr/bin/python3 instead of /usr/bin/python.
This task depends upon

Closed by  Dave Reisner (falconindy)
Monday, 17 September 2012, 22:20 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#31588 
Comment by Dave Reisner (falconindy) - Monday, 17 September 2012, 22:19 GMT
Please just ask for the task to be moved next time....

Loading...