Skip to content

Use stdlib compression.zstd instead of zstandard/python-zstandard#329

Open
dholth wants to merge 1 commit into
mainfrom
305-compression-zstd
Open

Use stdlib compression.zstd instead of zstandard/python-zstandard#329
dholth wants to merge 1 commit into
mainfrom
305-compression-zstd

Conversation

@dholth

@dholth dholth commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Description

Fix #305

  • Do we maintain compatibility with any "pass a zstandard object" API users?
  • How about the ancient compression tuple from libarchive?
  • How does the performance, memory usage compare to the older version?
  • Should we set a default threads higher than 0 or 1? e.g. processors // 2?

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@dholth dholth requested a review from a team as a code owner June 3, 2026 16:28
@github-project-automation github-project-automation Bot moved this to 🆕 New in 🔎 Review Jun 3, 2026
@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Jun 3, 2026
@dholth dholth self-assigned this Jun 3, 2026
@dholth dholth force-pushed the 305-compression-zstd branch from 0292843 to 94a8008 Compare June 9, 2026 15:37

def _open_component_writer(component_file, pledged_size):
"""Open a zstd writer for a component file."""
if compressor is not None:

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Maybe the normal path (no compressor object) should go second

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

Labels

cla-signed [bot] added once the contributor has signed the CLA

Projects

Status: 🆕 New

Development

Successfully merging this pull request may close these issues.

Switch to compression.zstd, backports.zstd instead of zstandard

2 participants