python3.11: update to version 3.12.13. (#12533)

This commit is contained in:
OscarL
2025-06-30 04:00:39 -03:00
committed by GitHub
parent 6d62de1834
commit 2853d63a36
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="849da87af4df137710c1796e276a955f7a85c9f971081067c8f565d15c352a09"
CHECKSUM_SHA256="8fb5f9fbc7609fa822cb31549884575db7fd9657cbffb89510b5d7975963a83a"
SOURCE_DIR="Python-$portVersion"
pyShortVer="${portVersion%.*}"
@@ -301,6 +301,8 @@ TEST()
make $jobArgs test EXTRATESTOPTS="--cleanup"
local test_options=(
# --multiprocess 1 # "-j N" / $jobArgs should work. Untested.
# Use this to get same test order on different runs (actual value not important).
--randseed 7858065
@@ -429,12 +431,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().