Skip to content

Travis pypy3 failure #318

@lrq3000

Description

@lrq3000

For once, it's not Travis fault, but setuptools: the latest setuptools version was pushed to Travis recently, and since then pypy3 is failing because setuptools does not support Python 3.0 - 3.2 anymore (and pypy3 stable is based on 3.2...):

/home/travis/virtualenv/python3.5.2/lib/python3.5/site-packages/virtualenv_support/pip-9.0.1-py2.py3-none-any.whl/pip/_vendor/pkg_resources/__init__.py:83: UserWarning: Support for Python 3.0-3.2 has been dropped. Future versions will fail here.
setuptools requires Python '>=2.6,!=3.0.*,!=3.1.*,!=3.2.*' but the running Python is 3.2.5
----------------------------------------
...Installing setuptools, pip, wheel...done.
Traceback (most recent call last):
  File "/home/travis/virtualenv/python3.5.2/lib/python3.5/site-packages/virtualenv.py", line 2328, in <module>
    main()
  File "/home/travis/virtualenv/python3.5.2/lib/python3.5/site-packages/virtualenv.py", line 713, in main
    symlink=options.symlink)
  File "/home/travis/virtualenv/python3.5.2/lib/python3.5/site-packages/virtualenv.py", line 945, in create_environment
    download=download,
  File "/home/travis/virtualenv/python3.5.2/lib/python3.5/site-packages/virtualenv.py", line 901, in install_wheel
    call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
  File "/home/travis/virtualenv/python3.5.2/lib/python3.5/site-packages/virtualenv.py", line 797, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /home/travis/build/t....tox/pypy3/bin/pypy3 - setuptools pip wheel failed with error code 1
Running virtualenv with interpreter /opt/python/pypy3-2.4.0/bin/pypy3

There is a pypy3 alpha based on Python 3.3, but it's still alpha so it does not support all features of Python 3.3, has performance regression issues and does not support Windows yet.

So we have two solutions:

  • either we use pypy3.3-v5.2-alpha1 but it will be harder to reproduce and fix errors if they happen on Travis, and also the builds may take a lot more time to be done.
  • either we somehow force Travis to use an older release of setuptools compatible with Python 3.2.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions