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

pip provider doesn't handle arbitrary equality

    XMLWordPrintable

Details

    • Coremunity
    • Platform Core KANBAN
    • Needs Assessment
    • Bug Fix
    • Hide
      Previously puppet incorrectly parsed the output of "pip freeze" when it reported package versions using the arbitrary equality operator "===". As a result, puppet would think the package wasn't installed, and try to (re)install it during every puppet run.
      Show
      Previously puppet incorrectly parsed the output of "pip freeze" when it reported package versions using the arbitrary equality operator "===". As a result, puppet would think the package wasn't installed, and try to (re)install it during every puppet run.
    • Needs Assessment

    Description

      Puppet Version: 5.5.6
      Puppet Server Version: 5.3.5
      OS Name/Version: Ubuntu 18.04

      The current pip provider doesn't support Python's arbitrary equality https://www.python.org/dev/peps/pep-0440/#arbitrary-equality

      When encountering a python package specified with arbitrary equality via pip freeze, it fails to parse the package and keeps trying to install it

      e.g.

      $ pip freeze | grep pytz

      pytz===2012f

      Desired Behavior: Pip Provider correctly handles arbitrary equality

      Actual Behavior: Pip Provider incorrectly handles arbitrary equality

       

      Attachments

        Issue Links

          Activity

            People

              josh Josh Cooper
              npbutler Nathan Butler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support