Skip to content

Commit

Permalink
misc: Use --break-system-packages with PIP
Browse files Browse the repository at this point in the history
We want to install the dependencies system-wide so we need to run
pip install with --break-system-packages.
  • Loading branch information
vojtechtrefny committed Mar 5, 2024
1 parent 4ae05be commit ca52229
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions misc/install-test-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
- name: Install pocketlint, blivet and pid using pip (Ubuntu/Debian)
pip:
name: ['pocketlint', 'blivet', 'pid']
extra_args: --break-system-packages
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Debian"

- name: Install runtime and build dependencies (OpenSUSE)
Expand Down Expand Up @@ -163,4 +164,5 @@
- name: Install pocketlint, blivet and pid using pip (openSUSE)
pip:
name: ['pocketlint', 'blivet', 'pid']
extra_args: --break-system-packages
when: ansible_os_family == "Suse"

0 comments on commit ca52229

Please sign in to comment.