Skip to content

Commit 9ece3c9

Browse files
authored
Fix failing CI jobs (#4078)
2 parents fbe0d79 + ae7e384 commit 9ece3c9

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

docs/conf.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,12 @@
200200

201201
# Allow linking objects on other Sphinx sites seamlessly:
202202
intersphinx_mapping.update(
203-
python=('https://docs.python.org/3', None),
203+
# python=('https://docs.python.org/3', None),
204+
python=('https://docs.python.org/3.11/', None),
205+
# ^-- Python 3.11 is required because it still contains `distutils`.
206+
# Just leaving it as `3` would imply 3.12+, but that causes an
207+
# error with the cross references to disutils functions.
208+
# Inventory cache may cause errors, deleting it solves the problem.
204209
)
205210

206211
# Add support for the unreleased "next-version" change notes

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ commands =
1313
usedevelop = True
1414
extras =
1515
testing
16-
passenv =
16+
pass_env =
1717
SETUPTOOLS_USE_DISTUTILS
1818
PRE_BUILT_SETUPTOOLS_WHEEL
1919
PRE_BUILT_SETUPTOOLS_SDIST
@@ -25,8 +25,8 @@ passenv =
2525
[testenv:integration]
2626
deps = {[testenv]deps}
2727
extras = testing-integration
28-
passenv =
29-
{[testenv]passenv}
28+
pass_env =
29+
{[testenv]pass_env}
3030
DOWNLOAD_PATH
3131
setenv =
3232
PROJECT_ROOT = {toxinidir}

0 commit comments

Comments
 (0)