From 4577937268f82d953b92bf0bacfbe56e8ce63d3d Mon Sep 17 00:00:00 2001 From: goldyfruit Date: Thu, 2 Jan 2025 16:32:15 -0500 Subject: [PATCH] [ansible] Full uv support --- ansible/roles/ovos_hardware_mark2/tasks/vocalfusion.yml | 2 +- ansible/roles/ovos_installer/tasks/virtualenv/venv.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ansible/roles/ovos_hardware_mark2/tasks/vocalfusion.yml b/ansible/roles/ovos_hardware_mark2/tasks/vocalfusion.yml index f84534d1..43032587 100644 --- a/ansible/roles/ovos_hardware_mark2/tasks/vocalfusion.yml +++ b/ansible/roles/ovos_hardware_mark2/tasks/vocalfusion.yml @@ -62,7 +62,7 @@ mode: "0644" - name: Create {{ ovos_installer_user_home }}/.venvs/sj201 Python - ansible.builtin.pip: + moreati.uv.pip: name: - Adafruit-Blinka - smbus2 diff --git a/ansible/roles/ovos_installer/tasks/virtualenv/venv.yml b/ansible/roles/ovos_installer/tasks/virtualenv/venv.yml index 31ade48b..f2e846ea 100644 --- a/ansible/roles/ovos_installer/tasks/virtualenv/venv.yml +++ b/ansible/roles/ovos_installer/tasks/virtualenv/venv.yml @@ -44,7 +44,7 @@ when: item.state | bool - name: Create {{ ovos_installer_user_home }}/.venvs/ovos Python venv with tflite_runtime - ansible.builtin.pip: + moreati.uv.pip: name: tflite_runtime virtualenv: "{{ ovos_installer_user_home }}/.venvs/ovos" virtualenv_command: "{{ ansible_python.executable }} -m venv" @@ -52,14 +52,14 @@ when: ovos_installer_cpu_is_capable | bool - name: Create {{ ovos_installer_user_home }}/.venvs/ovos Python venv without tflite_runtime - ansible.builtin.pip: + moreati.uv.pip: name: wheel virtualenv: "{{ ovos_installer_user_home }}/.venvs/ovos" virtualenv_command: "{{ ansible_python.executable }} -m venv" when: not ovos_installer_cpu_is_capable | bool - name: Install ggwave Python library - ansible.builtin.pip: + moreati.uv.pip: name: ggwave virtualenv: "{{ ovos_installer_user_home }}/.venvs/ovos" extra_args: "--trusted-host whl.smartgic.io -f 'https://whl.smartgic.io'"