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

puppet-lint no longer installs on MacOS due to the ruby version bump #71

Closed
claviola opened this issue Nov 2, 2022 · 5 comments
Closed
Assignees
Labels
bug Something isn't working community

Comments

@claviola
Copy link

claviola commented Nov 2, 2022

Describe the Bug

puppet-lint can no longer be installed on macOS 12.6.1, which comes with ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin21].

$ gem install puppet-lint -v 3.0.1
	The last version of puppet-lint (= 3.0.1) to support your Ruby & RubyGems was 3.0.1. Try installing it with `gem install puppet-lint -v 3.0.1`
	puppet-lint requires Ruby version >= 2.7. The current ruby version is 2.6.10.210.

Expected Behavior

Install/upgrade to the latest version of puppet-lint.

Steps to Reproduce

gem install puppet-lint -v 3.0.1

Environment

  • Version 3.0.1
  • macOS 12.6.1 (Monterey)

Additional Context

#50 said that the version would be bumped up to 2.5, and that's what the commit message says, but the version ended up being bumped to 2.7.

@claviola claviola added the bug Something isn't working label Nov 2, 2022
@ekohl
Copy link

ekohl commented Nov 4, 2022

Ruby 2.6 is end of life since 2022-04-12 according to https://www.ruby-lang.org/en/downloads/branches/ so I think that was why 2.7 was chosen.

@claviola
Copy link
Author

claviola commented Nov 4, 2022

That makes sense, but it's a pretty big jump in requirements and breaks a major OS, so if it doesn't directly impact puppet-lint itself it'd be nice to have it rolled back to it at least (not even 2.5 as the PR states.)

@chelnak
Copy link

chelnak commented Feb 23, 2023

@claviola Ruby requirement has been dropped again in #87 .

There will be a 3.1 release in the next couple of days that will sort this out.

@chelnak chelnak closed this as completed Feb 23, 2023
@chelnak chelnak self-assigned this Feb 23, 2023
@claviola
Copy link
Author

claviola commented Nov 3, 2023

@chelnak since #113 by @GSPatton was merged shortly afterwards, I don't think there's been any release past v3.4.0 that can be installed using MacOS's default Ruby.

If there's no hard requirement of Ruby >= 2.7, can this please be reverted?

@chelnak
Copy link

chelnak commented Nov 4, 2023

Hey @claviola! I'll pass this on to @davidsandilands who can talk to the team about it (I no longer work for Puppet 🙂)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working community
Projects
None yet
Development

No branches or pull requests

4 participants