Skip to content

Commit cff4d2a

Browse files
authored
fix(CI): Add missing CI dependencies and pin them (#56)
Signed-off-by: mprahl <[email protected]>
1 parent 1b1cfde commit cff4d2a

File tree

3 files changed

+24
-32
lines changed

3 files changed

+24
-32
lines changed

.github/actions/setup-python-ci/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ inputs:
77
description: 'Python version to use'
88
required: true
99
extra:
10-
description: 'uv extra group to install (defaults to ci)'
10+
description: 'uv extra group to install (defaults to test)'
1111
required: false
12-
default: ci
12+
default: test
1313

1414
runs:
1515
using: 'composite'

pyproject.toml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,17 @@ lint = [
2424
"yamllint==1.35.1",
2525
]
2626
test = [
27-
"pytest",
28-
"pytest-cov",
29-
"docker",
27+
# Pinned for reproducible test/CI runs
28+
"docker==7.1.0",
29+
"pytest==9.0.2",
30+
"pytest-cov==7.0.0",
31+
"pytest-timeout==2.4.0",
32+
"docstring-parser==0.17.0",
33+
"jinja2==3.1.6",
34+
"semver==3.0.4",
3035
]
31-
ci = [
32-
"pytest",
33-
"pytest-timeout",
34-
"docstring-parser",
35-
"jinja2",
36-
"semver",
37-
]
38-
# Local development (extends ci with additional tools)
36+
# Local development (extends test with additional tools)
3937
dev = [
40-
"kfp-components[ci]",
4138
"kfp-components[lint]",
4239
"kfp-components[test]",
4340
]

uv.lock

Lines changed: 13 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)