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

(CONT-237) Deprecation and legacy version support removal #364

Merged
merged 11 commits into from
Oct 25, 2022

Conversation

chelnak
Copy link
Contributor

@chelnak chelnak commented Oct 24, 2022

This PR contains a number of deprecation removals. Additionally we are also removing any code paths that refer to puppet versions less than v6. Suitable defaults have been provided where applicable.

@chelnak chelnak requested a review from a team as a code owner October 24, 2022 21:33
@chelnak chelnak self-assigned this Oct 24, 2022
@chelnak chelnak marked this pull request as draft October 24, 2022 21:33
@chelnak chelnak force-pushed the CONT-237-clean_up_deprecations branch from 116f5d9 to 600941e Compare October 25, 2022 08:02
@chelnak chelnak marked this pull request as ready for review October 25, 2022 08:19
Copy link
Member

@david22swan david22swan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@david22swan david22swan merged commit a9fcee6 into main Oct 25, 2022
@david22swan david22swan deleted the CONT-237-clean_up_deprecations branch October 25, 2022 08:33
Comment on lines +29 to +38
spec.required_ruby_version = Gem::Requirement.new('>= 2.7')

spec.add_runtime_dependency 'mocha', '~> 1.0'
spec.add_runtime_dependency 'pathspec', '~> 1.0'
spec.add_runtime_dependency 'puppet-lint', '~> 3.0'
spec.add_runtime_dependency 'puppet-syntax', '~> 3.0'
spec.add_runtime_dependency 'rspec-github', '~> 2.0'
spec.add_runtime_dependency 'rspec-puppet', '~> 2.0'

spec.requirements << 'puppet, >= 6.0.0'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Late to the party, but AFAIK Puppet 6 doesn't run on Ruby 2.7. I'd expect either Ruby 2.5 + Puppet 6 or Ruby 2.7 + Puppet 7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants