From c5d34ad5ed4571c85e185054852d8700ebe94eb6 Mon Sep 17 00:00:00 2001 From: Idan Adar Date: Mon, 16 Mar 2026 07:45:29 +0200 Subject: [PATCH] patch: fix publishing --- .github/workflows/publish.yaml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index daa16c2..172e494 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -17,20 +17,13 @@ jobs: uses: actions/setup-python@v6 with: python-version: 3.9 - - name: Install pypa/build - run: >- - python -m - pip install - build - --user + - name: Install build dependencies with pinned setuptools + run: | + python -m pip install --upgrade pip + python -m pip install "setuptools<82" build wheel --user - name: Build a binary wheel and a source tarball - run: >- - python -m - build - --sdist - --wheel - --outdir dist/ - . + run: | + python -m build --sdist --wheel --outdir dist/ . - name: Publish distribution to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: