Skip to content

Commit 1316fde

Browse files
authored
TestKit: use up-to-date dependencies (#1212)
1 parent a346cad commit 1316fde

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ build-backend = "setuptools.build_meta"
7070

7171
[dependency-groups]
7272
# To install all development dependencies as well as the driver with all optional dependencies,
73-
# run `pip install --group dev`
73+
# run `pip install --group dev -e .` inside repository root folder.
7474
dev = [
7575
# dev tools
7676
{include-group = "dep-project-dependencies"},

testkit/build.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,15 @@
2121

2222
if __name__ == "__main__":
2323
run_python(
24-
["-m", "pip", "install", "--group", "packaging"],
24+
["-m", "pip", "install", "-U", "pip"],
25+
warning_as_error=False,
26+
)
27+
run_python(
28+
["-m", "pip", "install", "-U", "--group", "packaging"],
2529
warning_as_error=False,
2630
)
2731
run_python(["-m", "build", "."], warning_as_error=True)
2832
run_python(
29-
["-m", "pip", "install", "--group", "testkit", "-e", "."],
33+
["-m", "pip", "install", "-U", "--group", "testkit", "-e", "."],
3034
warning_as_error=False,
3135
)

testkit/integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
if __name__ == "__main__":
2121
run_python(
22-
["-m", "pip", "install", "--group", "tox"],
22+
["-m", "pip", "install", "-U", "--group", "tox"],
2323
warning_as_error=False,
2424
)
2525
run_python(["-m", "tox", "-vv", "-f", "integration"])

testkit/unittests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
if __name__ == "__main__":
2121
run_python(
22-
["-m", "pip", "install", "--group", "tox"],
22+
["-m", "pip", "install", "-U", "--group", "tox"],
2323
warning_as_error=False,
2424
)
2525
run_python(

0 commit comments

Comments
 (0)