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.

Author brandtbucher
Recipients brandtbucher
Date 2020-12-05.06:30:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1607149839.2.0.378125476647.issue42574@roundup.psfhosted.org>
In-reply-to
Content
Travis seems to be using the wrong Python executable for (at least) the "make -j4 regen-all" step on the 3.8 branch. I have a hunch it's using the system python3 executable (3.5?). It causes the following failure when building:

...
python3 ./Tools/scripts/update_file.py ./Include/graminit.h ./Include/graminit.h.new
  File "./Tools/clinic/clinic.py", line 1772
    filename_new = f"{filename}.new"
                                   ^
SyntaxError: invalid syntax
Makefile:574: recipe for target 'clinic' failed
make: *** [clinic] Error 1

Recent examples:

https://travis-ci.com/github/python/cpython/jobs/454447280
https://travis-ci.com/github/python/cpython/jobs/454551266
https://travis-ci.com/github/python/cpython/jobs/454650029
https://travis-ci.com/github/python/cpython/jobs/454907763

I know Travis has been fairly problematic for us in the past.
History
Date User Action Args
2020-12-05 06:30:39brandtbuchersetrecipients: + brandtbucher
2020-12-05 06:30:39brandtbuchersetmessageid: <1607149839.2.0.378125476647.issue42574@roundup.psfhosted.org>
2020-12-05 06:30:39brandtbucherlinkissue42574 messages
2020-12-05 06:30:37brandtbuchercreate