Skip to content

Commit

Permalink
CI: fix a regression due to changes in pip
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Aug 14, 2024
1 parent 2faf92f commit c7ae1ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
python-version: '3.12'

- name: Install cibuildwheel
run: python -m pip install --upgrade cibuildwheel
run: python -m pip install --break-system-packages --upgrade cibuildwheel

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --upgrade build twine
python -m pip install --break-system-packages --upgrade pip
python -m pip install --break-system-packages --upgrade build twine
- name: Build SDist
run: python -m build --sdist
Expand All @@ -27,7 +27,7 @@ jobs:

- name: Test
run: |
python -m pip install dist/*.tar.gz pytest requests
python -m pip install --break-system-packages dist/*.tar.gz pytest requests
pytest test/ --ignore test/test_ros.py --color=yes -v
- uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -68,11 +68,11 @@ jobs:

- name: Download test data
run: |
python -m pip install pytest requests
python -m pip install --break-system-packages pytest requests
python -m pytest test --color=yes || true
- name: Install cibuildwheel
run: python -m pip install cibuildwheel
run: python -m pip install --break-system-packages cibuildwheel

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
Expand Down

0 comments on commit c7ae1ff

Please sign in to comment.