1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-24 17:16:12 +01:00

Merge pull request #1263 from dmach/allow-pip-break-system-packages

GHA: Enable global.break-system-packages option for pip
This commit is contained in:
Daniel Mach 2023-02-14 15:56:55 +01:00 committed by GitHub
commit ac153a27fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View File

@ -111,6 +111,7 @@ jobs:
- name: 'Install osc from pip' - name: 'Install osc from pip'
run: | run: |
pip config set global.break-system-packages 1
pip3 install . pip3 install .
- name: 'Run installed osc' - name: 'Run installed osc'

View File

@ -17,6 +17,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4
- run: pip config set global.break-system-packages 1
- run: pip install mypy - run: pip install mypy
- run: pip install types-cryptography types-urllib3 - run: pip install types-cryptography types-urllib3
- run: pip install distro keyring progressbar zstandard - run: pip install distro keyring progressbar zstandard

View File

@ -78,6 +78,7 @@ jobs:
- name: 'Run unit tests' - name: 'Run unit tests'
run: | run: |
pip3 config set global.break-system-packages 1
pip3 install -e . pip3 install -e .
python3 setup.py test python3 setup.py test