Summary: | dev-python/sqlalchemy-0.7.1 fails on TypeError during install with Python 3.1.3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike Hammill <michael> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | sqlalchemy build log |
Description
Mike Hammill
2011-07-29 09:59:11 UTC
Created attachment 281425 [details]
sqlalchemy build log
According to the log, the emerge bombs on File "/usr/lib64/python3.1/site-packages/setuptools/command/easy_install.py", line 1605, in get_script_header match = first_line_re.match(first) TypeError: can't use a bytes pattern on a string-like object There is a full explanation of why this happens at http://diveintopython3.org/case-study-porting-chardet-to-python-3.html but given that it's in setuptools, I figured it was fixed in a newer version than the stable version (0.6.15), so I upgraded to unstable 0.6.19 and this fixed the problem. In short, I guess for now the ebuild line: RDEPEND="dev-python/setuptools should include version info for something higher than 0.6.15. /Mike PS Short overview of the versions involved in this bug: dev-python/sqlalchemy-0.7.1 (unstable) dev-lang/python-2.7.1-r1 (stable) dev-lang/python-3.1.4-r2 (unstable) dev-python/setuptool-0.6.15 (stable--fails, so now 0.6.19--works!) You were mixing new versions of dev-lang/python with old versions of dev-python/setuptools. Older versions of dev-python/setuptools now block newer versions of dev-lang/python, so this bug can be closed. |