Zanie Blue

Results 2960 comments of Zanie Blue

> The second one is even misleading, as the command is run on python Python 3.10.13 What do you mean by this? Can you share verbose logs?

Sorry, it seems like something really weird is going on here. Can you share full verbose logs for that last command?

And just to clarify, since I asked for the verbose logs before already, that's ``` uv pip install --verbose --python 3.10 "torch==1.12.0+cu113" "torchvision==0.13.0+cu113" "pytorch-lightning==1.9.5" --extra-index-url https://download.pytorch.org/whl/cu113 ```

If this is in GitHub Actions, it'd also be really helpful to share the code / a run in a public repository so we can debug what's going on.

Great thank you! I will open an issue to track an improvement here.

Closed by https://github.com/benfred/py-spy/pull/642

Indeed, that's what I had in mind. GitHub also returns a time to wait until attempting another request, so we can stash that in the global state and invalidate it...

> The base urls for the GitHub fast-paths are hardcoded and not exposed via the CLI / env vars, It'd be fine to add this as an environment variable, imo.

Thanks for the pull request! I'm not sure we should store the version in the receipt like this — can we instead read it from the site packages of the...

You can use `PythonEnvironment::from_root` as we do at https://github.com/astral-sh/uv/blob/324e9fe5cf67d98495427ceb9a390c854e2f9f18/crates/uv-tool/src/lib.rs#L179 then yeah you can grab the package information from site-packages as we do during `install` https://github.com/astral-sh/uv/blob/305868cdcc65aa7bc50378eb2cf65200a5a7a359/crates/uv/src/commands/tool/install.rs#L158-L162