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

pip provider doesn't handle arbitrary equality

    XMLWordPrintable

    Details

    • Template:
      PUP Bug Template
    • Team:
      Coremunity
    • Sprint:
      Platform Core KANBAN
    • Method Found:
      Needs Assessment
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      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.
    • QA Risk Assessment:
      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

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support