As reported by @abravalheri in fbe0d79#commitcomment-129798103:
For some reason, this change is failing on the CI for tox -e docs and on Windows...
For the docs error, sphinx/sphinx-doc#11662 seems to be closed so we can probably remove the cap and see what happens.
For the windows error, is it possible that a newer version of the Github worker node doesn't export the windir environment variable?
UPDATE 1: For the windows error, maybe it happens because now we have a TOX_OVERRIDE: testenv.pass_env+=... env var... I think that will cause both passenv and pass_env to be present in the tox configuration and tox will prefer the later, ignoring passenv completely...
UPDATE 2: The sphinx error is probably described by sphinx-doc/sphinx#11720.
UPDATE 3: Sphinx may error even for Python 3.10, because it will fail on any warning.
UPDATE 4: Actually the sphinx errors where happening because the distutils functions are no longer part of the intersphinx inventory for Python 3.12... Changing the intersphinx_mapping to use Python 3.11 may solve the problem.
As reported by @abravalheri in fbe0d79#commitcomment-129798103:
For some reason, this change is failing on the CI for
tox -e docsand on Windows...For the docs error, sphinx/sphinx-doc#11662 seems to be closed so we can probably remove the cap and see what happens.
For the windows error, is it possible that a newer version of the Github worker node doesn't export the
windirenvironment variable?UPDATE 1: For the windows error, maybe it happens because now we have a
TOX_OVERRIDE: testenv.pass_env+=...env var... I think that will cause bothpassenvandpass_envto be present in the tox configuration and tox will prefer the later, ignoringpassenvcompletely...UPDATE 2: The sphinx error is probably described by sphinx-doc/sphinx#11720.
UPDATE 3: Sphinx may error even for Python 3.10, because it will fail on any warning.
UPDATE 4: Actually the sphinx errors where happening because the
distutilsfunctions are no longer part of the intersphinx inventory for Python 3.12... Changing theintersphinx_mappingto use Python 3.11 may solve the problem.