Skip to content

Allow pipenv sync to try alternative pip index urls as long as hashes match. #5041

Description

@mungojam

Is your feature request related to a problem? Please describe.

As discussed on #5029 (comment), we would like the ability restored to run pipenv sync against multiple potential pip package indexes. This is to enable us to move builds between different environments which have access to different packages sources (for example pypi vs. an internal pypi cache vs. GitHub packages once they add pip support).

Describe alternatives you've considered

My alternative is to rewrite the pipfile.lock with the alternative locations before running pipenv sync, depending on the environment which is a big hack.

Other context

#5039 has been kindly created by @matteius to cover this, so I will try that out

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: Enhancement 💡This is a feature or enhancement request.Type: Possible BugThis issue describes a possible bug in pipenv.

    Fields

    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