pixi
pixi copied to clipboard
pixi add --branch or --tag for --pypi
We have all the necessary structs to handle --branch and --tag with --pypi, but when running
it with pixi add we always record branches as rev in the manifest.
This is because we are using pep_508::Requirement, which store git spec as a URL in this format git+https:/github.com/boltons/boltons@main, which later is decoded as a revision.
We need to find a way to augment the URL, maybe by recording that this was a branch ( git+https:/github.com/boltons/boltons@main?branch=main) or trying to use PyPiRequirement instead of pep_508::Requirement
discovered by https://github.com/prefix-dev/pixi/pull/3132
fixed by : https://github.com/prefix-dev/pixi/issues/3133