Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misleading prerelease hint for pypi dependency #1357

Open
2 tasks done
nichmor opened this issue May 8, 2024 · 1 comment
Open
2 tasks done

Misleading prerelease hint for pypi dependency #1357

nichmor opened this issue May 8, 2024 · 1 comment
Labels
bug Something isn't working pypi Issue related to PyPI dependencies uv Related to the uv integration

Comments

@nichmor
Copy link
Contributor

nichmor commented May 8, 2024

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

[dependencies]
python = "~=3.9.0"

[pypi-dependencies]
colorama = "~=5.0"

Issue description

During the resolution phase for pixi install it will fail and print a hint

hint: colorama was requested with a pre-release marker (e.g., colorama>=5.0,<6.dev0), but pre-releases weren't enabled (try:
      `--prerelease=allow`)

Screenshot 2024-05-08 at 17 54 40

This hint ( --prerelease=allow ) is not present in pixi install so it fail with following error:

Screenshot 2024-05-08 at 17 55 53

Expected behavior

Hide the tip or allow passing --prerelease=allow downstream from pixi to uv

@nichmor nichmor added the bug Something isn't working label May 8, 2024
@ruben-arts
Copy link
Contributor

Related: #1291

@ruben-arts ruben-arts added pypi Issue related to PyPI dependencies uv Related to the uv integration labels May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pypi Issue related to PyPI dependencies uv Related to the uv integration
Projects
None yet
Development

No branches or pull requests

2 participants