Skip to content

fix: bump zip to 9 (all zip 8.x releases are yanked) - #2957

Merged
wolfv merged 2 commits into
conda:mainfrom
wolfv:fix/zip-9
Oct 16, 2026
Merged

wolfv merged 2 commits into
conda:mainfrom
wolfv:fix/zip-9

Conversation

@wolfv

@wolfv wolfv commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

All zip 8.x releases (and 9.0.0–9.0.2) have been yanked on crates.io. Because rattler_package_streaming requires zip = "^8", downstream crates can no longer resolve fresh dependencies. For example, rattler-build's release-plz cargo update fails with:

error: failed to select a version for the requirement `zip = "^8"`
  version 8.0.0 is yanked
  ...
  version 8.6.0 is yanked
required by package `rattler_package_streaming v0.27.14`

This bumps zip to 9.0.3 and adapts to the zip 9 API changes:

  • ZipArchive::file_names() now yields Result<Cow<str>, ZipError>, so unreadable names are skipped when we look for the info-/pkg- entries.
  • ZipFile::mangled_name() now returns a Result, and its error is passed up with ?.

cargo test -p rattler_package_streaming --all-features passes locally.

A release of rattler_package_streaming after this lands would unblock rattler-build's release.

🤖 Generated with Claude Code

@wolfv
wolfv merged commit 5e544a6 into conda:main Oct 16, 2026
28 of 31 checks passed
@octo-sts octo-sts Bot mentioned this pull request Oct 16, 2026
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.

1 participant