Fix tox CI failure: allowlist_externals blocking git/rm/cp#61
Closed
Fix tox CI failure: allowlist_externals blocking git/rm/cp#61
Conversation
…and names Agent-Logs-Url: https://github.com/mitre/atomic/sessions/c16ce7d9-a10b-4a36-8839-bbe9714fe398 Co-authored-by: deacon-mp <61169193+deacon-mp@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix CI failure caused by tox blocking external git invocation
Fix tox CI failure: allowlist_externals blocking git/rm/cp
Apr 30, 2026
5 tasks
Contributor
|
Superseded by #63 (which now has CI green and consolidates the tox fix). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Tox was aborting before any tests ran because
git,rm, andcpwere blocked as external commands —allowlist_externalsused unsupported glob patterns (/usr/bin/git *) and was missingrmentirely. This caused all py31x matrix jobs to fail, andcoverage-cito error withNo data to combine.Changes to
tox.ini(applied to both[testenv]and[testenv:py38]):commandswith bare command names (git,rm,cp) for portability across runner environments.Type of change
How Has This Been Tested?
Verified via CI run on the PR branch across the py310/py311/py312/py313 matrix.
Checklist:
Original prompt
This pull request was created from Copilot chat.