homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Travis CI mac test broken: ./python: is a directory
Type: Stage: resolved
Components: macOS Versions: Python 3.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: han.lee, ned.deily, r.david.murray, ronaldoussoren, vstinner
Priority: normal Keywords:

Created on 2017年08月18日 06:38 by han.lee, last changed 2022年04月11日 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 3134 merged vstinner, 2017年08月18日 14:43
PR 3174 merged vstinner, 2017年08月21日 21:55
PR 3175 merged vstinner, 2017年08月21日 22:56
Messages (9)
msg300474 - (view) Author: han.lee (han.lee) * Date: 2017年08月18日 06:38
CPython: master branch
In mac and window create python.exe not python https://github.com/python/cpython/blob/master/Makefile.pre.in#L154
But Travis CI and docs use ./python command for test
https://docs.python.org/devguide/
https://travis-ci.org/python/cpython/jobs/265843638
/Users/travis/.travis/job_stages: line 73: ./python: is a directory
msg300500 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2017年08月18日 14:37
The docs you point to are correct (they mention python.exe). The Travis log also shows it using python.exe. So the error message about the directory must be about some other operation than just running the python command.
msg300501 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017年08月18日 14:44
The error comes from "./python -m test.pythoninfo": see bpo-30871.
Attached PR should fix this bug.
msg300502 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2017年08月18日 14:47
Ah, this is probably the issue: https://github.com/python/cpython/pull/3134 
msg300503 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2017年08月18日 14:47
Heh. I saw the PR but didn't realize it was attached to this issue :)
msg300506 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017年08月18日 15:30
New changeset 92b1f90143286385c0ff5be98d3721b90580a912 by Victor Stinner in branch 'master':
bpo-31231: Fix pythoninfo in Travis config (#3134)
https://github.com/python/cpython/commit/92b1f90143286385c0ff5be98d3721b90580a912
msg300508 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017年08月18日 15:32
Thanks Han Lee for the bug report, the issue should now be fixed.
msg300656 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017年08月21日 22:17
New changeset 29d007bb670b486788f73c2d742b0ad0b679ff13 by Victor Stinner in branch '3.6':
[3.6] bpo-30871: Add test.pythoninfo (#3174)
https://github.com/python/cpython/commit/29d007bb670b486788f73c2d742b0ad0b679ff13
msg300663 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017年08月22日 01:40
New changeset cce1cb9180dd9143c5b2ce094a52c555b42c7aa8 by Victor Stinner in branch '2.7':
bpo-30871: Add test.pythoninfo (#3174) (#3175)
https://github.com/python/cpython/commit/cce1cb9180dd9143c5b2ce094a52c555b42c7aa8
History
Date User Action Args
2022年04月11日 14:58:50adminsetgithub: 75414
2017年08月22日 01:40:30vstinnersetmessages: + msg300663
2017年08月21日 22:56:05vstinnersetpull_requests: + pull_request3213
2017年08月21日 22:17:17vstinnersetmessages: + msg300656
2017年08月21日 21:55:15vstinnersetpull_requests: + pull_request3211
2017年08月18日 15:32:40vstinnersetstatus: open -> closed
stage: resolved
resolution: fixed
versions: + Python 3.7
2017年08月18日 15:32:23vstinnersetmessages: + msg300508
2017年08月18日 15:30:55vstinnersetmessages: + msg300506
2017年08月18日 14:47:52r.david.murraysetmessages: + msg300503
2017年08月18日 14:47:04r.david.murraysetmessages: + msg300502
2017年08月18日 14:44:04vstinnersetnosy: + vstinner
messages: + msg300501
2017年08月18日 14:43:15vstinnersetpull_requests: + pull_request3168
2017年08月18日 14:37:20r.david.murraysetnosy: + r.david.murray, ronaldoussoren, ned.deily
messages: + msg300500
components: + macOS
2017年08月18日 06:39:30han.leesettitle: Travis CI mac test broken: -> Travis CI mac test broken: ./python: is a directory
2017年08月18日 06:38:47han.leecreate

AltStyle によって変換されたページ (->オリジナル) /