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

Bug 237624

Summary: app-portage/etc-proposals-1.4.2 deprecation warnings in python 2.6 (patch included)
Product: Gentoo Linux Reporter: Mike Auty (RETIRED) <ikelos>
Component: Current packagesAssignee: Tobias Scherbaum (RETIRED) <dertobi123>
Status: RESOLVED FIXED    
Severity: trivial CC: bjoern.michaelsen
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 230205    
Attachments: etc-proposals-1.4.2-py26-deprecation.patch

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! :)