railslove / epics

EBICS client for Ruby
https://www.railslove.com/stories/ebics-client-for-ruby
GNU Lesser General Public License v3.0
107 stars 41 forks source link

Can't install latest version of the gem using Ruby 2.7 #157

Closed alexeisersun closed 4 weeks ago

alexeisersun commented 4 weeks ago

Hello there!

We try to upgrade epics gem in a project with Ruby 2.7. Judging by epics.gemspec file, Ruby 2.7 is still supported:

  spec.required_ruby_version = '>= 2.7'

However, same epics.gemspec file specifies Nokogiri version which requires Ruby 3+: 😅

  spec.add_dependency 'nokogiri', '>= 1.16.5'

From my perspective, one of the following workarounds can be done:

  1. relax Nokogiri version, so that the gem is installable on Ruby 2.7
  2. bump required Ruby version to 3+ in gemspec

Could you please advise what can be done in this case?

tobischo commented 4 weeks ago

Since nokogiri keeps addressing relevant security issues regularly, it does not make sense to relax that requirement.

Ruby language version 2.7 is not officially supported anymore by its maintainers. My suggestion is for you to update your projects to using a newer ruby version.

While the language requirement of >= 2.7 might be sligtly misleading with other gems requiring a newer Ruby, it does not currently warrant a new release in my opinion.

alexeisersun commented 4 weeks ago

Thanks for prompt response!