Comment Comment by singularity2001 uv add --script wordlookup.py httpx# /// script # requires-python = ">=3.13" # dependencies = [ # "httpx", # ] # ///import httpxThat seems pretty redundant. Why can't UV just infer the dependencies from the import statements? parent singularity2001 1 year ago
# /// script # requires-python = ">=3.13" # dependencies = [ # "httpx", # ] # ///
import httpx
That seems pretty redundant. Why can't UV just infer the dependencies from the import statements?