Skip to content

Commit

Permalink
ci: try to use --config-setting break-system-packages=true
Browse files Browse the repository at this point in the history
  • Loading branch information
k4black committed May 14, 2024
1 parent f5e8d7e commit a9d622c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a9d622c

Please sign in to comment.