def test_min_deps(session: nox.Session) -> None:
    """Run the unit tests using the lowest compatible version of all direct dependencies."""
    session.install("--resolution", "lowest-direct", "--editable", ".[test]")
    session.run(
        "pytest",
        "tests/unit",
        "-rxXs",  # Show provided reason in summary for (x)fail, (X)pass, and (s)kipped tests
        *session.posargs,
    )
Run the unit tests using the lowest compatible version of all direct dependencies.
noxfile.py