-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Description
Firstly I am not sure if this is problem of :
- pytest & plugins design
- pip-8.1.2
- how I use setuptools
But it s quite tricky to figure out what is going wrong, so I though I d post it here first.
Here is the issue :
Installed /home/travis/build/asmodehn/pyros/build/install/lib/python2.7/dist-packages/importlib-1.0.3-py2.7.egg
Searching for pytest-timeout
Reading https://pypi.python.org/simple/pytest-timeout/
Best match: pytest-timeout 1.0.0
Downloading https://pypi.python.org/packages/cf/92/ab29b9baa54d47dfd50e43be35577de9af4e7ebf27d29f546ddeb6c3b6f5/pytest-timeout-1.0.0.tar.gz#md5=f9f162bd079689980b5614673ddfdae4
Processing pytest-timeout-1.0.0.tar.gz
Writing /tmp/easy_install-kn4E4k/pytest-timeout-1.0.0/setup.cfg
Running pytest-timeout-1.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-kn4E4k/pytest-timeout-1.0.0/egg-dist-tmp-wIPOxa
zip_safe flag not set; analyzing archive contents...
Moving pytest_timeout-1.0.0-py2.7.egg to /home/travis/build/asmodehn/pyros/build/install/lib/python2.7/dist-packages
Adding pytest-timeout 1.0.0 to easy-install.pth file
Installed /home/travis/build/asmodehn/pyros/build/install/lib/python2.7/dist-packages/pytest_timeout-1.0.0-py2.7.egg
Searching for pytest
Best match: pytest timeout-1.0.0
Downloading https://pypi.python.org/packages/cf/92/ab29b9baa54d47dfd50e43be35577de9af4e7ebf27d29f546ddeb6c3b6f5/pytest-timeout-1.0.0.tar.gz#md5=f9f162bd079689980b5614673ddfdae4
Processing pytest-timeout-1.0.0.tar.gz
Writing /tmp/easy_install-D8H9iA/pytest-timeout-1.0.0/setup.cfg
Running pytest-timeout-1.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-D8H9iA/pytest-timeout-1.0.0/egg-dist-tmp-BPZAJW
zip_safe flag not set; analyzing archive contents...
Removing /home/travis/build/asmodehn/pyros/build/install/lib/python2.7/dist-packages/pytest_timeout-1.0.0-py2.7.egg
Moving pytest_timeout-1.0.0-py2.7.egg to /home/travis/build/asmodehn/pyros/build/install/lib/python2.7/dist-packages
pytest-timeout 1.0.0 is already the active version in easy-install.pth
Installed /home/travis/build/asmodehn/pyros/build/install/lib/python2.7/dist-packages/pytest_timeout-1.0.0-py2.7.egg
error: The 'pytest' distribution was not found and is required by pyzmp
The full log is available at : https://travis-ci.org/asmodehn/pyros/jobs/139666793
This is probably reproducible by running :
python setup.py build --build-base ./build install --install-layout=deb --prefix=./build/install --install-scripts=./build/install/bin
with this package pyros-dev/pyros@2baf3fd, that uses this package https://github.com/asmodehn/pyzmp/releases/tag/0.0.10 that itself has pytest and pytest-timeout as a dependency.
Workaround
It seems I need to always list pytest after all pytest plugin packages in the dependency list. This triggers the pytest installation first...
Metadata
Metadata
Assignees
Labels
No labels