Skip to content

Commit 6e9f437

Browse files
authored
Update buildbot service to Python 3.13 (#607)
1 parent 608cd2a commit 6e9f437

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

salt/buildbot/init.sls

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
{% set buildbot_python_version = '3.13' %}
22
include:
33
- nginx
44
- postgresql.client
@@ -11,8 +11,8 @@ buildbot-deps:
1111
pkg.installed:
1212
- pkgs:
1313
- git
14-
- python3.9-dev
15-
- python3.9-venv
14+
- python{{ buildbot_python_version }}-dev
15+
- python{{ buildbot_python_version }}-venv
1616
- build-essential
1717
- libpq-dev
1818
- require:
@@ -70,10 +70,12 @@ update-master:
7070
cmd.run:
7171
- runas: buildbot
7272
- cwd: /srv/buildbot
73-
- name: make update-master
73+
- name: make update-master PYTHON_VERSION={{ buildbot_python_version }}
7474
- require:
75+
- pkg: buildbot-deps
7576
- git: /srv/buildbot
7677
- onchanges:
78+
- pkg: buildbot-deps
7779
- git: /srv/buildbot
7880

7981
/srv/buildbot/buildbot.sh start -q /srv/buildbot/master:

0 commit comments

Comments
 (0)