Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 609292 - dev-python/setuptools-30.4.0[python_targets_pypy3] fails to build - RuntimeError: Python 3.3 or later is required
Summary: dev-python/setuptools-30.4.0[python_targets_pypy3] fails to build - RuntimeEr...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-13 19:13 UTC by Alessandro Barbieri
Modified: 2017-02-17 11:21 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 Alessandro Barbieri 2017-02-13 19:13:14 UTC
Trying to install dev-python/setuptools-30.4.0 with flag pypy3 fails because I have:

 pypy3
Python 3.2.5 (b2091e973da69152b3f928bfaabd5d2347e6df46, Feb 12 2017, 23:43:48)
[PyPy 2.4.0 with GCC 4.9.4] on linux2

and it wants python 3.3.

There is a way to put in the ebuild a check of the pypy3 version?


copying setuptools/command/launcher manifest.xml -> /var/tmp/portage/dev-python/setuptools-30.4.0/work/setuptools-30.4.0-pypy/build/lib/setuptools/command
warning: build_py: byte-compiling is disabled, skipping.

 * pypy3: running distutils-r1_run_phase distutils-r1_python_compile
cp: './build/setuptools.egg-info' and '/var/tmp/portage/dev-python/setuptools-30.4.0/work/setuptools-30.4.0-pypy3/build/setuptools.egg-info' are the same file
/usr/bin/pypy3 setup.py build
Traceback (most recent call last):
  File "setup.py", line 11, in <module>
    import setuptools
  File "/var/tmp/portage/dev-python/setuptools-30.4.0/work/setuptools-30.4.0-pypy3/setuptools/__init__.py", line 10, in <module>
    from setuptools.extern.six.moves import filter, filterfalse, map
  File "/var/tmp/portage/dev-python/setuptools-30.4.0/work/setuptools-30.4.0-pypy3/setuptools/extern/__init__.py", line 1, in <module>
    from pkg_resources.extern import VendorImporter
  File "/var/tmp/portage/dev-python/setuptools-30.4.0/work/setuptools-30.4.0-pypy3/pkg_resources/__init__.py", line 78, in <module>
    raise RuntimeError("Python 3.3 or later is required")
RuntimeError: Python 3.3 or later is required
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-02-17 11:21:32 UTC
That PyPy3 version is ancient. I'm going to clean up the old versions and force a newer one in the eclass.