Skip to content

Caused by: Missing href attribute on anchor link: #11

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

Closed
goldyfruit opened this issue Dec 21, 2024 · 5 comments
Closed

Caused by: Missing href attribute on anchor link: #11

goldyfruit opened this issue Dec 21, 2024 · 5 comments

Comments

@goldyfruit
Copy link

This same task works fine with the ansible.builtin.pip module.

- name: Install ggwave Python library
  moreati.uv.pip:
    name: ggwave
    virtualenv: "{{ ovos_installer_user_home }}/.venvs/ovos"
    extra_args: "-f 'https://whl.smartgic.io/'"
  when: ansible_architecture == "aarch64" or ansible_architecture == "x86_64"

Error:

TASK [ovos_installer : Install ggwave Python library] **************************************************************
Saturday 21 December 2024  13:44:37 -0500 (0:00:00.023)       0:00:29.879 ***** 
fatal: [127.0.0.1]: FAILED! => {"changed": false, "cmd": ["/home/goldyfruit/.venvs/ovos-installer/bin/uv", "pip", "install", "--python", "/home/goldyfruit/.venvs/ovos/bin/python", "-f", "https://whl.smartgic.io/", "ggwave"], "msg": "\n:stderr: Using Python 3.11.11 environment at: /home/goldyfruit/.venvs/ovos\nerror: Failed to read `--find-links` URL: https://whl.smartgic.io/\n  Caused by: Received some unexpected HTML from https://whl.smartgic.io/\n  Caused by: Missing href attribute on anchor link: `/`\n"}
@goldyfruit
Copy link
Author

This doesn't seem to be an issue related to this module but to uv itself.

@moreati
Copy link
Owner

moreati commented Dec 23, 2024

refs #7

@goldyfruit
Copy link
Author

Do you have any thoughts on this? I know this is not directly related to this module.

@moreati
Copy link
Owner

moreati commented Jan 2, 2025

commented in linked issue. Edit: Fixing it here is definately out of scope.

@goldyfruit
Copy link
Author

Fix got merged astral-sh/uv#10276

Thanks for shimming in!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants