Explorar o código

Merge pull request #5390 from ThomasWaldmann/vagrant-py37-pyi-master

vagrant: use py37 for binary creation
TW %!s(int64=4) %!d(string=hai) anos
pai
achega
c32976f3be
Modificáronse 1 ficheiros con 8 adicións e 8 borrados
  1. 8 8
      Vagrantfile

+ 8 - 8
Vagrantfile

@@ -132,10 +132,10 @@ end
 def install_pythons(boxname)
   return <<-EOF
     . ~/.bash_profile
-    pyenv install 3.9.0rc2  # tests, version supporting openssl 1.1
+    pyenv install 3.9.0  # tests, version supporting openssl 1.1
     pyenv install 3.8.0  # tests, version supporting openssl 1.1
-    pyenv install 3.7.0  # tests, version supporting openssl 1.1
-    pyenv install 3.6.10  # binary build, tests, version supporting openssl 1.1
+    pyenv install 3.7.9  # binary build, tests, version supporting openssl 1.1
+    pyenv install 3.6.1  # tests, version supporting openssl 1.1. coverage-py is broken on 3.6.0.
     pyenv rehash
   EOF
 end
@@ -152,9 +152,9 @@ def build_pyenv_venv(boxname)
   return <<-EOF
     . ~/.bash_profile
     cd /vagrant/borg
-    # use the latest 3.6 release
-    pyenv global 3.6.10
-    pyenv virtualenv 3.6.10 borg-env
+    # use the latest 3.7 release
+    pyenv global 3.7.9
+    pyenv virtualenv 3.7.9 borg-env
     ln -s ~/.pyenv/versions/borg-env .
   EOF
 end
@@ -215,8 +215,8 @@ def run_tests(boxname)
     . ../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.6.10 3.7.0 3.8.0 3.9.0rc2
-      pyenv local 3.6.10 3.7.0 3.8.0 3.9.0rc2
+      pyenv global 3.6.1 3.7.9 3.8.0 3.9.0
+      pyenv local 3.6.1 3.7.9 3.8.0 3.9.0
     fi
     # otherwise: just use the system python
     if which fakeroot 2> /dev/null; then