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

Fix parsing version range for regular version

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 6.16.0
    • Component/s: None
    • Labels:
    • Template:
      PUP Bug Template
    • Team:
      Night's Watch
    • Story Points:
      1
    • Sprint:
      NW - 2020-06-10
    • Release Notes:
      Enhancement
    • Release Notes Summary:
      Hide
      Thank you https://github.com/Hexta for adding support on version ranges for `eq` operator. Now all the providers that support version ranges will also handle simple versions, making the behaviour consistent between package providers, eg: '1.2.3'
      Show
      Thank you https://github.com/Hexta for adding support on version ranges for `eq` operator. Now all the providers that support version ranges will also handle simple versions, making the behaviour consistent between package providers, eg: '1.2.3'
    • QA Risk Assessment:
      Needs Assessment

      Description

      Puppet Version: 6.11.0
      Puppet Server Version: 6.11.0
      OS Name/Version: Debian 9

      puppet resource package prometheus-client ensure='0.7.1' provider='pip3' --debug
      

       

      Desired Behavior:

      Package install without failing notice in debug log.

      Actual Behavior:

      Debug log contains strange string:

      Debug: Cannot parse 0.7.1 as a pip version range, falling through.

      PR: https://github.com/puppetlabs/puppet/pull/8138

       

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            hexta Artur Molchanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support