Skip to content

ci: Remove pytest-localserver from requirements-testing.txt#6612

Merged
alexander-alderman-webb merged 11 commits into
masterfrom
webb/requirements-testing/pytest-localserver
Jun 24, 2026
Merged

ci: Remove pytest-localserver from requirements-testing.txt#6612
alexander-alderman-webb merged 11 commits into
masterfrom
webb/requirements-testing/pytest-localserver

ci: Remove pytest-localserver from requirements-testing.txt

1fab687
Select commit
Loading
Failed to load commit list.
@sentry/warden / warden: find-bugs completed Jun 22, 2026 in 0s

1 issue

find-bugs: Found 1 issue (1 high)

High

Removing pytest-localserver breaks all tests due to hard import in conftest.py - `requirements-testing.txt:6`

Removing pytest-localserver from requirements-testing.txt will cause an ImportError at test collection time because tests/conftest.py unconditionally imports from pytest_localserver.http import WSGIServer, crashing the entire test suite.


⏱ 12.1s · 41.7k in / 2.4k out · $0.13

Annotations

Check failure on line 6 in requirements-testing.txt

See this annotation in the file changed.

@sentry-warden sentry-warden / warden: find-bugs

Removing pytest-localserver breaks all tests due to hard import in conftest.py

Removing `pytest-localserver` from `requirements-testing.txt` will cause an `ImportError` at test collection time because `tests/conftest.py` unconditionally imports `from pytest_localserver.http import WSGIServer`, crashing the entire test suite.