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

Bug 246934

Summary: dev-java/java-config-2.1.6 uses sets module which is deprecated in python-2.6 (patch included)
Product: Gentoo Linux Reporter: Mike Auty (RETIRED) <ikelos>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.python.org/dev/peps/pep-0004/
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: java-config-2.1.6-python2.6-deprecation.patch

Description Mike Auty (RETIRED) gentoo-dev 2008-11-15 16:08:16 UTC
Hiya guys,

Just a quick note about the deprecation warnings from java-config-2 when run under python-2.6.  These warnings are seen whenever the program is run (which is quite often for java-based ebuilds).

I'll attach a patch to follow which basically changes all use of Set to the builtin set.  Note this requires >=python-2.4, so the ebuild dependencies would need changing too.
Comment 1 Mike Auty (RETIRED) gentoo-dev 2008-11-15 16:08:48 UTC
Created attachment 171876 [details, diff]
java-config-2.1.6-python2.6-deprecation.patch
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2008-11-15 19:43:32 UTC

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