Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ansible] Full uv support #235

Merged
merged 1 commit into from
Jan 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ansible/roles/ovos_hardware_mark2/tasks/vocalfusion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions ansible/roles/ovos_installer/tasks/virtualenv/venv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,22 @@
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"
extra_args: "--trusted-host whl.smartgic.io -f 'https://whl.smartgic.io'"
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'"
Expand Down
Loading