From 8b4463f5d62de1722c05e0230e22560c9bd11a59 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Tue, 9 Sep 2025 11:03:57 -0500 Subject: [PATCH] Update buildbot service to Python 3.13 --- salt/buildbot/init.sls | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/salt/buildbot/init.sls b/salt/buildbot/init.sls index c63c00a1..9653b91c 100644 --- a/salt/buildbot/init.sls +++ b/salt/buildbot/init.sls @@ -1,4 +1,4 @@ - +{% set buildbot_python_version = '3.13' %} include: - nginx - postgresql.client @@ -11,8 +11,8 @@ buildbot-deps: pkg.installed: - pkgs: - git - - python3.9-dev - - python3.9-venv + - python{{ buildbot_python_version }}-dev + - python{{ buildbot_python_version }}-venv - build-essential - libpq-dev - require: @@ -70,10 +70,12 @@ update-master: cmd.run: - runas: buildbot - cwd: /srv/buildbot - - name: make update-master + - name: make update-master PYTHON_VERSION={{ buildbot_python_version }} - require: + - pkg: buildbot-deps - git: /srv/buildbot - onchanges: + - pkg: buildbot-deps - git: /srv/buildbot /srv/buildbot/buildbot.sh start -q /srv/buildbot/master: