Details
-
Epic
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
Support ruby 2.7
-
-
Night's Watch
-
3
-
NW - 2020-04-15
-
Not Needed
-
Needs Assessment
Description
puppet specs fail on ruby 2.7.0 because:
- sync was extracted into a different gem. But we don't actually need that code, so remove the require 'sync' statements.
- scanf was extracted into a different gem. We need to add a runtime dependency on that gem ~> 1.0 to puppet's .gemspec. We will need to update a few other projects first (puppetserver, r10k, etc) first.
- There many ruby deprecation warnings due to keyword argument vs positional argument handling. See https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/