Make venv.sh work with versions like 3.13t
This commit is contained in:
parent
5c46fa4679
commit
085416c781
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue