Skip to content

Commit d0293ed

Browse files
committed
Update Vagrant config to ubuntu/jammy64
This provides Python 3.10, which is the minimum supported version for Django 5.0
1 parent 6e81b08 commit d0293ed

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Vagrantfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Vagrant.configure(2) do |config|
1212

1313
# Every Vagrant development environment requires a box. You can search for
1414
# boxes at https://atlas.hashicorp.com/search.
15-
config.vm.box = "wagtail/buster64"
16-
config.vm.box_version = "~> 1.0"
15+
config.vm.box = "ubuntu/jammy64"
16+
config.vm.box_version = "~> 20220810.0.0"
1717

1818
# Disable automatic box update checking. If you disable this, then
1919
# boxes will only be checked for updates when the user runs

vagrant/provision.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ PYTHON=$VIRTUALENV_DIR/bin/python
1010
PIP=$VIRTUALENV_DIR/bin/pip
1111

1212

13+
# Update APT database
14+
apt-get update -y
15+
16+
apt install -y python3-pip
17+
pip3 install virtualenv
18+
1319
# Virtualenv setup for project
1420
su - $DEV_USER -c "virtualenv --python=python3 $VIRTUALENV_DIR"
1521
# Replace previous line with this if you are using Python 2

0 commit comments

Comments
 (0)