Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use force_zip64=True when directly creating .conda files #249

Merged
merged 2 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions news/248-use-zip64
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
### Enhancements

* <news item>

### Bug fixes

* Use force_zip64=True when directly creating .conda files. Allows >2GB
(compressed) size. (#248)

### Deprecations

* <news item>

### Docs

* <news item>

### Other

* <news item>
2 changes: 1 addition & 1 deletion src/conda_package_handling/conda_fmt.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def tell(self):
sizer.add(file, filter=utils.anonymize_tarinfo)
size = sizer.fileobj.size # type: ignore

with conda_file.open(component, "w") as component_file:
with conda_file.open(component, "w", force_zip64=True) as component_file:
# only one stream_writer() per compressor() must be in use at a time
component_stream = compress.stream_writer(
component_file, size=size, closefd=False
Expand Down
Loading