astral-sh / astral-sh/python-build-standalone

Receiving "stream did not contain valid UTF-8" errors in recent builds when unpacking

Open
#824 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.4k
Forks
314
Avg merge
1d 9h
Merged PRs (30d)
27

Description

In a recent release, I think this one https://github.com/astral-sh/python-build-standalone/releases/tag/20251007, since it started triggering with Python 3.14.0, the prebuilts now error with "stream did not contain valid UTF-8" when attempting to unpack.

More info: https://github.com/moonrepo/plugins/issues/87

For unpacking, I'm using the `tar` and `zstd` crates: https://github.com/moonrepo/starbase/blob/master/crates/archive/src/tar.rs#L176 I've tried different versions of these crates with no luck.

Did something change recently in the build process that could have possibly introduced this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.