Skip to content

Commit

Permalink
docs: upgrade Python version to 3.13
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
ti-mo committed Feb 3, 2025
1 parent ded9cb4 commit e4dd347
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ env:
go_version: '~1.23'
prev_go_version: '~1.22'
CGO_ENABLED: '0'
# This needs to match whatever Netlify supports.
# Also defined in Pipfile.
python_version: '~3.8'
# Sync with Pipfile and netlify.toml.
python_version: '~3.13'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down
2 changes: 1 addition & 1 deletion docs/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ mkdocs-git-authors-plugin = "*"

[requires]
# Whatever Netlify's Ubuntu version uses.
python_version = "3.8"
python_version = "3.13"
40 changes: 20 additions & 20 deletions docs/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
base = "docs/"
publish = "site/"
command = "mkdocs build"
environment = { PYTHON_VERSION = "3.13" }

0 comments on commit e4dd347

Please sign in to comment.