Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Enabling isolated_build breaks package installation #119

Closed
psafont opened this issue Nov 2, 2018 · 3 comments
Closed

Enabling isolated_build breaks package installation #119

psafont opened this issue Nov 2, 2018 · 3 comments

Comments

@psafont
Copy link

psafont commented Nov 2, 2018

$ tox
.package create: /home/travis/build/common-workflow-language/cwltool/.tox/.package
.package installdeps: setuptools >= 40.0.4, wheel >= 0.29.0
py27-lint create: /home/travis/build/common-workflow-language/cwltool/.tox/py27-lint
py27-lint installdeps: flake8
py27-lint inst: /home/travis/build/common-workflow-language/cwltool/.tox/.tmp/package/1/cwltool-1.0.20181102095220.tar.gz
ERROR: invocation failed (exit code 1), logfile: /home/travis/build/common-workflow-language/cwltool/.tox/py27-lint/log/py27-lint-2.log
ERROR: actionid: py27-lint
msg: installpkg
cmdargs: '/home/travis/build/common-workflow-language/cwltool/.tox/py27-lint/bin/python -m pip install --exists-action w /home/travis/build/common-workflow-language/cwltool/.tox/.tmp/package/1/cwltool-1.0.20181102095220.tar.gz'
Processing ./.tox/.tmp/package/1/cwltool-1.0.20181102095220.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    IOError: [Errno 2] No such file or directory: '/tmp/pip-req-build-aav9no/setup.py'
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-aav9no/
py27-lint installed: configparser==3.5.0,cwltool==1.0.20181102095220,enum34==1.1.6,flake8==3.6.0,mccabe==0.6.1,pycodestyle==2.4.0,pyflakes==2.0.0

Example: https://travis-ci.org/common-workflow-language/cwltool/jobs/449757420

Disabling isolated_build works fine: https://travis-ci.org/common-workflow-language/cwltool/jobs/449845321

I'm unsure as to why is it trying to access stup.py in that directory

@gaborbernat
Copy link
Member

you've ran into pypa/setuptools#1506

@ryanhiebert
Copy link
Collaborator

Thanks, @gaborbernat . I wasn't thinking of any reason why this should have an effect on tox-travis.

@psafont
Copy link
Author

psafont commented Nov 2, 2018

Thanks for the quick reply!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants