Skip to content

Commit 9ebdd43

Browse files
committed
fix: support core metadata 2.5 in publish workflow
1 parent 5645dc0 commit 9ebdd43

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

‎.changeset/fix-pypi-publishing.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@fingerprint/python-sdk': patch
3+
---
4+
5+
Fix package publishing to PyPI.

‎.github/workflows/publish.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: uv build
4242

4343
- name: Publish package distributions to PyPI
44-
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
44+
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
4545

4646
e2e-tests:
4747
needs: publish

‎pyproject.toml‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ dev = [
5353
requires = ["hatchling"]
5454
build-backend = "hatchling.build"
5555

56+
[tool.uv]
57+
build-constraint-dependencies = ["hatchling==1.32.0"]
58+
5659
[tool.pylint.'MESSAGES CONTROL']
5760
extension-pkg-whitelist = "pydantic"
5861

@@ -119,4 +122,4 @@ ignore = ["UP007", "UP045", "SIM108"]
119122
quote-style = "single"
120123
indent-style = "space"
121124
skip-magic-trailing-comma = false
122-
line-ending = "auto"
125+
line-ending = "auto"

0 commit comments

Comments
 (0)