ports/135452: mail/getmail prints a deprecation warning after python upgrade

Michal Petrucha johnny64 at swissjabber.org
Wed Jun 10 20:50:05 UTC 2009


>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 at 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:



More information about the freebsd-ports-bugs mailing list