| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
"make check-clean-src" now also checks if the "python" program is found in the source directory: fail with an error if it does exist.
|
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, something went wrong.
…thonGH-110449) "make check-clean-src" now also checks if the "python" program is found in the source directory: fail with an error if it does exist. (cherry picked from commit a155f9f) Co-authored-by: Victor Stinner <vstinner@python.org>
|
GH-110453 is a backport of this pull request to the 3.12 branch. |
Sorry, something went wrong.
|
GH-110454 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
…thonGH-110449) "make check-clean-src" now also checks if the "python" program is found in the source directory: fail with an error if it does exist. (cherry picked from commit a155f9f) Co-authored-by: Victor Stinner <vstinner@python.org>
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot s390x Debian 3.x has failed when building commit a155f9f. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/49/builds/6810 Failed tests:
Failed subtests:
Summary of the results of the build (if available): == Click to see traceback logsTraceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_tools/test_freeze.py", line 32, in test_freeze_simple_script
outdir, scriptfile, python = helper.prepare(script, outdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Tools/freeze/test/freeze.py", line 147, in prepare
_run_quiet([MAKE, '-C', builddir, parallel])
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Tools/freeze/test/freeze.py", line 33, in _run_quiet
return subprocess.run(
^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/make', '-C', '/tmp/test_python_w8i674vz/tmpwqpxzm08/python-build', '-j2']' returned non-zero exit status 2.
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/test/test_tools/test_freeze.py", line 32, in test_freeze_simple_script
outdir, scriptfile, python = helper.prepare(script, outdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Tools/freeze/test/freeze.py", line 147, in prepare
_run_quiet([MAKE, '-C', builddir, parallel])
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Tools/freeze/test/freeze.py", line 33, in _run_quiet
return subprocess.run(
^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-debian-z/build/Lib/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/make', '-C', '/tmp/test_python_xsrn4bbi/tmp2i6t5cmq/python-build', '-j2']' returned non-zero exit status 2.
|
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot s390x SLES 3.x has failed when building commit a155f9f. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/540/builds/6775 Failed tests:
Failed subtests:
Summary of the results of the build (if available): == Click to see traceback logsTraceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_tools/test_freeze.py", line 32, in test_freeze_simple_script
outdir, scriptfile, python = helper.prepare(script, outdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Tools/freeze/test/freeze.py", line 147, in prepare
_run_quiet([MAKE, '-C', builddir, parallel])
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Tools/freeze/test/freeze.py", line 33, in _run_quiet
return subprocess.run(
^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/make', '-C', '/tmp/test_python_knw1itkv/tmpo5ggq57c/python-build', '-j2']' returned non-zero exit status 2.
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/test/test_tools/test_freeze.py", line 32, in test_freeze_simple_script
outdir, scriptfile, python = helper.prepare(script, outdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Tools/freeze/test/freeze.py", line 147, in prepare
_run_quiet([MAKE, '-C', builddir, parallel])
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Tools/freeze/test/freeze.py", line 33, in _run_quiet
return subprocess.run(
^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/make', '-C', '/tmp/test_python_w5_da6bk/tmp0zwj8_94/python-build', '-j2']' returned non-zero exit status 2.
|
Sorry, something went wrong.
…H-110449) (#110454) gh-103053: Fix make check-clean-src: check "python" program (GH-110449) "make check-clean-src" now also checks if the "python" program is found in the source directory: fail with an error if it does exist. (cherry picked from commit a155f9f) Co-authored-by: Victor Stinner <vstinner@python.org>
|
cc @erlend-aasland: Another build fix ;-) |
Sorry, something went wrong.
…H-110449) (#110453) gh-103053: Fix make check-clean-src: check "python" program (GH-110449) "make check-clean-src" now also checks if the "python" program is found in the source directory: fail with an error if it does exist. (cherry picked from commit a155f9f) Co-authored-by: Victor Stinner <vstinner@python.org>
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot s390x Debian 3.11 has failed when building commit f7a1d7d. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/944/builds/1290 Failed tests:
Failed subtests:
Summary of the results of the build (if available): == Click to see traceback logsTraceback (most recent call last):
File "/home/dje/cpython-buildarea/3.11.edelsohn-debian-z/build/Lib/test/test_tools/test_freeze.py", line 32, in test_freeze_simple_script
outdir, scriptfile, python = helper.prepare(script, outdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.11.edelsohn-debian-z/build/Tools/freeze/test/freeze.py", line 147, in prepare
_run_quiet([MAKE, '-C', builddir, parallel])
File "/home/dje/cpython-buildarea/3.11.edelsohn-debian-z/build/Tools/freeze/test/freeze.py", line 33, in _run_quiet
return subprocess.run(
^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.11.edelsohn-debian-z/build/Lib/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/make', '-C', '/tmp/tmp0rafp67o/python-build', '-j2']' returned non-zero exit status 2.
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.11.edelsohn-debian-z/build/Lib/test/test_tools/test_freeze.py", line 32, in test_freeze_simple_script
outdir, scriptfile, python = helper.prepare(script, outdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.11.edelsohn-debian-z/build/Tools/freeze/test/freeze.py", line 147, in prepare
_run_quiet([MAKE, '-C', builddir, parallel])
File "/home/dje/cpython-buildarea/3.11.edelsohn-debian-z/build/Tools/freeze/test/freeze.py", line 33, in _run_quiet
return subprocess.run(
^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.11.edelsohn-debian-z/build/Lib/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/make', '-C', '/tmp/test_python_icty5ucf/tmprcond1ap/python-build', '-j2']' returned non-zero exit status 2.
|
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot s390x SLES 3.12 has failed when building commit 67028f0. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/1129/builds/402 Failed tests:
Failed subtests:
Summary of the results of the build (if available): == Click to see traceback logsTraceback (most recent call last):
File "/home/dje/cpython-buildarea/3.12.edelsohn-sles-z/build/Lib/test/test_tools/test_freeze.py", line 32, in test_freeze_simple_script
outdir, scriptfile, python = helper.prepare(script, outdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.12.edelsohn-sles-z/build/Tools/freeze/test/freeze.py", line 147, in prepare
_run_quiet([MAKE, '-C', builddir, parallel])
File "/home/dje/cpython-buildarea/3.12.edelsohn-sles-z/build/Tools/freeze/test/freeze.py", line 33, in _run_quiet
return subprocess.run(
^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.12.edelsohn-sles-z/build/Lib/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/make', '-C', '/tmp/test_python_30mjw648/tmp_528u491/python-build', '-j2']' returned non-zero exit status 2.
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.12.edelsohn-sles-z/build/Lib/test/test_asyncio/test_events.py", line 695, in test_create_connection_local_addr_skip_different_family
with self.assertRaises(OSError):
AssertionError: OSError not raised
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.12.edelsohn-sles-z/build/Lib/test/test_tools/test_freeze.py", line 32, in test_freeze_simple_script
outdir, scriptfile, python = helper.prepare(script, outdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.12.edelsohn-sles-z/build/Tools/freeze/test/freeze.py", line 147, in prepare
_run_quiet([MAKE, '-C', builddir, parallel])
File "/home/dje/cpython-buildarea/3.12.edelsohn-sles-z/build/Tools/freeze/test/freeze.py", line 33, in _run_quiet
return subprocess.run(
^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.12.edelsohn-sles-z/build/Lib/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/make', '-C', '/tmp/test_python_2krhochy/tmpkztlz7w_/python-build', '-j2']' returned non-zero exit status 2.
|
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot s390x RHEL7 3.11 has failed when building commit f7a1d7d. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/1033/builds/1081 Failed tests:
Failed subtests:
Summary of the results of the build (if available): == Click to see traceback logsTraceback (most recent call last):
File "/home/dje/cpython-buildarea/3.11.edelsohn-rhel-z/build/Lib/test/test_tools/test_freeze.py", line 32, in test_freeze_simple_script
outdir, scriptfile, python = helper.prepare(script, outdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.11.edelsohn-rhel-z/build/Tools/freeze/test/freeze.py", line 147, in prepare
_run_quiet([MAKE, '-C', builddir, parallel])
File "/home/dje/cpython-buildarea/3.11.edelsohn-rhel-z/build/Tools/freeze/test/freeze.py", line 33, in _run_quiet
return subprocess.run(
^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.11.edelsohn-rhel-z/build/Lib/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/make', '-C', '/tmp/tmpsyhm1gh9/python-build', '-j2']' returned non-zero exit status 2.
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.11.edelsohn-rhel-z/build/Lib/test/test_tools/test_freeze.py", line 32, in test_freeze_simple_script
outdir, scriptfile, python = helper.prepare(script, outdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.11.edelsohn-rhel-z/build/Tools/freeze/test/freeze.py", line 147, in prepare
_run_quiet([MAKE, '-C', builddir, parallel])
File "/home/dje/cpython-buildarea/3.11.edelsohn-rhel-z/build/Tools/freeze/test/freeze.py", line 33, in _run_quiet
return subprocess.run(
^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.11.edelsohn-rhel-z/build/Lib/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/make', '-C', '/tmp/test_python_jjzl5qyt/tmp0_ifcbt9/python-build', '-j2']' returned non-zero exit status 2.
|
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot s390x Fedora LTO 3.11 has failed when building commit f7a1d7d. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/975/builds/889 Failed tests:
Failed subtests:
Summary of the results of the build (if available): == Click to see traceback logsTraceback (most recent call last):
File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_subprocess.py", line 761, in test_pipesize_default
self.assertEqual(
AssertionError: 65536 != 8192
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tools/test_freeze.py", line 32, in test_freeze_simple_script
outdir, scriptfile, python = helper.prepare(script, outdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Tools/freeze/test/freeze.py", line 147, in prepare
_run_quiet([MAKE, '-C', builddir, parallel])
File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Tools/freeze/test/freeze.py", line 33, in _run_quiet
return subprocess.run(
^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/make', '-C', '/tmp/tmpp2n37l22/python-build', '-j2']' returned non-zero exit status 2.
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/test/test_tools/test_freeze.py", line 32, in test_freeze_simple_script
outdir, scriptfile, python = helper.prepare(script, outdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Tools/freeze/test/freeze.py", line 147, in prepare
_run_quiet([MAKE, '-C', builddir, parallel])
File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Tools/freeze/test/freeze.py", line 33, in _run_quiet
return subprocess.run(
^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.11.edelsohn-fedora-z.lto/build/Lib/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/make', '-C', '/tmp/test_python_pk93x51v/tmputxhy5gk/python-build', '-j2']' returned non-zero exit status 2.
|
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot s390x RHEL7 LTO 3.11 has failed when building commit f7a1d7d. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/924/builds/1094 Failed tests:
Failed subtests:
Summary of the results of the build (if available): == Click to see traceback logsTraceback (most recent call last):
File "/home/dje/cpython-buildarea/3.11.edelsohn-rhel-z.lto/build/Lib/test/test_tools/test_freeze.py", line 32, in test_freeze_simple_script
outdir, scriptfile, python = helper.prepare(script, outdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.11.edelsohn-rhel-z.lto/build/Tools/freeze/test/freeze.py", line 147, in prepare
_run_quiet([MAKE, '-C', builddir, parallel])
File "/home/dje/cpython-buildarea/3.11.edelsohn-rhel-z.lto/build/Tools/freeze/test/freeze.py", line 33, in _run_quiet
return subprocess.run(
^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.11.edelsohn-rhel-z.lto/build/Lib/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/make', '-C', '/tmp/test_python__qtwyhf8/tmpmhg0r3kf/python-build', '-j2']' returned non-zero exit status 2.
Traceback (most recent call last):
File "/home/dje/cpython-buildarea/3.11.edelsohn-rhel-z.lto/build/Lib/test/test_tools/test_freeze.py", line 32, in test_freeze_simple_script
outdir, scriptfile, python = helper.prepare(script, outdir)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.11.edelsohn-rhel-z.lto/build/Tools/freeze/test/freeze.py", line 147, in prepare
_run_quiet([MAKE, '-C', builddir, parallel])
File "/home/dje/cpython-buildarea/3.11.edelsohn-rhel-z.lto/build/Tools/freeze/test/freeze.py", line 33, in _run_quiet
return subprocess.run(
^^^^^^^^^^^^^^^
File "/home/dje/cpython-buildarea/3.11.edelsohn-rhel-z.lto/build/Lib/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/make', '-C', '/tmp/tmpdugc15h2/python-build', '-j2']' returned non-zero exit status 2.
|
Sorry, something went wrong.
Seems this fix broke some build bots ;) |
Sorry, something went wrong.
Nah, it didn't break buildbots, it just made a bug more visible :-) My following change is the real fix for test_freeze: PR #110451. It runs make distclean instead of make clean. I'm not sure why make clean doesn't remove python which was created by make! Maybe it's just more convenient like that. |
Sorry, something went wrong.
This following change fixed all buildbots. If I knew that it would be break something, I would do the two changes in the opposite order. |
Sorry, something went wrong.
|
Great! Thanks :) |
Sorry, something went wrong.
…thon#110449) "make check-clean-src" now also checks if the "python" program is found in the source directory: fail with an error if it does exist.
| Back | FazBrowse Home | New Git URL |
"make check-clean-src" now also checks if the "python" program is found in the source directory: fail with an error if it does exist.