Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 210937

Summary: wxPython wxversion module should not be versioned
Product: Gentoo Linux Reporter: Glynn Clements <glynn>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Glynn Clements 2008-02-21 02:51:45 UTC
The wxversion module from wxPython has an embedded version number (e.g. wxversion.py-2.6). While this avoids a conflict, it means that "import wxversion" fails.

As the whole point of wxversion is to allow the selection of a specific version of wxPython, there is no need to have multiple versions. The 2.6 and 2.8 versions are virtually identical.

There is, however, a need to have something that works with "import wxversion".

As it stands, any wxPython program which has multi-version support will fail on Gentoo.


Reproducible: Always

Steps to Reproduce:
1.python
2.import wxversion
3.

Actual Results:  
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named wxversion



Both wxpython-2.6.4.0 and wxpython-2.8.7.1 are installed.

Portage 2.1.4.4 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.5-r4, 2.6.17.13 i686)
=================================================================
System uname: 2.6.17.13 i686 Pentium III (Coppermine)
Timestamp of tree: Sat, 16 Feb 2008 23:30:03 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-g -O2 -mtune=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-g -O2 -mtune=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer noclean nostrip sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
MAKEOPTS="-j2"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X X509 alsa apm berkdb bitmap-fonts bzip2 cli cracklib crypt doc dri eds emboss encode foomaticdb fortran gdbm gif gstreamer gtk gtk2 iconv imlib isdnlog jpeg libwww mad mbox midi mikmod motif mp3 mpeg mudflap ncurses ogg opengl openmp oss pam pcre perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl symlink tcpd tiff truetype truetype-fonts type1-fonts vorbis x86 xml xorg xv zlib" ALSA_CARDS="ens1371" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="mga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-21 07:56:32 UTC
No it shouldn't... http://wiki.wxpython.org/index.cgi/MultiVersionInstalls

*** This bug has been marked as a duplicate of bug 209089 ***