Skip to content

Commit a96f6fa

Browse files
committed
Tweak rtd
1 parent 6a3b3c1 commit a96f6fa

2 files changed

Lines changed: 10 additions & 9 deletions

File tree

.readthedocs.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ build:
44
os: ubuntu-20.04
55
tools:
66
# Keep version in sync with tox.ini (docs and gh-actions).
7-
python: "3.10"
7+
python: "3.11"
88

99
python:
10-
install:
11-
- requirements: "docs/requirements.txt"
12-
- path: .
13-
method: pip
10+
jobs:
11+
post_create_environment:
12+
- pip install pdm
13+
post_install:
14+
- pdm install -G :all,docs

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ python =
44
3.7: py37
55
3.8: py38
66
3.9: py39
7-
3.10: py310, lint
8-
3.11: py311
7+
3.10: py310
8+
3.11: py311, lint
99
pypy-3: pypy3
1010

1111
[tox]
@@ -14,7 +14,7 @@ isolated_build = true
1414
skipsdist = true
1515

1616
[testenv:lint]
17-
basepython = python3.10
17+
basepython = python3.11
1818
allowlist_externals =
1919
make
2020
pdm
@@ -44,7 +44,7 @@ commands =
4444
passenv = CI
4545

4646
[testenv:docs]
47-
basepython = python3.10
47+
basepython = python3.11
4848
setenv =
4949
PYTHONHASHSEED = 0
5050
deps =

0 commit comments

Comments
 (0)