Skip to content

Commit e4dd347

Browse files
committed
docs: upgrade Python version to 3.13
Netlify recently announced configurable Python versions in their build pipeline: https://www.netlify.com/blog/announcing-configurable-python-versions-in-netlify-builds. Make use of this and bump Python to 3.13 since dependabot is now also issuing warnings for 3.8 EOL. Signed-off-by: Timo Beckers <[email protected]>
1 parent ded9cb4 commit e4dd347

File tree

4 files changed

+24
-24
lines changed

4 files changed

+24
-24
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ env:
1313
go_version: '~1.23'
1414
prev_go_version: '~1.22'
1515
CGO_ENABLED: '0'
16-
# This needs to match whatever Netlify supports.
17-
# Also defined in Pipfile.
18-
python_version: '~3.8'
16+
# Sync with Pipfile and netlify.toml.
17+
python_version: '~3.13'
1918

2019
concurrency:
2120
group: ${{ github.workflow }}-${{ github.ref }}

docs/Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ mkdocs-git-authors-plugin = "*"
1515

1616
[requires]
1717
# Whatever Netlify's Ubuntu version uses.
18-
python_version = "3.8"
18+
python_version = "3.13"

docs/Pipfile.lock

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

netlify.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
base = "docs/"
33
publish = "site/"
44
command = "mkdocs build"
5+
environment = { PYTHON_VERSION = "3.13" }

0 commit comments

Comments
 (0)