Skip to content

Commit 36ffa8f

Browse files
authored
Merge pull request #101 from blues/alex-add-version-match
fix: tomllib for 3.13.2
2 parents 38c117d + a479c59 commit 36ffa8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/python-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Check version matches
2525
run: |
2626
# Extract version from pyproject.toml using Python
27-
PACKAGE_VERSION=$(python -c "import tomli; print(tomli.loads(open('pyproject.toml', 'rb').read().decode('utf-8'))['project']['version'])")
27+
PACKAGE_VERSION=$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml', 'rb'))['project']['version'])")
2828
# Extract version from git tag (remove 'v' prefix)
2929
GIT_TAG_VERSION=${GITHUB_REF#refs/tags/v}
3030
# Compare versions

0 commit comments

Comments
 (0)