Skip to content

unexpected end of file when working with Azure Artifacts #2138

Open
@janbernloehr

Description

We are hosting our own pypi repo using Azure Artifacts. When compiling a larger requirements file ~ 500 reqs, uv chokes at different points when trying to download wheels

           uv_client::cached_client::fresh_request url="https://pkgs.dev.azure.com/path/to/our/pypi/download/cryptography/40.0.2/cryptography-40.0.2-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl#sha256=0dcca15d3a19a66e63662dc8d30f8036b07be851a8680eda92d079868f106288"
error: Failed to download: grpcio==1.62.0
  Caused by: The wheel grpcio-1.62.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl is not a valid zip file
  Caused by: an upstream reader returned an error: request or response body error: error reading a body from connection: unexpected end of file
  Caused by: request or response body error: error reading a body from connection: unexpected end of file
  Caused by: error reading a body from connection: unexpected end of file
  Caused by: unexpected end of file

repeating this fails at other points

pip compile works fine however, probably it is retrying in that case.

  • The uv version used 0.1.13
  • The uv command uv pip compile req.txt.in --no-emit-index-url --no-emit-find-links --output-file req.txt -v --index-url https://usr:[email protected]/path/to/our/pypi/simple/ --extra-index-url https://usr:[email protected]/path/to/some/other/pypi/simple/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    networkNetwork connectivity e.g. proxies, DNS, and SSL

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions