Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246934 - dev-java/java-config-2.1.6 uses sets module which is deprecated in python-2.6 (patch included)
Summary: dev-java/java-config-2.1.6 uses sets module which is deprecated in python-2.6...
Status: RESOLVED DUPLICATE of bug 240710
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Java team
URL: http://www.python.org/dev/peps/pep-0004/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-15 16:08 UTC by Mike Auty (RETIRED)
Modified: 2009-07-10 19:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
java-config-2.1.6-python2.6-deprecation.patch (java-config-2.1.6-python2.6-deprecation.patch,4.11 KB, patch)
2008-11-15 16:08 UTC, Mike Auty (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ***