Skip to content

Allow pixi cache to differentiate between packages from different pypi repositories (or locally editable) #5422

@oliver-batchelor-work

Description

@oliver-batchelor-work

Problem description

If I have two locations of a package, one locally editable and one on a PyPI server. Both with the same name and version number - and I first install one of them, I can't get pixi to switch to the other one.

e.g. if I switch from using a wheel on my pypi server, then I change my pixi.toml to point at a locally editable one, then it will continue to use the wheel regardless.

I believe the same thing is true for switching between PyPI repositories, too. For example, a common thing is to have separate PyPI repositories for wheels compiled for different cuda versions. Let's say I am using cuda 12.6, then I update to cuda 13.0, and switch the PyPI repository I'm using. Pixi will still continue to use the cached 12.6 package.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions