Summary: | dev-python/pylint-0.26.0 merges with python 2.6 but not 2.7 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Guillaume BINET <gbin> |
Component: | [OLD] Library | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | vapier |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Guillaume BINET
2012-11-07 22:28:35 UTC
I am confused too, it builds fine for me. As a formality, could you attach the full build log, and `emerge '-pv' pylint setuptools python`? I'm not quite so confused. 'namespace_packages' has a familiar ring. Please paste / post output of $ layman -l ⚫ sal ~ # layman -l * gbin-overlay [Git ] (git@github.com:gbin/gbin-overlay.git ) * ikelos [Git ] (git://git.overlays.gentoo.org/dev/ikelos.git ) * kde [Git ] (git://git.overlays.gentoo.org/proj/kde.git ) * mv [Git ] (git://git.overlays.gentoo.org/user/mv.git ) * pentoo [Subversion] (https://pentoo.googlecode.com/svn/portage/trunk/ ) * plab [Git ] (git://git.overlays.gentoo.org/user/plab.git ) * sabayon [Git ] (git://git.sabayon.org/projects/overlays/for-gentoo.git ) * sabayon-distro [Git ] (git://git.sabayon.org/projects/overlays/sabayon.git ) * sunrise [Git ] (git://git.overlays.gentoo.org/proj/sunrise-reviewed.git ) * zugaina [Rsync ] (rsync://gentoo.zugaina.org/zugaina-portage ) I found a "solution" to this : for any package with this error (AttributeError: Distribution instance has no attribute 'namespace_packages') 1. unmerge setuptools 2. modify the package in my private overlay and remove the setuptools dependency 3. emerge the package successfully 4. reemerge setuptools which is a real dependency for other packages I dichotomized this problem by doing a "python setup.py" build directly from the source package in a virtualenv that worked correctly and got a usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'namespace_packages' warnings.warn(msg) for the same source tree under my gentoo python environment. I hope it will help you finding what is really going on. python2.6 is no longer supported and pylint in the tree def works with python2.7 |