Skip to content

Is it possible to remap source URLs in the lock file? #5317

@stefanoborini

Description

@stefanoborini
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Issue

Where I work, developers use a .net address for our internal pypi with our packages. However, when it's time to use github actions, we externalise a different address ending in .com.

The problem occurs when developers create a lock file from the pyproject.toml. Naturally, the .net address will be added as a [package.source] in the lock file. Developers will be able to use the lock file to perform the installation, but the github action CI machine won't.

Is there a way to specify a remapping of a given source URL for a different user?

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureFeature requests/implementations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions