grpc: switch tests to Python 3.10. (Untested) (#11608)

This commit is contained in:
OscarL
2025-01-08 07:15:13 -03:00
committed by GitHub
parent 595eed81fd
commit 8af768019b

View File

@@ -24,6 +24,10 @@ libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
libCppVersion=$portVersion
libCppVersionCompat="$libCppVersion compat >= ${libCppVersion%.*}"
# Used for TESTS() only:
pythonVersion=3.10
pythonPackage=python${pythonVersion//.}
PROVIDES="
grpc$secondaryArchSuffix = $portVersion
cmd:grpc_cpp_plugin
@@ -109,9 +113,10 @@ BUILD_PREREQUIRES="
cmd:ninja
cmd:pkg_config$secondaryArchSuffix
"
TEST_REQUIRES="
cmd:python3
six_python39
cmd:python$pythonVersion
six_$pythonPackage
"
BUILD()
@@ -181,5 +186,5 @@ INSTALL()
TEST()
{
python3 tools/run_tests/run_tests.py -l c++
python$pythonVersion tools/run_tests/run_tests.py -l c++
}