diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 4a31c696ec..d074678884 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -11,21 +11,20 @@ jobs: deploy: runs-on: ubuntu-latest + permissions: + # IMPORTANT: this permission is mandatory for Trusted Publishing + id-token: write container: image: archlinux/archlinux:latest options: --privileged steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - - name: Set up Python - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 - with: - python-version: '3.x' - name: Prepare arch run: | pacman-key --init pacman --noconfirm -Sy archlinux-keyring pacman --noconfirm -Syyu - pacman --noconfirm -Sy python-uv python-setuptools python-pip + pacman --noconfirm -Sy python python-uv python-setuptools python-pip python-pyparted python-pydantic - name: Build archinstall run: | uv build --no-build-isolation --wheel diff --git a/pyproject.toml b/pyproject.toml index 7c71f667b5..b601b98514 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ classifiers = [ "Operating System :: POSIX :: Linux", ] dependencies = [ - "pyparted @ https://github.com//dcantrell/pyparted/archive/v3.13.0.tar.gz#sha512=26819e28d73420937874f52fda03eb50ab1b136574ea9867a69d46ae4976d38c4f26a2697fa70597eed90dd78a5ea209bafcc3227a17a7a5d63cff6d107c2b11", + "pyparted>=3.13.0", "pydantic==2.11.4", "cryptography>=44.0.2", ]