Summary: | net-mail/getmail-4.7.6 is using deprecated code after updating to python-2.6.2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Jäger <thomas.jaeger> |
Component: | Current packages | Assignee: | Net-Mail Packages <net-mail+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | asolokha |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 278891 | ||
Bug Blocks: |
Description
Thomas Jäger
2009-07-31 05:34:10 UTC
Of course the "main" warning for the sets module can be suppressed by editing the file /usr/lib/python2.6/sets.py, but will this be the final solution? #import warnings #warnings.warn("the sets module is deprecated", DeprecationWarning, # stacklevel=2) Thanks for reporting. Problem is with net-mail, upstream needs to update or ignore that depreciation warning I think, though we should note that we have 4.9.2 in portage already, just in the testing branch. I cc'd the python folks as well. Could you include your emerge --info please? Version 4.9.0 5 April 2009 -eliminate deprecation warning for sets module with Python 2.6 by using a compatibility wrapper module. Stabilization of 4.9.1 is handled in bug 278891. # emerge --info Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4600+-with-gentoo-1.12.11.1 Timestamp of tree: Fri, 31 Jul 2009 04:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.5.4-r3, 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64-sse3 -O2 -pipe " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=athlon64-sse3 -O2 -pipe " DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect distlocks fixpackages maketest parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv" GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.ynet.sk/pub http://gentoo.mirror.solnet.ch http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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/layman/java-overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apache2 berkdb bidi bluetooth bzip2 cairo cddb cdparanoia cdr cgi chroot cli cracklib crypt ctype cups curl dbus dedicated dga dri dvb dvd dvdr eds encode esd evo exif expat fastcgi ffmpeg flac foomaticdb gd gdbm geoip gif gimp gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk hal iconv imap isdnlog java jpeg jpeg2k lame lcms lm_sensors mad matroska mbox midi mmx mmxext mozilla mp3 mpeg mudflap multilib mysql nautilus ncurses networkmanager nls nntp nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl php png ppds pppd python quicktime readline reflection samba sasl scanner sdl session speex spell spl sqlite3 sse sse2 sse3 ssl subversion svg sysfs taglib tcpd theora threads tiff truetype unicode usb v4l v4l2 videos vorbis wmf x264 xattr xinetd xml xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta charset_lite dav deflate dir disk_cache env file_cache filter ident imagemap include log_config mem_cache mime mime_magic negotiation rewrite version" APACHE2_MPMS="worker" CAMERAS="directory fuji ptp2 template" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev v4l vesa vga nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS With stable 4.9.1 of getmail (see bug #278891) this bug can be closed 4.9.1 is now stable. Closing |