Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-10247

Support ruby 2.7

    XMLWordPrintable

Details

    • Epic
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 7.0.0
    • 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:

      1. sync was extracted into a different gem. But we don't actually need that code, so remove the require 'sync' statements.
      2. 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.
      3. 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/

      Attachments

        Issue Links

          Activity

            People

              dorin.pleava Dorin Pleava
              josh Josh Cooper
              Votes:
              4 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support