Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

make test fails: No such file or directory: 'test-requirements.txt' #1090

Closed
@ryan-williams

Description

@ryan-williams

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 toxGLOB sdist-make: /src/setup.pypy34 inst-nodeps: /src/.tox/.tmp/package/1/GitPython-3.1.11.zipERROR: 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.zipERROR: 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.zipERROR: 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.zipERROR: 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/py38ERROR: InterpreterNotFound: python3.8flake8 inst-nodeps: /src/.tox/.tmp/package/1/GitPython-3.1.11.zipERROR: 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.8ERROR:   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 thedocker build /docker run are executing as I'd expect, andtest-requirements.txt exists; not sure where the disconnect is that renders tox unable to see it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp