Skip to content

Conversation

Carreau
Copy link

@Carreau Carreau commented Oct 8, 2025

In particular zstandard does not ships with all
the wheels of backports.zstd, and remove one
dependency on 3.14+.

Drawback might be some platforms may not package backports.zstd yet

Closes #2077

I can also do the same but conditionally using zstandard instead of backports.zstd.

It's also unclear to me where this codepath is tested (if tested).

In particular zstandard does not ships with all
the wheels of backports.zstd, and remove one
dependency on 3.14+.

Drawback might be some platforms may not package backports.zstd yet

Closes pypa#2077
@Rogdham
Copy link

Rogdham commented Oct 8, 2025

See also #2034 which took the approach of using the tarfile module from the backport, which has built-in support for Zstandard.

@Carreau
Copy link
Author

Carreau commented Oct 8, 2025

AH thanks, I don't know how I missed it.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use compression.zstd on 3.14 and newer

2 participants