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

pip provider should be able to use a pip mirror

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Do
    • Affects Version/s: PUP 4.4.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      Operating System: Ubuntu

    • Template:
    • Team:
      Agent

      Description

      The pip provider has pypi.python.org hard coded so its not possible to use a pypi mirror.

      client = XMLRPC::Client.new2("http://pypi.python.org/pypi", proxy)

      There needs to be some way to specify a mirror.

      Or if that is not possible:

      change the following to be a warning instead of an error.
      raise Puppet::Error, "Timeout while contacting pypi.python.org: #

      {detail}

      ", detail.backtrace

      timeouts are quite a common occurrence for pypi.python.org. (at least a few times each day)

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            tailcat John Jendro
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support