Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 441788 - dev-python/setuptools does not respect PYTHON_TARGETS, leading to build failures
Summary: dev-python/setuptools does not respect PYTHON_TARGETS, leading to build failures
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-04 22:38 UTC by Ben Longbons
Modified: 2013-11-24 20:43 UTC (History)
0 users

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


Attachments
build.log from dev-python/argparse (build.log,3.20 KB, text/plain)
2012-11-04 22:38 UTC, Ben Longbons
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Longbons 2012-11-04 22:38:33 UTC
Created attachment 328364 [details]
build.log from dev-python/argparse

In order to test my programs across different python versions, I recented added this to my /etc/portage/make.conf:
PYTHON_TARGETS="python2_6 python2_7 python3_2 pypy1_8 pypy1_9"
(grumble that I'll have to change it again when 3.3 get stabilized - I don't want system packages to fail because of possible 3.3 compatibility issues)

Then I did a full update of world and ran python-updater. (Is python-updater even meaningful for packages that support PYTHON_TARGETS, since that gets caught by emerge --newuse?)

However, dev-python/setuptools only builds for the currently eselect'ed versions - python2.7 and python3.2.

An example of a package that fails to build is dev-python/argparse, build.log attached.
Although there *has* been some churn in argparse lately - there's now virtual/argparse, which correctly does nothing for versions of python where it's included in the standard library (since 2.7) - the bug is obviously in setuptools.

(During the same set of updates there was a problem with dev-python/pythonmagick, but I don't know if it's related so I'll wait for this bug to be fixed.)

$ emerge -pv dev-python/setuptools dev-python/argparse
[ebuild   R    ] dev-python/setuptools-0.6.30  0 kB
[ebuild     U  ] dev-python/argparse-1.2.1-r1 [1.2.1] PYTHON_TARGETS="pypy1_8%* pypy1_9%* python2_6%* python2_7%* python3_2%* -jython2_5% -python2_5% -python3_1% (-python3_3)" 0 kB
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2012-11-04 22:44:49 UTC
Can you please post the results of `emerge --info` in a comment?
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-11-05 07:56:52 UTC
I guess it's time to migrate setuptools as well.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-11-05 11:45:12 UTC
Ok, -r1 should fix it.