tox fails on fresh checkout #2841

Closed
opened 2016-10-27 12:15:38 +00:00 by rvs · 3 comments
Owner

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@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

  1. 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
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@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 ```
tahoe-lafs added the
unknown
normal
defect
n/a
labels 2016-10-27 12:15:38 +00:00
tahoe-lafs added this to the undecided milestone 2016-10-27 12:15:38 +00:00
Author
Owner

Looks like it tox needs to be >= 1.7

Looks like it tox needs to be >= 1.7
Author
Owner
Pull request: <https://github.com/tahoe-lafs/tahoe-lafs/pull/377>
tahoe-lafs modified the milestone from undecided to soon 2016-11-23 13:02:59 +00:00
warner commented 2016-11-29 22:02:06 +00:00
Author
Owner

Landed in dcec018cdf. Thanks!

Landed in dcec018cdf. Thanks!
tahoe-lafs added
code
fixed
1.11.0
and removed
unknown
n/a
labels 2016-11-29 22:02:06 +00:00
tahoe-lafs modified the milestone from soon to 1.12.0 2016-11-29 22:02:06 +00:00
warner closed this issue 2016-11-29 22:02:06 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: tahoe-lafs/trac-2024-07-25#2841
No description provided.