From 92b0556e2749a61c9e1e88db54f97704faffa5e8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 9 Dec 2025 04:31:21 +0000 Subject: [PATCH] Update Python dependencies --- poetry.lock | 27 +++++++++++++-------------- pyproject.toml | 6 +++--- 2 files changed, 16 insertions(+), 17 deletions(-) diff --git a/poetry.lock b/poetry.lock index 447debaa88..51e40a7fec 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1564,25 +1564,24 @@ files = [ [[package]] name = "ops" -version = "2.23.1" +version = "3.4.0" description = "The Python library behind great charms" optional = false -python-versions = ">=3.8" +python-versions = ">=3.10" groups = ["main", "charm-libs"] files = [ - {file = "ops-2.23.1-py3-none-any.whl", hash = "sha256:fdf58163beafd25180c12a4c7efaf1e76e5f8710508a97840c07055bb78b0c77"}, - {file = "ops-2.23.1.tar.gz", hash = "sha256:aecacd67ef7ca913f63f397e0330bfa93d70529a3ef71ed2d99e2bc232564ae3"}, + {file = "ops-3.4.0-py3-none-any.whl", hash = "sha256:d5ea906cd9bf403fe0e83d10ee5ab9bd2307596a97c1690784f937d54d5a738c"}, + {file = "ops-3.4.0.tar.gz", hash = "sha256:e100d904f0616eb11345547ad35a95caf5a2d178efa8ad4beebd7f045192a64a"}, ] [package.dependencies] -importlib-metadata = "*" opentelemetry-api = ">=1.0,<2.0" PyYAML = "==6.*" websocket-client = "==1.*" [package.extras] -testing = ["ops-scenario (==7.23.1)"] -tracing = ["ops-tracing (==2.23.1)"] +testing = ["ops-scenario (==8.4.0)"] +tracing = ["ops-tracing (==3.4.0)"] [[package]] name = "packaging" @@ -2046,21 +2045,21 @@ pytz = "*" [[package]] name = "pytest" -version = "8.4.2" +version = "9.0.2" 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.2-py3-none-any.whl", hash = "sha256:711ffd45bf766d5264d487b917733b453d917afd2b0ad65223959f59089f875b"}, + {file = "pytest-9.0.2.tar.gz", hash = "sha256:75186651a92bd89611d1d9fc20f0b4345fd827c41ccd5c299a868a05d70edf11"}, ] [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\""} @@ -2889,4 +2888,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.1" python-versions = "^3.10" -content-hash = "a873e15c91096c867e63f8a9fa2a520d1c4ab29f33499e586cdf05e91f5fa7ae" +content-hash = "ca1c6b82723c2e5aca21a6d9578587da3413d5e35a69204f35a994ea9d37b1fb" diff --git a/pyproject.toml b/pyproject.toml index abbf826928..0b04e3d7f1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ requires-poetry = ">=2.0.0" [tool.poetry.dependencies] python = "^3.10" -ops = "^2.23.1" +ops = "^3.4.0" boto3 = "^1.42.0" pgconnstr = "^1.0.1" requests = "^2.32.5" @@ -53,14 +53,14 @@ optional = true [tool.poetry.group.unit.dependencies] coverage = {extras = ["toml"], version = "^7.12.0"} -pytest = "^8.4.2" +pytest = "^9.0.2" [tool.poetry.group.integration] optional = true [tool.poetry.group.integration.dependencies] lightkube = "^0.18.0" -pytest = "^8.4.2" +pytest = "^9.0.2" pytest-operator = "^0.43.2" allure-pytest-default-results = "^0.1.3" # renovate caret doesn't work: https://github.com/renovatebot/renovate/issues/26940