Skip to content

Commit 0073914

Browse files
authored
Update deps, RTD config, tox. (#23)
1 parent 4fa7eae commit 0073914

5 files changed

Lines changed: 12 additions & 13 deletions

File tree

.readthedocs.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ version: 2
77

88
# Set the version of Python and other tools you might need
99
build:
10-
os: ubuntu-22.04
10+
os: ubuntu-24.04
1111
tools:
12-
# Docs are always built on Python 3.12. See also the tox config.
13-
python: "3.12"
12+
# Docs are always built on Python 3.13. See also the tox config.
13+
python: "3.13"
1414
jobs:
1515
pre_install:
16-
- python -m pip install -r requirements.dev.txt
16+
- python -m pip install --upgrade pip
17+
- python -m pip install --group 'dev'
1718
pre_build:
1819
- python -m tox -e docs-lint
1920
build:

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ maintainers = [
2323
]
2424

2525
dependencies = [
26+
# We use ruff for *our* code formatting, but mkdocstrings (optionally) uses
27+
# black to format method prototypes.
28+
"black==25.1.0",
2629
"markdown-checker==0.2.5",
2730
"mistletoe==1.4.0",
2831
"mkdocs-autorefs==1.4.2",
@@ -38,7 +41,7 @@ dependencies = [
3841
"translate-toolkit @ git+https://github.com/translate/translate@aa35159f03f53aa536381643dfafbc2a19a24784",
3942
]
4043

41-
[project.optional-dependencies]
44+
[dependency-groups]
4245
# Extras used by developers *of* beeware-docs-tools are pinned to specific versions to
4346
# ensure environment consistency.
4447
dev = [

requirements.dev.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

requirements.docs.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ config_dir = {tox_root}{/}docs{/}config
88
templates_dir = {tox_root}{/}docs{/}locales{/}templates
99

1010
[testenv:docs{,-lint,-translate,-all,-live,-en,-fr,-de}]
11-
# Docs are always built on Python 3.12. See also the RTD config.
12-
base_python = py312
11+
# Docs are always built on Python 3.13. See also the RTD config.
12+
base_python = py313
1313
skip_install = true
1414
deps =
15-
-r {tox_root}/requirements.docs.txt
15+
-e .
1616
commands:
1717
!lint-!all-!translate-!live-!en-!fr-!de : build_md_translations {posargs} --source-code=src en
1818
translate : md2po --input docs{/}en --output {[docs]templates_dir} --pot --duplicates=merge

0 commit comments

Comments
 (0)