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 publish raise error Caused by: error decoding response body #10186

Closed
andrew000 opened this issue Dec 26, 2024 · 5 comments · Fixed by #10187
Closed

uv publish raise error Caused by: error decoding response body #10186

andrew000 opened this issue Dec 26, 2024 · 5 comments · Fixed by #10187
Assignees
Labels
bug Something isn't working

Comments

@andrew000
Copy link

Using astral-sh/setup-uv@v5 and UV_VERSION latest or 0.5.12 causes error when publishing package: https://github.com/andrew000/FTL-Extract/actions/runs/12509313775/job/34898612613#step:8:12

Using UV_VERSION 0.5.11 works good:
https://github.com/andrew000/FTL-Extract/actions/runs/12509365391/job/34898720613

@Frazzer951
Copy link

I'm also getting the same error when trying to install a package through an AWS code-artifact. 0.5.12 fails while 0.5.11 works fine.

@charliermarsh
Copy link
Member

Thank you. @andrew000 -- do you know if you intend to be using trusted publishing?

(@Frazzer951 -- I assume you mean publishing? Or are you seeing a different issue?)

@charliermarsh
Copy link
Member

It looks like this might be due to a change in reqwest. I will likely revert and publish a new version: seanmonstar/reqwest@d36c0f5

@Frazzer951
Copy link

@charliermarsh Mine occurs when doing a uv pip install

> uv pip install -e ".[dev]" --index-url https://<<AWS CodeArtifact Url>>
Using Python 3.11.9 environment at: /Users/luke/.pyenv/versions/3.11.9/envs/analytics
  × Failed to build `pipeline @ file:///Users/luke/Sonarverse/analytics`
  ├─▶ Failed to resolve requirements from `build-system.requires`
  ├─▶ No solution found when resolving: `setuptools`
  ├─▶ Failed to fetch: `https://<<AWS CodeArtifact Url>>/setuptools/`
  ├─▶ error decoding response body
  ╰─▶ there are extra bytes after body has been decompressed

@charliermarsh
Copy link
Member

Got it, thanks. I'll go ahead and revert!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants