uv sync
gets stuck if the index and lockfile URLs are not reachable and there are dynamic fields in pyproject
#8074
Labels
bug
Something isn't working
Problem description
uv sync
gets stuck (I waited for more than 5 minutes before killing it) if:extra-index-url
orindex-url
, either in~/.config/uv/uv.toml
or inpyproject.toml
)Steps to reproduce:
uv sync
in a directory with this pyproject.toml.txt and this uv.lock.txt files (removing the.txt
suffix I had to add so that github allowed me to upload the files)If you change the url to a responsive one, it will fail with an error because there will be no git repository to get the version from, no any
src/test_app
package, but that'd be the expected behavior.Versions
Platform: macOS 14.6.1
uv version: uv 0.4.19 (Homebrew 2024-10-07)
Debug traces
The text was updated successfully, but these errors were encountered: