From 085416c781f6c1a139a49d66c521538c0c62c636 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 13 May 2025 20:42:25 +0200 Subject: [PATCH] Make venv.sh work with versions like 3.13t --- smoke/venv.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/smoke/venv.sh b/smoke/venv.sh index c7e7d20..39d7186 100755 --- a/smoke/venv.sh +++ b/smoke/venv.sh @@ -49,7 +49,7 @@ source venv/bin/activate set -u # run python in it -python -c 'import sys; print(sys.version)' | head -n1 | grep $VERSION +python -c 'import sys; print(sys.version)' | head -n1 | grep ${VERSION/t} # install packages with pip python -m pip install pytest @@ -122,7 +122,7 @@ EOF # Tests that the Python version used in tox is really the Python version we want tox | tee toxlog -grep "^$VERSION\.[0-9]" toxlog +grep "^${VERSION/t}\.[0-9]" toxlog echo '[tox]' > tox.ini if [ -n "$TOX_REQUIRES" ]; then