Skip to content

Conversation

@chadlwilson
Copy link
Contributor

@chadlwilson chadlwilson commented Oct 28, 2025

The only change with our rubyzip 3 upgrade in #571 was to use keyword arg create: true rather than positional create = true.

Support for keyword args like this was added in rubyzip 2.1.0 (https://github.com/rubyzip/rubyzip/releases/tag/v2.1.0) via rubyzip/rubyzip#418 so we don't need such a strict requirement on 3.x. The other breaking changes in rubyzip 3.0 don't appear to be important for warbler: https://github.com/rubyzip/rubyzip/wiki/Updating-to-version-3.x

Manually tested this via RubyZip 2.x locally via bundle exec rake spec integration with JRuby 9.4 and works fine.

The only change with our rubyzip 3 upgrade was to use keyword arg `create: true` rather than positional `create = true`. Support for this was added in rubyzip 2.1.0 (https://github.com/rubyzip/rubyzip/releases/tag/v2.1.0) via rubyzip/rubyzip#418 so we don't need such a strict requirement on 3.x. The other breaking changes in rubyzip 3.0 don't appear to be important for warbler: https://github.com/rubyzip/rubyzip/wiki/Updating-to-version-3.x
@chadlwilson chadlwilson added this to the 2.1.1 milestone Oct 28, 2025
@chadlwilson chadlwilson merged commit 5fdddf2 into jruby:master Oct 28, 2025
10 checks passed
@chadlwilson chadlwilson deleted the relax-rubyzip-requirement branch October 28, 2025 05:03
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