Title: `make test` fails: No such file or directory: 'test-requirements.txt' · Issue #1090 · gitpython-developers/GitPython · GitHub
Open Graph Title: `make test` fails: No such file or directory: 'test-requirements.txt' · Issue #1090 · gitpython-developers/GitPython
X Title: `make test` fails: No such file or directory: 'test-requirements.txt' · Issue #1090 · gitpython-developers/GitPython
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...
Open Graph Description: From current HEAD (24f75e7): make test Output docker build --quiet -t gitpython:xenial -f Dockerfile . sha256:835f1743b4d232b86f68858e6155bea1809d284e8ef7cac8cb52b127bc135130 # NOTE!!! # NOTE!!! If...
X Description: From current HEAD (24f75e7): make test Output docker build --quiet -t gitpython:xenial -f Dockerfile . sha256:835f1743b4d232b86f68858e6155bea1809d284e8ef7cac8cb52b127bc135130 # NOTE!!! # NOTE!!! If...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/1090
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`make test` fails: No such file or directory: 'test-requirements.txt'","articleBody":"From current HEAD (https://github.com/gitpython-developers/GitPython/commit/24f75e7bae3974746f29aaecf6de011af79a675d):\r\n\r\n```\r\nmake test\r\n```\r\n\u003cdetails\u003e\u003csummary\u003eOutput\u003c/summary\u003e\r\n\r\n```\r\ndocker build --quiet -t gitpython:xenial -f Dockerfile .\r\nsha256:835f1743b4d232b86f68858e6155bea1809d284e8ef7cac8cb52b127bc135130\r\n# NOTE!!!\r\n# NOTE!!! If you are not running from master or have local changes then tests will fail\r\n# NOTE!!!\r\ndocker run --rm -v /Users/ryan/c/GitPython:/src -w /src -t gitpython:xenial tox\r\nGLOB sdist-make: /src/setup.py\r\npy34 inst-nodeps: /src/.tox/.tmp/package/1/GitPython-3.1.11.zip\r\nERROR: invocation failed (exit code 1), logfile: /src/.tox/py34/log/py34-4.log\r\n========================================================================== log start ===========================================================================\r\nDEPRECATION: 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).\r\nProcessing ./.tox/.tmp/package/1/GitPython-3.1.11.zip\r\n ERROR: Complete output from command python setup.py egg_info:\r\n ERROR: Traceback (most recent call last):\r\n File \"\u003cstring\u003e\", line 1, in \u003cmodule\u003e\r\n File \"/tmp/pip-req-build-aseawxsa/setup.py\", line 23, in \u003cmodule\u003e\r\n with open('test-requirements.txt') as reqs_file:\r\n FileNotFoundError: [Errno 2] No such file or directory: 'test-requirements.txt'\r\n ----------------------------------------\r\nERROR: Command \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-req-build-aseawxsa/\r\n\r\n=========================================================================== log end ============================================================================\r\npy35 inst-nodeps: /src/.tox/.tmp/package/1/GitPython-3.1.11.zip\r\nERROR: invocation failed (exit code 1), logfile: /src/.tox/py35/log/py35-5.log\r\n========================================================================== log start ===========================================================================\r\nDEPRECATION: 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.\r\nProcessing ./.tox/.tmp/package/1/GitPython-3.1.11.zip\r\n ERROR: Command errored out with exit status 1:\r\n 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\r\n cwd: /tmp/pip-req-build-fysfvxlc/\r\n Complete output (5 lines):\r\n Traceback (most recent call last):\r\n File \"\u003cstring\u003e\", line 1, in \u003cmodule\u003e\r\n File \"/tmp/pip-req-build-fysfvxlc/setup.py\", line 23, in \u003cmodule\u003e\r\n with open('test-requirements.txt') as reqs_file:\r\n FileNotFoundError: [Errno 2] No such file or directory: 'test-requirements.txt'\r\n ----------------------------------------\r\nERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.\r\n\r\n=========================================================================== log end ============================================================================\r\npy36 inst-nodeps: /src/.tox/.tmp/package/1/GitPython-3.1.11.zip\r\nERROR: invocation failed (exit code 1), logfile: /src/.tox/py36/log/py36-5.log\r\n========================================================================== log start ===========================================================================\r\nProcessing ./.tox/.tmp/package/1/GitPython-3.1.11.zip\r\n ERROR: Command errored out with exit status 1:\r\n 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\r\n cwd: /tmp/pip-req-build-x2dsh1bw/\r\n Complete output (5 lines):\r\n Traceback (most recent call last):\r\n File \"\u003cstring\u003e\", line 1, in \u003cmodule\u003e\r\n File \"/tmp/pip-req-build-x2dsh1bw/setup.py\", line 23, in \u003cmodule\u003e\r\n with open('test-requirements.txt') as reqs_file:\r\n FileNotFoundError: [Errno 2] No such file or directory: 'test-requirements.txt'\r\n ----------------------------------------\r\nERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.\r\n\r\n=========================================================================== log end ============================================================================\r\npy37 inst-nodeps: /src/.tox/.tmp/package/1/GitPython-3.1.11.zip\r\nERROR: invocation failed (exit code 1), logfile: /src/.tox/py37/log/py37-5.log\r\n========================================================================== log start ===========================================================================\r\nProcessing ./.tox/.tmp/package/1/GitPython-3.1.11.zip\r\n ERROR: Command errored out with exit status 1:\r\n 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\r\n cwd: /tmp/pip-req-build-ip1q3knn/\r\n Complete output (5 lines):\r\n Traceback (most recent call last):\r\n File \"\u003cstring\u003e\", line 1, in \u003cmodule\u003e\r\n File \"/tmp/pip-req-build-ip1q3knn/setup.py\", line 23, in \u003cmodule\u003e\r\n with open('test-requirements.txt') as reqs_file:\r\n FileNotFoundError: [Errno 2] No such file or directory: 'test-requirements.txt'\r\n ----------------------------------------\r\nERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.\r\n\r\n=========================================================================== log end ============================================================================\r\npy38 create: /src/.tox/py38\r\nERROR: InterpreterNotFound: python3.8\r\nflake8 inst-nodeps: /src/.tox/.tmp/package/1/GitPython-3.1.11.zip\r\nERROR: invocation failed (exit code 1), logfile: /src/.tox/flake8/log/flake8-5.log\r\n========================================================================== log start ===========================================================================\r\nProcessing ./.tox/.tmp/package/1/GitPython-3.1.11.zip\r\n ERROR: Command errored out with exit status 1:\r\n 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\r\n cwd: /tmp/pip-req-build-pozqr_7o/\r\n Complete output (5 lines):\r\n Traceback (most recent call last):\r\n File \"\u003cstring\u003e\", line 1, in \u003cmodule\u003e\r\n File \"/tmp/pip-req-build-pozqr_7o/setup.py\", line 23, in \u003cmodule\u003e\r\n with open('test-requirements.txt') as reqs_file:\r\n FileNotFoundError: [Errno 2] No such file or directory: 'test-requirements.txt'\r\n ----------------------------------------\r\nERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.\r\n\r\n=========================================================================== log end ============================================================================\r\n___________________________________________________________________________ summary ____________________________________________________________________________\r\nERROR: 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)\r\nERROR: 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)\r\nERROR: 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)\r\nERROR: 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)\r\nERROR: py38: InterpreterNotFound: python3.8\r\nERROR: 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)\r\nmake: *** [test] Error 1\r\n```\r\n\u003c/details\u003e\r\n\r\nIt 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.","author":{"url":"https://github.com/ryan-williams","@type":"Person","name":"ryan-williams"},"datePublished":"2020-11-26T15:43:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/1090/GitPython/issues/1090"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:19d5237c-cf27-91ba-58bd-c50309650e67 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A3F2:1D778D:65154A:8EFEE2:696A5415 |
| html-safe-nonce | f06a094f44a0f8f576a863a5bedabd62935ecf068103af9ebd1a2ee3792bfac3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0YyOjFENzc4RDo2NTE1NEE6OEVGRUUyOjY5NkE1NDE1IiwidmlzaXRvcl9pZCI6IjU5MzMxMDA5MzAwNzA4OTM1ODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3b8be3d8ae58dc1040a41143438653f029c8d5c5d6b892623b4b74b64028664e |
| hovercard-subject-tag | issue:751686302 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gitpython-developers/GitPython/1090/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0174618b65f0236f810e10798706cc474031f7bc7e81f6ae8a68efad9159e7e7/gitpython-developers/GitPython/issues/1090 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0174618b65f0236f810e10798706cc474031f7bc7e81f6ae8a68efad9159e7e7/gitpython-developers/GitPython/issues/1090 |
| og:image:alt | From current HEAD (24f75e7): make test Output docker build --quiet -t gitpython:xenial -f Dockerfile . sha256:835f1743b4d232b86f68858e6155bea1809d284e8ef7cac8cb52b127bc135130 # NOTE!!! # NOTE!!! If... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ryan-williams |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width