Skip to content

Commit 740d5d6

Browse files
committed
Update CI workflows to use python -m for package installation and signing
- Modified publish-python-sdk.yml and release-python-sdk.yml to replace 'uv' commands with 'python -m' for installing and signing packages, ensuring compatibility and consistency in the execution environment. - No changes made to the version in _version.py, maintaining the current version as 0.0.2b8.
1 parent 10360af commit 740d5d6

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/publish-python-sdk.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,13 @@ jobs:
128128

129129
- name: Sign the package
130130
run: |
131-
uv pip install -U pypi-attestations
132-
uv run pypi_attestations sign dist/*
131+
python -m pip install -U pypi-attestations
132+
python -m pypi_attestations sign dist/*
133133
134134
- name: Publish to PyPI with provenance
135135
run: |
136-
uv pip install -U twine
137-
uv run twine upload --attestations dist/*
136+
python -m pip install -U twine
137+
python -m twine upload --attestations dist/*
138138
139139
- name: Upload SBOM artifacts
140140
uses: actions/upload-artifact@v4

.github/workflows/release-python-sdk.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,13 +182,13 @@ jobs:
182182

183183
- name: Sign the package
184184
run: |
185-
uv pip install -U pypi-attestations
186-
uv run pypi_attestations sign dist/*
185+
python -m pip install -U pypi-attestations
186+
python -m pypi_attestations sign dist/*
187187
188188
- name: Publish to PyPI with provenance
189189
run: |
190-
uv pip install -U twine
191-
uv run twine upload --attestations dist/*
190+
python -m pip install -U twine
191+
python -m twine upload --attestations dist/*
192192
193193
- name: Upload SBOM artifacts
194194
uses: actions/upload-artifact@v4
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = "0.0.2b8"
1+
version = "0.0.2b8"

0 commit comments

Comments
 (0)