[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2841: `tox` fails on fresh checkout
Tahoe-LAFS
trac at tahoe-lafs.org
Thu Oct 27 12:15:38 UTC 2016
#2841: `tox` fails on fresh checkout
-----------------------+---------------------------
Reporter: rvs | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: unknown | Version: n/a
Keywords: test, tox | Launchpad Bug:
-----------------------+---------------------------
I've checked out latest version and can't seem to run testsuite.
Reproduction steps:
1: clone tahoe-lafs. This is from my fork that does not any modifications
and based on 783449b4f3a460b464eb1f0e37306dfd7683cfdb
{{{
$ git clone git at github.com:vrusinov/tahoe-lafs.git
Cloning into 'tahoe-lafs'...
remote: Counting objects: 67683, done.
remote: Compressing objects: 100% (66/66), done.
remote: Total 67683 (delta 38), reused 0 (delta 0), pack-reused 67609
Receiving objects: 100% (67683/67683), 66.64 MiB | 17.67 MiB/s, done.
Resolving deltas: 100% (39464/39464), done.
Checking connectivity... done.
}}}
$ cd tahoe-lafs
2. Try to run `tox`. After reading docs I got impression that it will
create virtualenv and do everything for me.
{{{
$ tox
GLOB sdist-make: /home/vrusinov/workspace/tahoe-lafs/setup.py
py27 create: /home/vrusinov/workspace/tahoe-lafs/.tox/py27
py27 installdeps: --editable=.[test]
ERROR: invocation failed, logfile: /home/vrusinov/workspace/tahoe-
lafs/.tox/py27/log/py27-1.log
ERROR: actionid=py27
msg=getenv
cmdargs=[local('/home/vrusinov/workspace/tahoe-lafs/.tox/py27/bin/pip'),
'install', '--pre', '--editable=.[test]']
env={'PYTHONIOENCODING': 'utf_8', 'PATH': '/home/vrusinov/workspace/tahoe-
lafs/.tox/py27/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'LANGUAGE': 'en_US:',
'HOME': '/home/vrusinov/workspace/tahoe-lafs/.tox/py27/tmp/pseudo-home',
'PYTHONPATH': '/usr/local/buildtools/current/sitecustomize', '_':
'/usr/bin/tox', 'OLDPWD': '/home/vrusinov/workspace', 'PWD':
'/home/vrusinov/workspace/tahoe-lafs', }
Directory '.' is not installable. File 'setup.py' not found.
Storing debug log for failure in /home/vrusinov/workspace/tahoe-
lafs/.tox/py27/tmp/pseudo-home/.pip/pip.log
ERROR: could not install deps [--editable=.[test]]
_____________________________________________________ summary
______________________________________________________
ERROR: py27: could not install deps [--editable=.[test]]
}}}
Disclaimer: ENV modified to remove some irrelevant/private stuff
{{{
$ tox --version
1.6.0 imported from /usr/lib/python2.7/dist-packages/tox/__init__.pyc
}}}
{{{
$ python --version
Python 2.7.6
}}}
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2841>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list