Update pipdeptree to 4.2.2 (#180346)

This commit is contained in:
Franck Nijhof
2026-08-30 20:22:18 +02:00
committed by GitHub
parent 4016b01b89
commit d28987d2a7
2 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ pydantic==2.13.4
PyGithub==2.9.1
pylint==4.0.7
pylint-per-file-ignores==3.2.1
pipdeptree==2.26.1
pipdeptree==4.2.2
pytest-asyncio==1.4.0
pytest-aiohttp==1.1.1
pytest-cov==7.1.0
+5 -6
View File
@@ -552,13 +552,12 @@ def test_check_package_global(caplog: pytest.LogCaptureFixture) -> None:
def test_check_package_fragment(caplog: pytest.LogCaptureFixture) -> None:
"""Test for an installed package with a fragment."""
url = "git+https://github.com/home-assistant/core"
assert not package.is_installed(TEST_ZIP_REQ)
assert package.is_installed("git+https://github.com/pypa/pip#pip>=1")
assert not package.is_installed("git+https://github.com/pypa/pip#-1 invalid")
assert (
"Invalid requirement 'git+https://github.com/pypa/pip#-1 invalid'"
in caplog.text
)
assert package.is_installed(f"{url}#homeassistant>=1")
assert not package.is_installed(f"{url}#-1 invalid")
assert f"Invalid requirement '{url}#-1 invalid'" in caplog.text
def test_get_is_installed() -> None: