[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #14091 [Stem]: Add tox support for stem
#14091: Add tox support for stem
-----------------------------+----------------------------------
Reporter: Foxboron | Owner: atagar
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Stem | Version:
Resolution: | Keywords: tox, python, testing
Actual Points: | Parent ID:
Points: |
-----------------------------+----------------------------------
Comment (by atagar):
Hi Foxboron. I'm not really familiar with tox so I gave this a quick
whirl. It didn't like me...
{{{
ERROR: py26: InterpreterNotFound: python2.6
ERROR: py27: could not install deps [-rrequirements.txt]; v =
InvocationError('/home/atagar/Desktop/stem/.tox/py27/bin/pip install --pre
-rrequirements.txt (see
/home/atagar/Desktop/stem/.tox/py27/log/py27-1.log)', 1)
ERROR: py31: InterpreterNotFound: python3.1
ERROR: py32: could not install deps [-rrequirements.txt]; v =
InvocationError('/home/atagar/Desktop/stem/.tox/py32/bin/pip install --pre
-rrequirements.txt (see
/home/atagar/Desktop/stem/.tox/py32/log/py32-1.log)', 1)
ERROR: py33: InterpreterNotFound: python3.3
ERROR: py34: InterpreterNotFound: python3.4
}}}
For python 2.7 and 3.2 the cited logs ended with...
{{{
creating build/temp.linux-i686-2.7
creating build/temp.linux-i686-2.7/src
gcc -pthread -fno-strict-aliasing -fwrapv -Wall -Wstrict-prototypes
-fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c
src/MD2.c -o build/temp.linux-i686-2.7/src/MD2.o
src/MD2.c:31:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/home/atagar/Desktop/stem/.tox/py27/bin/python2.7 -c "import
setuptools, tokenize;__file__='/tmp/pip-build-
yAroj3/pycrypto/setup.py';exec(compile(getattr(tokenize, 'open',
open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install
--record /tmp/pip-LN8AB6-record/install-record.txt --single-version-
externally-managed --compile --install-headers
/home/atagar/Desktop/stem/.tox/py27/include/site/python2.7" failed with
error code 1 in /tmp/pip-build-yAroj3/pycrypto
}}}
Stepping back though, what this provides us is that if someone has all
python interpreters installed then it installs dependencies to a chroot
and runs the tests - right?
I don't maintain our Jenkins instance, Peter does (weasel on irc) and he's
only ok with installing things from the debian repositories. As such
python 2.6 is out (it no longer has a package), and I'm not sure if
tox/virtualenv are packaged.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/14091#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs