Skip to content

Commit 9b69bfc

Browse files
committed
Switched to Python 3.12
1 parent 1a835a9 commit 9b69bfc

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,26 @@ permissions:
1515

1616
jobs:
1717
noshadows:
18-
runs-on: ubuntu-20.04
18+
runs-on: ubuntu-24.04
1919
steps:
2020
- name: Checkout
2121
uses: actions/checkout@v4
2222
- uses: actions/setup-python@v5
2323
with:
24-
python-version: '3.8'
24+
python-version: '3.12'
2525
- run: pip install "tinycss2>=1.2.0"
2626
- run: python noshadows.py --tests
2727
env:
2828
PYTHONWARNINGS: error
2929

3030
tracdjangoplugin:
31-
runs-on: ubuntu-20.04
31+
runs-on: ubuntu-24.04
3232
steps:
3333
- name: Checkout
3434
uses: actions/checkout@v4
3535
- uses: actions/setup-python@v5
3636
with:
37-
python-version: '3.8'
37+
python-version: '3.12'
3838
- name: Install requirements
3939
run: python -m pip install -r requirements.txt
4040
- name: Run tests
@@ -44,13 +44,13 @@ jobs:
4444
PYTHONWARNINGS: error
4545

4646
traccheck:
47-
runs-on: ubuntu-20.04
47+
runs-on: ubuntu-24.04
4848
steps:
4949
- name: Checkout
5050
uses: actions/checkout@v4
5151
- uses: actions/setup-python@v5
5252
with:
53-
python-version: '3.8'
53+
python-version: '3.12'
5454
- name: Install requirements
5555
run: python -m pip install -r requirements.txt
5656
- run: python traccheck.py lint trac-env/

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# pull official base image
2-
FROM python:3.8-slim-bullseye
2+
FROM python:3.12-slim-bookworm
33

44
# set work directory
55
WORKDIR /code

0 commit comments

Comments
 (0)