python3.9: update to version 3.9.23. (#12532)

This commit is contained in:
OscarL
2025-06-30 03:50:32 -03:00
committed by GitHub
parent 0af6b17f20
commit 6d62de1834
2 changed files with 5 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ LICENSE="Python"
COPYRIGHT="1990-2024 Python Software Foundation"
REVISION="1"
SOURCE_URI="https://www.python.org/ftp/python/$portVersion/Python-$portVersion.tar.xz"
CHECKSUM_SHA256="8c136d199d3637a1fce98a16adc809c1d83c922d02d41f3614b34f8b6e7d38ec"
CHECKSUM_SHA256="61a42919e13d539f7673cf11d1c404380e28e540510860b9d242196e165709c9"
SOURCE_DIR="Python-$portVersion"
pyShortVer="${portVersion%.*}"
@@ -273,6 +273,8 @@ TEST()
make $jobArgs test EXTRATESTOPTS="--cleanup"
local test_options=(
# --worker-args $jobs # or 1 for single-process. untested.
# Use this to get same test order on different runs (actual value not important).
--randseed 7858065
@@ -386,10 +388,10 @@ TEST()
local -x LOGNAME=buildbot # this skips tests_tools/test_freeze, copied from Gentoo's ebuild
if $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().