Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uv sync consistently returns error in combination with local repository #12231

Open
MaartendeRuyter opened this issue Mar 17, 2025 · 2 comments
Labels
needs-mre Needs more information for reproduction

Comments

@MaartendeRuyter
Copy link

MaartendeRuyter commented Mar 17, 2025

Summary

When running uv -sync --upgrade in combination with a local repository, broken pipe errors keep on popping up.
After rerunning uv -sync --upgrade a number of times eventually the sync finishes successfully. See below the terminal output

Pyproject.toml
[[tool.uv.index]]
url = "http://localhost:8080/"
default = false

Terminal Output
uv sync --upgrade
⠙ bunnet==1.3.0 error: Failed to fetch: http://localhost:8080/lazy-loader/
Caused by: error sending request for url (http://localhost:8080/simple/lazy-loader/)
Caused by: client error (SendRequest)
Caused by: error writing a body to connection
Caused by: Broken pipe (os error 32)
❯ uv sync --upgrade
⠙ location-loader==1.1.5 error: Failed to fetch: http://localhost:8080/mongoengine/
Caused by: error sending request for url (http://localhost:8080/simple/mongoengine/)
Caused by: client error (SendRequest)
Caused by: error writing a body to connection
Caused by: Broken pipe (os error 32)
❯ uv sync --upgrade
⠸ python-dotenv==1.0.1
Resolved 98 packages in 2.79s
Prepared 2 packages in 66ms
Uninstalled 2 packages in 14ms
Installed 2 packages in 23ms

  • anyio==4.8.0
  • anyio==4.9.0
  • geo-datagarden-models==1.1.7
  • geo-datagarden-models==1.1.8

Platform

mac OS15 M2

Version

uv 0.6.6

Python version

3.13

@MaartendeRuyter MaartendeRuyter added the bug Something isn't working label Mar 17, 2025
@charliermarsh
Copy link
Member

I think we'd need a more complete reproduction to help here, like a GitHub repo we can clone and a series of steps we can run to reproduce the error ourselves.

@charliermarsh charliermarsh added needs-mre Needs more information for reproduction and removed bug Something isn't working labels Mar 17, 2025
@MaartendeRuyter
Copy link
Author

Ok I will try and make a repo where this can be reproduced

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-mre Needs more information for reproduction
Projects
None yet
Development

No branches or pull requests

2 participants