def test_requirements_base__openapi() -> None:
    """Check that all dependencies in requirements/openapi.txt are also in
    requirements/base.txt."""
    openapi = {
        dep for dep in _requirements("openapi") if not dep.startswith("setuptools")
    }
    missing_deps = openapi - _requirements("base")
    assert not missing_deps
Check that all dependencies in requirements/openapi.txt are also in
    requirements/base.txt.
tests/test_requirements.py