Skip to content

Commit

Permalink
Upgraded Vagrant Box to Ubuntu 20.04
Browse files Browse the repository at this point in the history
- Removed and updated apt-get packages as needed
- Upgraded wheel to 0.35.1 (0.35.0 was causing issues on Ubuntu 20.04)
- This also fixes #167
  • Loading branch information
jorisroovers committed Nov 20, 2020
1 parent e41cbe8 commit 065327e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt-get update
sudo apt-get install -y --allow-unauthenticated python3.6-dev python3.7-dev python3.8-dev python3.9-dev
sudo apt-get install -y --allow-unauthenticated python3.8-distutils python3.9-distutils # Needed to work around python3.8/9+virtualenv issue
sudo apt-get install -y python-virtualenv git ipython python-pip python3-pip silversearcher-ag jq
sudo apt-get install -y git python3-pip ripgrep jq
sudo apt-get install -y build-essential libssl-dev libffi-dev # for rebuilding cryptography (required for pypy2)
sudo apt-get purge -y python3-virtualenv
sudo pip3 install virtualenv
sudo apt-get install -y python3-pip
pip3 install -U pip
pip3 install 'virtualenv!=20.1.0'
./run_tests.sh --uninstall --envs all
./run_tests.sh --install --envs all
Expand All @@ -31,7 +32,7 @@ EOF

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

config.vm.box = "ubuntu/xenial64"
config.vm.box = "ubuntu/focal64"

config.vm.define "dev" do |dev|
dev.vm.provision "gitlint", type: "shell", inline: "#{INSTALL_DEPS}"
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
setuptools
wheel==0.35.0
wheel==0.35.1
Click==7.1.2
sh==1.14.1; sys_platform != 'win32' # sh is not supported on windows
arrow==0.17.0

0 comments on commit 065327e

Please sign in to comment.