Browse Source

vagrant: pyenv: also install python 3.11.1 for testing

Thomas Waldmann 2 years ago
parent
commit
e3f887414b
1 changed files with 3 additions and 2 deletions
  1. 3 2
      Vagrantfile

+ 3 - 2
Vagrantfile

@@ -159,6 +159,7 @@ end
 def install_pythons(boxname)
 def install_pythons(boxname)
   return <<-EOF
   return <<-EOF
     . ~/.bash_profile
     . ~/.bash_profile
+    pyenv install 3.11.1  # tests, version supporting openssl 1.1
     pyenv install 3.10.1  # tests, version supporting openssl 1.1
     pyenv install 3.10.1  # tests, version supporting openssl 1.1
     pyenv install 3.9.16  # tests, version supporting openssl 1.1, binary build
     pyenv install 3.9.16  # tests, version supporting openssl 1.1, binary build
     pyenv install 3.8.0  # tests, version supporting openssl 1.1
     pyenv install 3.8.0  # tests, version supporting openssl 1.1
@@ -227,8 +228,8 @@ def run_tests(boxname, skip_env)
     . ../borg-env/bin/activate
     . ../borg-env/bin/activate
     if which pyenv 2> /dev/null; then
     if which pyenv 2> /dev/null; then
       # for testing, use the earliest point releases of the supported python versions:
       # for testing, use the earliest point releases of the supported python versions:
-      pyenv global 3.8.0 3.9.16 3.10.1
-      pyenv local 3.8.0 3.9.16 3.10.1
+      pyenv global 3.8.0 3.9.16 3.10.1 3.11.1
+      pyenv local 3.8.0 3.9.16 3.10.1 3.11.1
     fi
     fi
     # otherwise: just use the system python
     # otherwise: just use the system python
     # avoid that git complains about dubious ownership if we use fakeroot:
     # avoid that git complains about dubious ownership if we use fakeroot: