vagrant: use python 3.13.5 for binary building and tests

this is for future betas, not including b19.
This commit is contained in:
Thomas Waldmann 2025-08-02 12:05:42 +02:00
parent 4905fd8bea
commit 49d84e3920
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01

12
Vagrantfile vendored
View file

@ -213,7 +213,7 @@ def install_pythons(boxname)
return <<-EOF
. ~/.bash_profile
echo "PYTHON_CONFIGURE_OPTS: ${PYTHON_CONFIGURE_OPTS}"
pyenv install 3.12.11
pyenv install 3.13.5
pyenv rehash
EOF
end
@ -230,9 +230,9 @@ def build_pyenv_venv(boxname)
return <<-EOF
. ~/.bash_profile
cd /vagrant/borg
# use the latest 3.12 release
pyenv global 3.12.11
pyenv virtualenv 3.12.11 borg-env
# use the latest 3.13 release
pyenv global 3.13.5
pyenv virtualenv 3.13.5 borg-env
ln -s ~/.pyenv/versions/borg-env .
EOF
end
@ -281,8 +281,8 @@ def run_tests(boxname, skip_env)
. ../borg-env/bin/activate
if which pyenv 2> /dev/null; then
# for testing, use the earliest point releases of the supported python versions:
pyenv global 3.12.11
pyenv local 3.12.11
pyenv global 3.13.5
pyenv local 3.13.5
fi
# otherwise: just use the system python
# some OSes can only run specific test envs, e.g. because they miss FUSE support: