pytest-capturelog no longer exists
envgap__pexpect__pexpect-729
01 / FAILURE SIGNATURE
Captured in a clean container
ERROR: Could not find a version that satisfies the requirement pytest-capturelog (from versions: none)
02 / ENVIRONMENT RECIPE
- Base commit
acb017a97332c19a9295660fe87316926a8adc55- Manifest
requirements-testing.txt- Reproduce
python3 -m pip install -r requirements-testing.txt- Run under trace
python3 -m pip check
Reference environment fix used for admission
diff --git a/requirements-testing.txt b/requirements-testing.txt index 1894122..c47d7b1 100644 --- a/requirements-testing.txt +++ b/requirements-testing.txt @@ -2,4 +2,3 @@ pytest pytest-cov coverage coveralls -pytest-capturelog
03 / ORIGINAL ISSUE TEXT
pexpect/pexpect #729 · read the original issue
When installing unit test dependencies from `requirements-testing.txt`, an error occurs: ``` % virtualenv venv2 created virtual environment CPython3.6.9.final.0-64 in 3587ms <…> % . venv2/bin/activate % pip3 install -e . <…> Successfully installed pexpect-4.8.0 ptyprocess-0.7.0 % pip3 install -r requirements-testing.txt <…> ERROR: Could not find a version that satisfies the requirement pytest-capturelog (from versions: none) ERROR: No matching distribution found for pytest-capturelog % py.test zsh: command not found: py.test ``` It appears that the plugin `pytest-capturelog` no longer exists (https://pypi.org/project/pytest-capturelog/ returns 404 Not Found); its functionality has been merged into the pytest core since ~3.3 (see [deprecated.py](https://github.com/pytest-dev/pytest/blob/main/src/_pytest/deprecated.py#L17-L23)) and it should no longer be required.
04 / LABELS
Labels checked by running the task · needs human review
misspecificationunderspecificationLabel rules and the text that matched
[
{
"category": "misspecification",
"rule": "signature.unresolvable_declared_requirement",
"source": "failure_signature",
"excerpt": "ERROR: Could not find a version that satisfies the requirement pytest-capturelog (from versions: none)"
},
{
"category": "underspecification",
"rule": "signature.missing_system_requirement",
"source": "failure_signature",
"excerpt": "ERROR: Could not find a version that satisfies the requirement pytest-capturelog (from versions: none)"
}
]Mined from a merged pull request linked to the issue whose changed files are all environment files.
The base commit is the pull request's base, not the dated default-branch commit; the registry is pinned to the merge date so the pull request's own pins resolve.
Default commands from envgap default-recipe synthesizer v1; gold_files are the pull request's environment diff.
Preparation uses current registries. Historical package availability is not enforced here; execution metadata records this limitation separately from the oracle's date-bounding policy.