Skip to content

Commit

Permalink
Install nox with pip on ubunutu
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Dec 9, 2024
1 parent d5a8b11 commit 24f23c3
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/ubuntu/init.sls
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
{%- if grains['osrelease'] in ["20.04", "22.04",] %}
{% set install_cmd = "pip3 install nox" %}
{%- else %}
{% set install_cmd = "pip3 install --break-system-packages 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/ubuntu/pkgs/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ include:
- pkgs.python3
- pkgs.python3-pip
- pkgs.python3-venv
- pkgs.python3-nox
- pkgs.rng-tools
- pkgs.rsync
- pkgs.sed
Expand Down

0 comments on commit 24f23c3

Please sign in to comment.