Skip to content

add zst file handling for Python 3.14 and below#428

Open
shuchenliu wants to merge 2 commits into1.1.xfrom
zst-file-handling
Open

add zst file handling for Python 3.14 and below#428
shuchenliu wants to merge 2 commits into1.1.xfrom
zst-file-handling

Conversation

@shuchenliu
Copy link
Member

Python 3.14 adds native support for zst compression, which is now integrated into the tarfile module. This allows us to extend the existing .tar handling logic with minimal changes to support .zst files in the anyfile module.

For Python versions earlier than 3.14, additional checks and fallback handling are added to support zst while keeping the anyfile and open_anyfile APIs unified across Python versions.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

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