diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a620693..9ced3e2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fa0dfdf..fb4c6e1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 @@ -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 @@ -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