diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a208b1a..dc09fef 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -58,7 +58,7 @@ jobs: - name: Build wheel run: | python3 -m pip install --upgrade build - python3 -m build --no-isolation --wheel --sdist --outdir ./dist + python3 -m build --wheel --sdist --outdir ./dist - uses: pypa/gh-action-pypi-publish@release/v1 sync-to-hf-hub: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2d21fd7..4474ef7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -59,7 +59,7 @@ jobs: - name: Build wheel run: | python3 -m pip install --upgrade build - python3 -m build --no-isolation --wheel --sdist --outdir ./dist + python3 -m build --wheel --sdist --outdir ./dist --config-setting break-system-packages=true - name: Show dist files run: ls -lah ./dist shell: bash