Skip to content

Fix doc_build CI failure after tox 4.36.0 upgrade#2158

Merged
cooperlees merged 2 commits intodependabot/pip/tox-4.36.0from
copilot/sub-pr-2153
Feb 16, 2026
Merged

Fix doc_build CI failure after tox 4.36.0 upgrade#2158
cooperlees merged 2 commits intodependabot/pip/tox-4.36.0from
copilot/sub-pr-2153

Conversation

Copy link

Copilot AI commented Feb 16, 2026

Tox 4.36.0 introduced stricter validation for package extras, causing doc_build CI to fail with "extras not found for package bandersnatch: doc-build".

Changes

  • Removed invalid extras = doc_build reference from [testenv:doc_build] in tox.ini
  • The extra was never defined in setup.cfg (only s3, safety_db, and uvloop exist)
  • Dependencies remain correctly specified via deps = -r requirements_docs.txt
[testenv:doc_build]
basepython=python3
commands = ...
deps = -r requirements_docs.txt
-extras = doc_build  # Removed - non-existent extra
passenv = SSH_AUTH_SOCK

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Remove the non-existent 'doc_build' extra from tox.ini. Tox 4.36.0 has stricter validation for extras and fails when a non-existent extra is specified. The doc_build testenv already has correct dependencies via requirements_docs.txt.

Co-authored-by: cooperlees <3005596+cooperlees@users.noreply.github.com>
Copy link
Author

Copilot AI commented Feb 16, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • docs.python.org
    • Triggering command: /home/REDACTED/work/bandersnatch/bandersnatch/.tox/doc_build/bin/python /home/REDACTED/work/bandersnatch/bandersnatch/.tox/doc_build/bin/python /home/REDACTED/work/bandersnatch/bandersnatch/.tox/doc_build/bin/sphinx-build -a -W --keep-going -b html docs docs/html (dns block)
  • packaging.pypa.io
    • Triggering command: /home/REDACTED/work/bandersnatch/bandersnatch/.tox/doc_build/bin/python /home/REDACTED/work/bandersnatch/bandersnatch/.tox/doc_build/bin/python /home/REDACTED/work/bandersnatch/bandersnatch/.tox/doc_build/bin/sphinx-build -a -W --keep-going -b html docs docs/html (dns block)
  • py-filelock.readthedocs.io
    • Triggering command: /home/REDACTED/work/bandersnatch/bandersnatch/.tox/doc_build/bin/python /home/REDACTED/work/bandersnatch/bandersnatch/.tox/doc_build/bin/python /home/REDACTED/work/bandersnatch/bandersnatch/.tox/doc_build/bin/sphinx-build -a -W --keep-going -b html docs docs/html (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title [WIP] Update tox package version from 4.34.1 to 4.36.0 Fix doc_build CI failure after tox 4.36.0 upgrade Feb 16, 2026
Copilot AI requested a review from cooperlees February 16, 2026 21:21
@cooperlees cooperlees marked this pull request as ready for review February 16, 2026 21:29
@cooperlees cooperlees added the skip news Skip CI check for news/changelog label Feb 16, 2026
@cooperlees cooperlees merged commit fc19bc3 into dependabot/pip/tox-4.36.0 Feb 16, 2026
13 of 16 checks passed
@cooperlees cooperlees deleted the copilot/sub-pr-2153 branch February 16, 2026 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news Skip CI check for news/changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments