mirror of
https://github.com/borgbackup/borg.git
synced 2026-05-28 04:03:21 -04:00
vagrant: add py3.7.11 for binary build, also add 3.10-dev
This commit is contained in:
parent
a6fba6e1a9
commit
bac8e6b82b
1 changed files with 6 additions and 5 deletions
11
Vagrantfile
vendored
11
Vagrantfile
vendored
|
|
@ -217,9 +217,10 @@ def install_pythons(boxname)
|
|||
. ~/.bash_profile
|
||||
pyenv install 3.5.3 # tests, 3.5.3 is first to support openssl 1.1
|
||||
pyenv install 3.6.2 # tests
|
||||
pyenv install 3.7.9 # binary build, use latest 3.7.x release
|
||||
pyenv install 3.7.11 # binary build, use latest 3.7.x release
|
||||
pyenv install 3.8.0 # tests
|
||||
pyenv install 3.9.0 # tests
|
||||
pyenv install 3.10-dev # tests
|
||||
pyenv rehash
|
||||
EOF
|
||||
end
|
||||
|
|
@ -237,8 +238,8 @@ def build_pyenv_venv(boxname)
|
|||
. ~/.bash_profile
|
||||
cd /vagrant/borg
|
||||
# use the latest 3.7 release
|
||||
pyenv global 3.7.9
|
||||
pyenv virtualenv 3.7.9 borg-env
|
||||
pyenv global 3.7.11
|
||||
pyenv virtualenv 3.7.11 borg-env
|
||||
ln -s ~/.pyenv/versions/borg-env .
|
||||
EOF
|
||||
end
|
||||
|
|
@ -299,8 +300,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.5.3 3.6.2 3.7.9 3.8.0 3.9.0
|
||||
pyenv local 3.5.3 3.6.2 3.7.9 3.8.0 3.9.0
|
||||
pyenv global 3.5.3 3.6.2 3.7.11 3.8.0 3.9.0 3.10-dev
|
||||
pyenv local 3.5.3 3.6.2 3.7.11 3.8.0 3.9.0 3.10-dev
|
||||
fi
|
||||
# otherwise: just use the system python
|
||||
if which fakeroot 2> /dev/null; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue