Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237624 - app-portage/etc-proposals-1.4.2 deprecation warnings in python 2.6 (patch included)
Summary: app-portage/etc-proposals-1.4.2 deprecation warnings in python 2.6 (patch inc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Tobias Scherbaum (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-2.6
  Show dependency tree
 
Reported: 2008-09-14 12:29 UTC by Mike Auty (RETIRED)
Modified: 2008-11-30 13:06 UTC (History)
1 user (show)

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


Attachments
etc-proposals-1.4.2-py26-deprecation.patch (etc-proposals-1.4.2-py26-deprecation.patch,1.30 KB, patch)
2008-09-14 12:29 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-09-14 12:29:22 UTC
Hiya,

Just a quick patch for the md5 deprecation warnings under python-2.6b3.  The recommended module is now hashlib, and the attached patch just uses that (also, it appears the md5 module wasn't used in one of the files it was imported in).
Comment 1 Mike Auty (RETIRED) gentoo-dev 2008-09-14 12:29:59 UTC
Created attachment 165390 [details, diff]
etc-proposals-1.4.2-py26-deprecation.patch
Comment 2 Björn Michaelsen 2008-10-01 21:57:10 UTC
Is this all that is needed to get rid of warnings in 2.6? If so, I could also do a fast minor version bump for this upstream.
Comment 3 Mike Auty (RETIRED) gentoo-dev 2008-10-01 22:18:12 UTC
Yep, those are the only warnings I've seen.  I supposed there could be some code that I haven't hit, but certainly this seems to be the most noticeable warning.  There's also no rush, since 2.6 isn't even released yet, it's more just early warning...  5:)
Comment 4 Tobias Scherbaum (RETIRED) gentoo-dev 2008-11-28 21:00:45 UTC
(In reply to comment #2)
> Is this all that is needed to get rid of warnings in 2.6? If so, I could also
> do a fast minor version bump for this upstream.
> 

Python-2.6 already has been released (nearly two months ago) - which route would like to go - new minor version bump upstream or include the proposed patch for now?
Comment 5 Björn Michaelsen 2008-11-30 12:22:26 UTC
Sorry, I will bump the package.
Comment 6 Björn Michaelsen 2008-11-30 12:44:36 UTC
Patch applied, version bumped upstream (nothing else in the bump).
Comment 7 Björn Michaelsen 2008-11-30 12:53:47 UTC
New upstream version is 1.4.3. Sorry, I forgot to mention that. A simple rename of the ebuild should be enough ...
Comment 8 Tobias Scherbaum (RETIRED) gentoo-dev 2008-11-30 13:06:25 UTC
InCVS. Thanks Björn! :)