Skip to content

[1.8] Hash metadata as bytes#9090

Merged
radoering merged 1 commit into1.8from
backport-9049-to-1.8
Mar 2, 2024
Merged

[1.8] Hash metadata as bytes#9090
radoering merged 1 commit into1.8from
backport-9049-to-1.8

Conversation

@poetry-bot
Copy link
Copy Markdown

@poetry-bot poetry-bot Bot commented Mar 2, 2024

Backport 28d5c00 from #9049.

Because warehouse doesn't send a charset, this can get decoded as something
other than utf-8, which doesn't encode (as utf-8) back to the same bytes. For
hash purposes especially, just look at the original bytes.

(cherry picked from commit 28d5c00)
@radoering radoering enabled auto-merge (rebase) March 2, 2024 06:03
@radoering radoering merged commit 03f3232 into 1.8 Mar 2, 2024
@radoering radoering deleted the backport-9049-to-1.8 branch March 2, 2024 06:43
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 2, 2024

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants