-
Notifications
You must be signed in to change notification settings - Fork 583
Remove deprecated File.exists? #1357
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
Conversation
load_module_metadata is a functionBreaking changes to this file MAY impact these 10 modules (near match):loadjson is a functionBreaking changes to this file MAY impact these 1 modules (near match):loadyaml is a functionBreaking changes to this file MAY impact these 2 modules (near match):This module is declared in 318 of 580 indexed public
|
Hey @ekohl, it looks like the PR is generating a block of failures in the CI. I dont think we can merge this while in this state. Also, we are planning to merge the Puppet 8 update to main very soon (today/tomorrow morning, you are welcome to leave a review if you want), so this PR will need a rebase to ensure that CI covers testing properly. I will try to investigate this issue again as well, to see if I can figure out whats going on or why CI is not failing on main despite |
That looks very suspicious, but I can't explain why it happens. I don't have time to investigate it now so feel free to take over if you have the cycles. |
@ekohl Sure thing, I'll rebase the PR and play around with for a bit to see if I can figure out a reason for these failures. |
In 7999ff2 the cops were disabled, but Ruby 3.2 has removed the method.
I rebased it myself because I suspect the merge commit tripped up the CLA check. |
The mocked tests seems to "hide" the original code. Allowing all calls to |
I was looking into this yesterday. Looks like I was getting close to the solution but I couldnt quite figure out exactly how to fix it. Anyways, happy to merge this now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was also one of my suspicions, but was too busy with other work. Thanks @smortex! |
In 7999ff2 the cops were disabled, but Ruby 3.2 has removed the method.
Fixes #1354