Closed
Description
From current HEAD (24f75e7):
make test
Output
docker build --quiet -t gitpython:xenial -f Dockerfile .
sha256:835f1743b4d232b86f68858e6155bea1809d284e8ef7cac8cb52b127bc135130
# NOTE!!!
# NOTE!!! If you are not running from master or have local changes then tests will fail
# NOTE!!!
docker run --rm -v /Users/ryan/c/GitPython:/src -w /src -t gitpython:xenial tox
GLOB sdist-make: /src/setup.py
py34 inst-nodeps: /src/.tox/.tmp/package/1/GitPython-3.1.11.zip
ERROR: invocation failed (exit code 1), logfile: /src/.tox/py34/log/py34-4.log
========================================================================== log start ===========================================================================
DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 won't be maintained after March 2019 (cf PEP 429).
Processing ./.tox/.tmp/package/1/GitPython-3.1.11.zip
ERROR: Complete output from command python setup.py egg_info:
ERROR: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-req-build-aseawxsa/setup.py", line 23, in <module>
with open('test-requirements.txt') as reqs_file:
FileNotFoundError: [Errno 2] No such file or directory: 'test-requirements.txt'
----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-aseawxsa/
=========================================================================== log end ============================================================================
py35 inst-nodeps: /src/.tox/.tmp/package/1/GitPython-3.1.11.zip
ERROR: invocation failed (exit code 1), logfile: /src/.tox/py35/log/py35-5.log
========================================================================== log start ===========================================================================
DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality.
Processing ./.tox/.tmp/package/1/GitPython-3.1.11.zip
ERROR: Command errored out with exit status 1:
command: /src/.tox/py35/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-fysfvxlc/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-fysfvxlc/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-1tjj1tec
cwd: /tmp/pip-req-build-fysfvxlc/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-req-build-fysfvxlc/setup.py", line 23, in <module>
with open('test-requirements.txt') as reqs_file:
FileNotFoundError: [Errno 2] No such file or directory: 'test-requirements.txt'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
=========================================================================== log end ============================================================================
py36 inst-nodeps: /src/.tox/.tmp/package/1/GitPython-3.1.11.zip
ERROR: invocation failed (exit code 1), logfile: /src/.tox/py36/log/py36-5.log
========================================================================== log start ===========================================================================
Processing ./.tox/.tmp/package/1/GitPython-3.1.11.zip
ERROR: Command errored out with exit status 1:
command: /src/.tox/py36/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-x2dsh1bw/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-x2dsh1bw/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-euhv28gy
cwd: /tmp/pip-req-build-x2dsh1bw/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-req-build-x2dsh1bw/setup.py", line 23, in <module>
with open('test-requirements.txt') as reqs_file:
FileNotFoundError: [Errno 2] No such file or directory: 'test-requirements.txt'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
=========================================================================== log end ============================================================================
py37 inst-nodeps: /src/.tox/.tmp/package/1/GitPython-3.1.11.zip
ERROR: invocation failed (exit code 1), logfile: /src/.tox/py37/log/py37-5.log
========================================================================== log start ===========================================================================
Processing ./.tox/.tmp/package/1/GitPython-3.1.11.zip
ERROR: Command errored out with exit status 1:
command: /src/.tox/py37/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-ip1q3knn/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-ip1q3knn/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-v6snvpqw
cwd: /tmp/pip-req-build-ip1q3knn/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-req-build-ip1q3knn/setup.py", line 23, in <module>
with open('test-requirements.txt') as reqs_file:
FileNotFoundError: [Errno 2] No such file or directory: 'test-requirements.txt'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
=========================================================================== log end ============================================================================
py38 create: /src/.tox/py38
ERROR: InterpreterNotFound: python3.8
flake8 inst-nodeps: /src/.tox/.tmp/package/1/GitPython-3.1.11.zip
ERROR: invocation failed (exit code 1), logfile: /src/.tox/flake8/log/flake8-5.log
========================================================================== log start ===========================================================================
Processing ./.tox/.tmp/package/1/GitPython-3.1.11.zip
ERROR: Command errored out with exit status 1:
command: /src/.tox/flake8/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-pozqr_7o/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-pozqr_7o/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-i2yvd5ub
cwd: /tmp/pip-req-build-pozqr_7o/
Complete output (5 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-req-build-pozqr_7o/setup.py", line 23, in <module>
with open('test-requirements.txt') as reqs_file:
FileNotFoundError: [Errno 2] No such file or directory: 'test-requirements.txt'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
=========================================================================== log end ============================================================================
___________________________________________________________________________ summary ____________________________________________________________________________
ERROR: py34: InvocationError for command /src/.tox/py34/bin/python -m pip install --no-deps -U .tox/.tmp/package/1/GitPython-3.1.11.zip (exited with code 1)
ERROR: py35: InvocationError for command /src/.tox/py35/bin/python -m pip install --no-deps -U .tox/.tmp/package/1/GitPython-3.1.11.zip (exited with code 1)
ERROR: py36: InvocationError for command /src/.tox/py36/bin/python -m pip install --no-deps -U .tox/.tmp/package/1/GitPython-3.1.11.zip (exited with code 1)
ERROR: py37: InvocationError for command /src/.tox/py37/bin/python -m pip install --no-deps -U .tox/.tmp/package/1/GitPython-3.1.11.zip (exited with code 1)
ERROR: py38: InterpreterNotFound: python3.8
ERROR: flake8: InvocationError for command /src/.tox/flake8/bin/python -m pip install --no-deps -U .tox/.tmp/package/1/GitPython-3.1.11.zip (exited with code 1)
make: *** [test] Error 1
It seems like the docker build
/ docker run
are executing as I'd expect, and test-requirements.txt
exists; not sure where the disconnect is that renders tox unable to see it.