bring docs up to python 312 across the board

This commit is contained in:
Joel Falknau 2024-08-24 15:08:41 +10:00
parent 3a5b84d1f9
commit 29ad4acff7
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -7,11 +7,11 @@ version: 2
# Set the version of Python and other tools you might need # Set the version of Python and other tools you might need
build: build:
os: ubuntu-22.04 os: ubuntu-24.04
apt_packages: apt_packages:
- redis - redis
tools: tools:
python: "3.11" python: "3.12"
jobs: jobs:
post_system_dependencies: post_system_dependencies:
- redis-server --daemonize yes - redis-server --daemonize yes

View File

@ -24,7 +24,7 @@ commands =
[testenv:docs] [testenv:docs]
description = invoke sphinx-build to build the HTML docs description = invoke sphinx-build to build the HTML docs
basepython = python3.11 basepython = python3.12
install_command = pip install -e ".[docs]" -U {opts} {packages} install_command = pip install -e ".[docs]" -U {opts} {packages}
commands = commands =
sphinx-build -T -E -b html -d "{toxworkdir}/docs_doctree" -D language=en docs "{toxworkdir}/docs_out" {posargs} sphinx-build -T -E -b html -d "{toxworkdir}/docs_doctree" -D language=en docs "{toxworkdir}/docs_out" {posargs}