mirror of
https://github.com/home-assistant/core.git
synced 2026-09-25 07:51:46 -05:00
Update pipdeptree to 4.2.2 (#180346)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user