Skip to content

Commit b7af0eb

Browse files
committed
fix: install uv in python-semantic-release action
1 parent 7e750d1 commit b7af0eb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ dependencies = [
2222
"pydantic"
2323
]
2424

25+
[project.optional-dependencies]
26+
build = ["uv>=0.8.0,<0.9.0"] # For python-semantic-release build command, used in GitHub actions
27+
2528
[project.urls]
2629
Homepage = "https://github.com/LinkupPlatform/linkup-python-sdk"
2730
Documentation = "https://github.com/LinkupPlatform/linkup-python-sdk#readme"
@@ -84,6 +87,7 @@ commit_parser = "conventional"
8487
allow_zero_version = true
8588
major_on_zero = false
8689
build_command = """
90+
python -m pip install -e '.[build]'
8791
uv lock --upgrade-package "$PACKAGE_NAME"
8892
git add uv.lock
8993
uv build

0 commit comments

Comments
 (0)