From 3c4b1090a6b661cf449af0aebaa9d094075614d1 Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Sun, 8 Oct 2023 00:15:39 +0200 Subject: [PATCH] vagrant: install py312 via pyenv --- Vagrantfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 3a407c55c..36a32236b 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -158,6 +158,7 @@ end def install_pythons(boxname) return <<-EOF . ~/.bash_profile + pyenv install 3.12.0 # tests, version supporting openssl 1.1 pyenv install 3.11.1 # tests, version supporting openssl 1.1 pyenv install 3.10.2 # tests, version supporting openssl 1.1 pyenv install 3.9.18 # tests, version supporting openssl 1.1, binary build @@ -226,8 +227,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.9.18 3.10.2 3.11.1 - pyenv local 3.9.18 3.10.2 3.11.1 + pyenv global 3.9.18 3.10.2 3.11.1 3.12.0 + pyenv local 3.9.18 3.10.2 3.11.1 3.12.0 fi # otherwise: just use the system python # avoid that git complains about dubious ownership if we use fakeroot: