Make venv.sh work with versions like 3.13t

This commit is contained in:
Miro Hrončok 2025-05-13 20:42:25 +02:00
commit 085416c781

View file

@ -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