Replies: 1 comment 2 replies
-
# /// script
# ...
# [tool.hatch.env-vars]
# UV_INDEX_URL = "PRIVATE_URL"
# /// |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
schussda
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried following metadata in the script to set the UV_INDEX_URL but it doesnt work, how to set it?
Could not find the answer here:
https://hatch.pypa.io/latest/how-to/run/python-scripts/
error: Could not connect, are you offline?
Caused by: error sending request for url (https://pypi.org/simple/pyyaml/)
Caused by: client error (Connect)
Caused by: dns error: The requested name is valid, but no data of the requested type was found. (os error 11004)
Caused by: The requested name is valid, but no data of the requested type was found. (os error 11004)
[tool.hatch.envs.default.env-vars] doesnt work either
Beta Was this translation helpful? Give feedback.
All reactions