From 57bff9fe021bde2a38cc014c66296db1685f3ac0 Mon Sep 17 00:00:00 2001 From: Robsdedude Date: Tue, 24 Jun 2025 10:06:44 +0200 Subject: [PATCH] TestKit: use up-to-date dependencies --- pyproject.toml | 2 +- testkit/build.py | 8 ++++++-- testkit/integration.py | 2 +- testkit/unittests.py | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 709901627..c02b395cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,7 +70,7 @@ build-backend = "setuptools.build_meta" [dependency-groups] # To install all development dependencies as well as the driver with all optional dependencies, -# run `pip install --group dev` +# run `pip install --group dev -e .` inside repository root folder. dev = [ # dev tools {include-group = "dep-project-dependencies"}, diff --git a/testkit/build.py b/testkit/build.py index 07c201376..8c89be20a 100644 --- a/testkit/build.py +++ b/testkit/build.py @@ -21,11 +21,15 @@ if __name__ == "__main__": run_python( - ["-m", "pip", "install", "--group", "packaging"], + ["-m", "pip", "install", "-U", "pip"], + warning_as_error=False, + ) + run_python( + ["-m", "pip", "install", "-U", "--group", "packaging"], warning_as_error=False, ) run_python(["-m", "build", "."], warning_as_error=True) run_python( - ["-m", "pip", "install", "--group", "testkit", "-e", "."], + ["-m", "pip", "install", "-U", "--group", "testkit", "-e", "."], warning_as_error=False, ) diff --git a/testkit/integration.py b/testkit/integration.py index 22c6136a9..01697f3f1 100644 --- a/testkit/integration.py +++ b/testkit/integration.py @@ -19,7 +19,7 @@ if __name__ == "__main__": run_python( - ["-m", "pip", "install", "--group", "tox"], + ["-m", "pip", "install", "-U", "--group", "tox"], warning_as_error=False, ) run_python(["-m", "tox", "-vv", "-f", "integration"]) diff --git a/testkit/unittests.py b/testkit/unittests.py index 675782802..721f9a53c 100644 --- a/testkit/unittests.py +++ b/testkit/unittests.py @@ -19,7 +19,7 @@ if __name__ == "__main__": run_python( - ["-m", "pip", "install", "--group", "tox"], + ["-m", "pip", "install", "-U", "--group", "tox"], warning_as_error=False, ) run_python(