Skip to content

Conversation

@lukeshingles
Copy link
Contributor

@lukeshingles lukeshingles commented Jun 23, 2025

PEP 748 adds zstandard compression to the standard library from version 3.14 (currently in beta). This PR changes the import behaviour for zstd to try compression.zstd first before trying to import zstandard. The test dependency on zstandard is restricted to python_version < '3.14'.

@martindurant
Copy link
Member

Should we wait until 3.14 is released?

@lukeshingles
Copy link
Contributor Author

lukeshingles commented Jun 24, 2025

I don't think there's much risk of the compression.zstd API used here changing, but the ABI will be locked at the first release candidate on July 22 (so wheels can be published).

@martindurant martindurant merged commit f4ecb39 into fsspec:master Jun 24, 2025
9 of 10 checks passed
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.

2 participants