Skip to content

python::pip hangs with ensure "latest" behind a proxy server #170

@mmanzato-athesis

Description

@mmanzato-athesis

I'm behind a http proxy. This one:

python::pip {
    "numpy":
        ensure     => 'latest',
        proxy      => 'http://my.proxy:3128';
}

apparently hangs the update since it runs pip search with no --proxy argument. I've found that adding {$proxy_flag} argument to pip search solves the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions