diff --git a/poetry.lock b/poetry.lock index e0b41244c5..91c6ad2514 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2491,21 +2491,21 @@ pytz = "*" [[package]] name = "pytest" -version = "8.4.2" +version = "9.0.3" description = "pytest: simple powerful testing with Python" optional = false -python-versions = ">=3.9" +python-versions = ">=3.10" groups = ["integration", "unit"] files = [ - {file = "pytest-8.4.2-py3-none-any.whl", hash = "sha256:872f880de3fc3a5bdc88a11b39c9710c3497a547cfa9320bc3c5e62fbf272e79"}, - {file = "pytest-8.4.2.tar.gz", hash = "sha256:86c0d0b93306b961d58d62a4db4879f27fe25513d4b969df351abdddb3c30e01"}, + {file = "pytest-9.0.3-py3-none-any.whl", hash = "sha256:2c5efc453d45394fdd706ade797c0a81091eccd1d6e4bccfcd476e2b8e0ab5d9"}, + {file = "pytest-9.0.3.tar.gz", hash = "sha256:b86ada508af81d19edeb213c681b1d48246c1a91d304c6c81a427674c17eb91c"}, ] [package.dependencies] colorama = {version = ">=0.4", markers = "sys_platform == \"win32\""} exceptiongroup = {version = ">=1", markers = "python_version < \"3.11\""} -iniconfig = ">=1" -packaging = ">=20" +iniconfig = ">=1.0.1" +packaging = ">=22" pluggy = ">=1.5,<2" pygments = ">=2.7.2" tomli = {version = ">=1", markers = "python_version < \"3.11\""} @@ -3365,4 +3365,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.1" python-versions = ">=3.10,<4.0" -content-hash = "b58774f3bc4742860fecac17d9139bc270851fab1ba75e3487d84efe1058c966" +content-hash = "bec01fd4aa939fdd1be5902b7737a9a18a31f523e5fbd04cfbb414067bf22b84" diff --git a/pyproject.toml b/pyproject.toml index 5bcd00fef4..8601d6ac2c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -113,7 +113,7 @@ types-PyYAML = "*" [tool.poetry.group.unit.dependencies] coverage = {extras = ["toml"], version = "^7.5.0"} -pytest = "^8.1.1" +pytest = "^9.0.0" parameterized = "^0.9.0" factory_boy = "*" mongomock = "^4.2.0.post1" @@ -122,7 +122,7 @@ pytest-mock = "*" [tool.poetry.group.integration.dependencies] coverage = {extras = ["toml"], version = "^7.5.0"} juju = "~3.6.0" -pytest = "^8.1.1" +pytest = "^9.0.0" pytest-mock = "*" pytest-asyncio = "^0.21.1" pytest-operator = "^0.36.0"