Fix: tox docs testenv extras#78
Conversation
|
Thanks for the contribution, @sumanjeet0012. This is a clean and well-targeted fix. The root cause has been identified clearly, the docs tox environment was incorrectly referencing . in the extras list, even though only the dev optional dependency group is defined in pyproject.toml. Removing the invalid entry resolves the immediate configuration failure and restores the documentation CI workflow. I also appreciate the verification steps included in the PR. Confirming that tox -e docs runs successfully and that the documentation builds correctly via make check-docs-ci gives good confidence that the change fixes the issue without introducing regressions. CI and developer experience improvements like this are valuable. A reliable documentation pipeline makes it easier for contributors to validate changes locally and helps keep our automated workflows healthy. All checks are passing, the change is minimal, and it addresses the reported issue directly. LGTM. Thanks for the fix and for improving the project's CI experience! Happy to merge. CCing @acul71, @johannamoran and @mishmosh. |
Closes #79
Description
This PR fixes an issue where the
toxjob fordocsfails instantly during the CI/CD pipeline.The
tox.inifile erroneously referenced.in theextrassection for[testenv:docs]. Since.is not a named optional-dependency group inpyproject.toml, tox instantly failed withdocs: failed with extras not found for package py-cid: - (available: dev).Changes
.entry from theextraslist under[testenv:docs]intox.ini. Thedevextra correctly remains.Verification
tox -e docslocally and verified that it successfully skips the config failure, installs thedevdependencies, and successfully builds the HTML documentation usingmake check-docs-ci.