Skip to content

Commit

Permalink
Install newest pip on debian
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Dec 8, 2024
1 parent 339a65c commit 4da8193
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 12 additions & 0 deletions custom/testing/golden-state-tree/os/debian/init.sls
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
{%- if grains['osrelease'] != '11' %}
{% set install_cmd = "pip3 install --break-system-packages nox" %}
{%- else %}
{% set install_cmd = "pip3 install nox" %}
{%- endif %}

include:
- .config
- .pkgs

install_nox:
cmd.run:
- name: {{ install_cmd }}
- require:
- python3-pip
1 change: 0 additions & 1 deletion custom/testing/golden-state-tree/os/debian/pkgs/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ include:
- pkgs.patch
- pkgs.python3
- pkgs.python3-pip
- pkgs.python3-nox
- pkgs.rng-tools
- pkgs.rsync
- pkgs.sed
Expand Down

0 comments on commit 4da8193

Please sign in to comment.