-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Failed to download distributions
with unexpected BufError
errors
#1710
Comments
Interesting thanks for the thorough report! Related: This looks like an issue with our |
Yeah. It's very tough to know what's going wrong here with such short message. Another point on |
Yep agree see #1569 |
Awesome, I'll follow there for progress on that! |
I've started seeing a similar error on Mac (Apple Silicon), this time when using
|
It looks like maybe this comes from uv/crates/uv-extract/src/stream.rs Line 22 in 8d72183
It seems like either:
|
So, a bit more information - though likely a bit vague. When using
I feel like I've read somewhere, on some of the issues, that I'm not sure, really, but trying to hypothesize what might be wrong, given I don't have access to that proxy code, and I'm Rust-ignorant :( |
It's reasonable that we should just fall back to non-range requests when we see a |
I would recommend reporting that buffer overflow as a bug to the proxy you're using (if you can), it seems like the proxy is failing to buffer the streamed data correctly sometimes. |
In case it'd help someone else, I got this It was just a bit difficult to understand what was the nature of the failure based on the error |
Hello,
My team develops locally mostly using MacOS, but we use a CI/CD (Amazon Linux 2) system as part of our development process.
We have a python package, with
pyproject.toml
and we use https://github.com/pyinvoke/invoke to manage our build scripts.The main task in question now in
tasks.py
, usesuv pip install
and looks as followsWe use
uv==0.1.5
.We're trying to move to using
uv
for its speed gains.On MacOS, everything works as expected.
On the CI/CD host, we sometimes - more often than not - run into an error that originates from the
uv pip install
call in thedevelop
task.The error consistently looks as follows. The error sometimes changes the dependency it's failing to fetch.
I'm attaching the
--verbose
output for a failed run and its successful retry. Note that I've slightly modified this to drop index urls, and package name, but the full list of dependencies should be there at the end of 2nd successful attempt.uv_attempt1_fail.log
uv_attempt2_success.log
The text was updated successfully, but these errors were encountered: