-
Notifications
You must be signed in to change notification settings - Fork 484
Update conda-build to remove libarchive-style zstd:compression-level compression tuple #5206
Copy link
Copy link
Open
Labels
source::anacondacreated by members of Anaconda, Inc.created by members of Anaconda, Inc.type::featurerequest for a new feature or capabilityrequest for a new feature or capability
Description
Checklist
- I added a descriptive title
- I searched open requests and couldn't find a duplicate
What is the idea?
While reading conda-build's source code I noticed
cph_kwargs["compression_tuple"] = (
".tar.zst",
"zstd",
f"zstd:compression-level={metadata.config.zstd_compression_level}",
)
This references a libarchive feature.
Now that conda-package-handling is using python-zstandard, we can set compression without string parsing. We could also allow auto-threads. We would need to require conda-package-handling >=2.
Unfortunately the current conda-package-handling API would require us to instantiate a python-zstandard object ourselves, which would be unfortunate if -handling decided to change its preferred compression library.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
source::anacondacreated by members of Anaconda, Inc.created by members of Anaconda, Inc.type::featurerequest for a new feature or capabilityrequest for a new feature or capability