Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255342 - app-portage/layman does not depend >=dev-lang/python-2.5
Summary: app-portage/layman does not depend >=dev-lang/python-2.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gunnar Wrobel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-18 04:11 UTC by Michael Weinrich
Modified: 2009-04-05 15:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Weinrich 2009-01-18 04:11:37 UTC
Layman requires hashlib which was included in Python 2.5 and later so anybody who installs layman on a system with python 2.4 (In my case a PS3) or earlier will encounter a fatal error when attempting to use layman.

Reproducible: Always

Steps to Reproduce:
1. Install a new system with Python-2.4 or downgrade to it.
2. Install layman 
3. Attempt to run layman

Actual Results:  
Python will return an import error and stack trace indicating that the module hashlib does not exist

Expected Results:  
Layman will perform whatever action is indicated on the command line

Probably not too critical since I imagine most people already have python 2.5 but in my case it wasn't present at the time.  Applying to all architectures because I assume this isn't PS3 specific.
Comment 1 Wormo (RETIRED) gentoo-dev 2009-01-19 01:55:31 UTC
Thanks for reporting this dependency -- as you say, other people with older installs could run into the same problem. Assigning to maintainer.
Comment 2 Francesco Carnimeo 2009-02-01 19:17:04 UTC
I confirm this problem.

I'm installing a 2008.0 970-ul64 (ppc64) stage3, and got this problem.