Zanie Blue
Zanie Blue
I generally have a preference for the "We could look for a file path matching the URL, and if it exists, either use the local file or report an error."...
See also https://github.com/astral-sh/uv/issues/7396#issuecomment-2351129628
I sort of prefer "just works"
`uv build` is an explicit request for a build, so... yes we'll force the package to be built there. Can you open a new issue with more details if you...
Those are both out of scope for this issue — though `uv build` should be trivial once `uv publish` is set up. See https://github.com/astral-sh/uv/issues/1510 for the relevant tracking issue there.
Ah interesting. We determine the interpreter to use _before_ we resolve the package because we need the markers to perform resolution.
I guess we could just... download the version and try again with the known requirements instead of failing. I don't think it'd be too slow since it's a rare case.
@notatallshaw that's roughly the idea that was pursued in https://github.com/astral-sh/uv/pull/7827
We should probably test with a Poetry project, e.g. https://github.com/astral-sh/packse/commit/21e7d6b4f915362dca71f77659bf5826ebd6ff67 (the commit before I switched to uv!)
I think we'll probably provide a `setup-uv` action in the future that manages installation, presumably that could handle caching. I'm pretty hesitant to complicate the integration guide here, but am...