Skip to content

--pypi-mirror not respected during virtualenv creation after 2018.10.13 #3378

@JacobHenner

Description

@JacobHenner

On Windows, versions of Pipenv > 2018.10.13 attempt to connect to https://pypi.org during virtualenv creation, even if --pypi-mirror is specified. This is a regression from 2018.10.13.

I've compared the network activity of 2018.10.13 and 11.14/11.26. For the latter two, connection attempts to pypi.org are made regardless of whether --pypi-mirror is specified. With 10.13, no such attempts are made.

This issue causes inconsistent timeouts and failures when a user is behind a firewall with a drop rule affecting pypi.org.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: Vendored DependenciesThis issue affects vendored dependencies within pipenv.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions