Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237625 - app-portage/layman-1.2.0-r1 deprecation warnings under python-2.6 (patch included)
Summary: app-portage/layman-1.2.0-r1 deprecation warnings under python-2.6 (patch incl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gunnar Wrobel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-2.6
  Show dependency tree
 
Reported: 2008-09-14 12:32 UTC by Mike Auty
Modified: 2008-11-15 10:37 UTC (History)
1 user (show)

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


Attachments
layman-1.2.0-py26-deprecations.patch (layman-1.2.0-py26-deprecations.patch,2.76 KB, patch)
2008-09-14 12:32 UTC, Mike Auty
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Auty gentoo-dev 2008-09-14 12:32:17 UTC
Hiya,

Just a quick patch for the deprecation warnings under python-2.6.  They now suggest hashlib instead of md5/sha1 and subprocess instead of popen.  Please check that the patch has the expected results around the popen area, it seemed to work identically for me when using -q, but a second opinion can't hurt...  5:)
Comment 1 Mike Auty gentoo-dev 2008-09-14 12:32:45 UTC
Created attachment 165392 [details, diff]
layman-1.2.0-py26-deprecations.patch
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-09-14 14:25:12 UTC
You should use subprocess.PIPE instead of PIPE.
Comment 3 Gunnar Wrobel (RETIRED) gentoo-dev 2008-11-15 10:37:02 UTC
Thanks for the patch! Fixed in layman-1.2.1. Available via portage.