python3.12: update to version 3.12.11. (#12534)

This commit is contained in:
OscarL
2025-06-30 04:15:25 -03:00
committed by GitHub
parent 2853d63a36
commit 17e8b407fa
2 changed files with 6 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ LICENSE="Python"
COPYRIGHT="1990-2025 Python Software Foundation"
REVISION="1"
SOURCE_URI="https://www.python.org/ftp/python/$portVersion/Python-${portVersion}.tar.xz"
CHECKSUM_SHA256="07ab697474595e06f06647417d3c7fa97ded07afc1a7e4454c5639919b46eaea"
CHECKSUM_SHA256="c30bb24b7f1e9a19b11b55a546434f74e739bb4c271a3e3a80ff4380d49f7adb"
SOURCE_DIR="Python-$portVersion"
pyShortVer="${portVersion%.*}"
@@ -313,6 +313,8 @@ TEST()
make $jobArgs test EXTRATESTOPTS="--cleanup"
local test_options=(
# --single-process # overrides "-jN", if also given.
# Use this to get same test order on different runs (actual value not important).
--randseed 7858065
@@ -464,12 +466,12 @@ TEST()
local -x LOGNAME=buildbot # this skips tests_tools/test_freeze, copied from Gentoo's ebuild
if $runOnlyExcludedTests; then
make $jobArgs test EXTRATESTOPTS="${test_options[*]} ${tests_to_exclude[*]}"
make test EXTRATESTOPTS="${test_options[*]} ${tests_to_exclude[*]}"
elif $runOnlyKnownFailingTests; then
make $jobArgs test EXTRATESTOPTS="${test_options[*]} ${tests_that_fail[*]}"
make test EXTRATESTOPTS="${test_options[*]} ${tests_that_fail[*]}"
else
# Runs the full test suite (minus the tests that we explicitly exclude).
make $jobArgs test EXTRATESTOPTS="${test_options[*]} ${tests_to_exclude[*]}"
make test EXTRATESTOPTS="${test_options[*]} ${tests_to_exclude[*]}"
fi
# Occasionally, some test fails seemingly due to the racy nature of tempfile.mktemp().