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