Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212241 - =dev-python/ipython-0.8.2 please stabilize for dev-lang/python-2.5
Summary: =dev-python/ipython-0.8.2 please stabilize for dev-lang/python-2.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks: 178800
  Show dependency tree
 
Reported: 2008-03-04 06:09 UTC by Qiangning Hong
Modified: 2008-12-24 19:01 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Qiangning Hong 2008-03-04 06:09:50 UTC
the stable version of ipython, ipython-0.6.15, is not compatible with python-2.5. When envoking ipython under python-2.5 environment, the following exception is raised:

$ ipython
/usr/lib/python2.5/site-packages/IPython/genutils.py:1404: Warning: 'with' will become a reserved keyword in Python 2.6
Traceback (most recent call last):
  File "/usr/bin/ipython", line 28, in <module>
    IPython.Shell.start().mainloop()
  File "/usr/lib/python2.5/site-packages/IPython/Shell.py", line 883, in start
    return shell()
  File "/usr/lib/python2.5/site-packages/IPython/Shell.py", line 54, in __init__
    shell_class=shell_class)
  File "/usr/lib/python2.5/site-packages/IPython/ipmaker.py", line 85, in make_IPython
    IP = shell_class('__IP',user_ns=user_ns,**kw)
  File "/usr/lib/python2.5/site-packages/IPython/iplib.py", line 539, in __init__
    __builtin__.exit += _exit
TypeError: unsupported operand type(s) for +=: 'Quitter' and 'str'

It is because python 2.5 changed the built-in exit variable.  It is now a Quitter instance instead of a string.  More recent versions of ipython have fixed this problem.

We should add a "!>=dev-lang/python-2.5" line to ipython-0.6.15.ebuild's DEPEND,  or just remove ipython-0.6.15.ebuild sine it is outdated.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-03-04 08:18:34 UTC
We'll stabilize a newer one when python-2.5 is stable, meanwhile NOTABUG.
Comment 2 Robert Buchholz (RETIRED) gentoo-dev 2008-07-08 19:33:24 UTC
Python 2.5 is going stable, reopening.
Comment 3 Robert Buchholz (RETIRED) gentoo-dev 2008-07-08 19:34:10 UTC
Python herd, please give your OK for this stabling and CC arches.
Comment 4 Markus Rothe (RETIRED) gentoo-dev 2008-07-09 18:43:58 UTC
ppc64 stable
Comment 5 Robert Buchholz (RETIRED) gentoo-dev 2008-07-09 22:10:28 UTC
Arches, please test and mark stable:
=dev-python/ipython-0.8.2
Target keywords : "amd64 ppc ppc64 s390 x86"
Already stabled : "ppc64"
Missing keywords: "amd64 ppc s390 x86"
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2008-07-10 07:57:03 UTC
x86 stable
Comment 7 Chad A. Simmons 2008-07-10 18:48:54 UTC
AMD64 Arch Tester Report

Compiles: Clean
Install: Clean
Functionality: Tested OK on python2.4 and 2.5

Please mark amd64

chadgentoo home # emerge --info
Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+
Timestamp of tree: Thu, 10 Jul 2008 13:30:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test unmerge-orphans user-sandbox userfetch userpriv"
GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/ http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo http://prometheus.cs.wmich.edu/gentoo http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.fslutd.org/linux/distributions/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://lug.mtu.edu/gentoo/"
LANG="en_US.utf-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv isdnlog jpeg midi mmx mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl png pppd python readline reflection session spl sse sse2 ssl tcpd unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 8 Ulrich Müller gentoo-dev 2008-07-11 05:59:12 UTC
(In reply to comment #4)
> ppc64 stable

I had some trouble finding this bug because you mistyped its number in the ChangeLog. I've corrected it now.
Comment 9 Joe Jezak (RETIRED) gentoo-dev 2008-07-13 19:08:31 UTC
The provided tests (in the tests directory) fail, but the interactive shell seems to work fine.  Marked ppc stable.
Comment 10 Olivier Crete (RETIRED) gentoo-dev 2008-07-18 13:28:27 UTC
amd64 stable
Comment 11 Raúl Porcel (RETIRED) gentoo-dev 2008-12-24 19:01:14 UTC
All done