Date: Wed, 10 Jun 2009 22:26:28 +0200 (CEST) From: Michal Petrucha <johnny64@swissjabber.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: Michal Petrucha <johnny64@swissjabber.org> Subject: ports/135452: mail/getmail prints a deprecation warning after python upgrade Message-ID: <200906102026.n5AKQSjJ000667@georg.localdomain> Resent-Message-ID: <200906102050.n5AKo4gn098065@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 135452 >Category: ports >Synopsis: mail/getmail prints a deprecation warning after python upgrade >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jun 10 20:50:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Michal Petrucha >Release: FreeBSD 7.2-PRERELEASE i386 >Organization: >Environment: System: FreeBSD georg.localdomain 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #0: Tue Apr 14 13:01:18 CEST 2009 root@georg.localdomain:/usr/obj/usr/src/sys/GEORG i386 >Description: After upgrading Python to 2.6, mail/getmail prints the following warning on each invocation: /usr/local/lib/python2.6/site-packages/getmailcore/baseclasses.py:27: DeprecationWarning: the sets module is deprecated import sets This is especially annoying when getmail is run periodically by cron. >How-To-Repeat: portupgrade -o lang/python26 lang/python25 and then invoke getmail >Fix: Temporary workaround is to redirect getmail stdout and stderr to /dev/null thus losing any other messages which might be of greater importance According to upstream changelog http://pyropus.ca/software/getmail/CHANGELOG starting from version 4.9.0 the problem is fixed, which means upgrading the port would resolve the problem. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906102026.n5AKQSjJ000667>