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

Fix compatibility with rspec-puppet 4+ #331

Closed
wants to merge 2 commits into from

Conversation

smortex
Copy link
Member

@smortex smortex commented Nov 2, 2023

These settings where used for compatibility with Puppet 7.10 and older
(Puppet 7.10 was released more than 2 years ago). rspec-puppet 4
removed them:
puppetlabs/rspec-puppet#73

In order to avoid this kind of accident in the future, add an upper
bound on the rspec-puppet dependency. Version 5.0.0 is also working
with this change, so accept anything before 6.0.0.

These settings where used for compatibility with Puppet 7.10 and older
(Puppet 7.10 was released more than 2 years ago).  rspec-puppet 4
removed them:
puppetlabs/rspec-puppet#73

In order to avoid this kind of accident in the future, add an upper
bound on the rspec-puppet dependency.  Version 5.0.0 is also working
with this change, so accept anything before 6.0.0.
This old version of cucumber does not restrict the version of
ActiveSupport it use and the latest ActiveSupport is not working with
this old cucumber.

Allow the latest cucumber versions which does not exhibit this problem.
@smortex
Copy link
Member Author

smortex commented Nov 2, 2023

CI is still failing because it depends on this to be merged:
dylanratcliffe/puppet_controlrepo#21

@dylanratcliffe
Copy link
Collaborator

Thanks for this @smortex! I ended up fixing this in a larger upgrade effort but thanks for the tips

@smortex smortex deleted the fix-rspec-puppet-4 branch April 18, 2024 23:38
@smortex smortex restored the fix-rspec-puppet-4 branch April 19, 2024 01:50
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.

2 participants