Skip to content

Commit c9b0c9f

Browse files
authored
Fix pypi auto release (#3490)
* Updated pypi release by also removing the pyparted hardcoded github version link
1 parent 79a4c7c commit c9b0c9f

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/python-publish.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,20 @@ jobs:
1111
deploy:
1212

1313
runs-on: ubuntu-latest
14+
permissions:
15+
# IMPORTANT: this permission is mandatory for Trusted Publishing
16+
id-token: write
1417
container:
1518
image: archlinux/archlinux:latest
1619
options: --privileged
1720
steps:
1821
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
19-
- name: Set up Python
20-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
21-
with:
22-
python-version: '3.x'
2322
- name: Prepare arch
2423
run: |
2524
pacman-key --init
2625
pacman --noconfirm -Sy archlinux-keyring
2726
pacman --noconfirm -Syyu
28-
pacman --noconfirm -Sy python-uv python-setuptools python-pip
27+
pacman --noconfirm -Sy python python-uv python-setuptools python-pip python-pyparted python-pydantic
2928
- name: Build archinstall
3029
run: |
3130
uv build --no-build-isolation --wheel

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ classifiers = [
1818
"Operating System :: POSIX :: Linux",
1919
]
2020
dependencies = [
21-
"pyparted @ https://github.com//dcantrell/pyparted/archive/v3.13.0.tar.gz#sha512=26819e28d73420937874f52fda03eb50ab1b136574ea9867a69d46ae4976d38c4f26a2697fa70597eed90dd78a5ea209bafcc3227a17a7a5d63cff6d107c2b11",
21+
"pyparted>=3.13.0",
2222
"pydantic==2.11.4",
2323
"cryptography>=44.0.2",
2424
]

0 commit comments

Comments
 (0)