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

can't see error message when pixi lock #3283

Closed
2 tasks done
trim21 opened this issue Mar 5, 2025 · 1 comment · Fixed by #3325
Closed
2 tasks done

can't see error message when pixi lock #3283

trim21 opened this issue Mar 5, 2025 · 1 comment · Fixed by #3325
Assignees
Labels
🐞 bug Something isn't working 👩‍💻 cli Issue related to CLI

Comments

@trim21
Copy link

trim21 commented Mar 5, 2025

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

https://github.com/trim21/pixi-bug-3283

Issue description

When I have pixi.toml without valid resolution, pixi will stop resolve without showing any useful information unless I use --no-progress

I reproduce this in powershell, but looks like it doesn't only happened in powershell

https://discord.com/channels/1082332781146800168/1082338253925003385/1348747360464797786

❯❯ ~/proj/pixi (renovate/conda -1) pixi --version
pixi 0.42.0
❯❯ ~/proj/pixi (renovate/conda -1) pixi update
  ⠒ default:win-64       [00:00:00] loading repodata
  ⠒ default:osx-64       [00:00:00] loading repodata
  ⠒ default:osx-arm64    [00:00:00] resolving conda
  ⠒ default:linux-aarch6400:00:00] loading repodata
  ⠒ default:linux-64     [00:00:00] loading repodata
  ⠒ default:osx-64       [00:00:00] loading repodata
  ⠒ default:linux-aarch6400:00:00] loading repodata
  ⠒ default:linux-64     [00:00:00] loading repodata
  ⠒ pypi-gen:osx-64      [00:00:00] loading repodata
  ⠒ pypi-gen:linux-aarch6400:00:00] loading repodata
  ⠒ trampoline:linux-aarch64 [00:00:00] loading repodata
  ⠒ trampoline:osx-64    [00:00:00] loading repodata
  ⠒ trampoline:linux-64  [00:00:00] loading repodata
❯❯ ~/proj/pixi (renovate/conda -1) pixi lock
  ⠒ pypi-gen:win-64      [00:00:00] loading repodata
  ⠒ pypi-gen:linux-64    [00:00:00] loading repodata
  ⠒ default:win-64       [00:00:00] loading repodata
  ⠒ pypi-gen:linux-aarch6400:00:00] loading repodata
  ⠒ pypi-gen:osx-64      [00:00:00] loading repodata
  ⠒ pypi-gen:linux-64    [00:00:00] loading repodata
  ⠒ pypi-gen:linux-aarch6400:00:00] loading repodata
  ⠒ pypi-gen:osx-64      [00:00:00] loading repodata
  ⠒ default:osx-arm64    [00:00:00] resolving conda
  ⠒ default:linux-aarch6400:00:00] loading repodata
  ⠒ default:osx-64       [00:00:00] loading repodata
  ⠒ trampoline:win-64    [00:00:00] loading repodata
  ⠒ trampoline:linux-aarch64 [00:00:00] loading repodata
  ⠒ trampoline:osx-64    [00:00:00] loading repodata
    test-export:osx-64   ..
❯❯ ~/proj/pixi (renovate/conda -1) pixi lock --quiet
  ⠚ default:win-64       [00:00:00] loading repodata
  ⠚ default:linux-aarch6400:00:00] loading repodata
  ⠚ default:osx-64       [00:00:00] loading repodata
  ⠚ default:linux-64     [00:00:00] loading repodata
  ⠚ default:osx-arm64    [00:00:00] loading repodata
  ⠚ default:win-64       [00:00:00] loading repodata
  ⠚ default:linux-aarch6400:00:00] loading repodata
  ⠚ default:osx-64       [00:00:00] loading repodata
  ⠚ default:osx-arm64    [00:00:00] loading repodata
  ⠚ pypi-gen:win-64      [00:00:00] loading repodata
  ⠚ pypi-gen:linux-64    [00:00:00] loading repodata
❯❯ ~/proj/pixi (renovate/conda -1) pixi lock --no-progress --color=never --quiet
Error:   × failed to solve the conda requirements of 'test-export' 'osx-arm64'
  ╰─▶ Cannot solve the request because of: No candidates were found for micromamba >=2.0.6.
                                                                      

Expected behavior

it should show error message at last

@trim21 trim21 changed the title can't see error message when pixi lock can't see error message when pixi lock in powershell Mar 5, 2025
@ruben-arts
Copy link
Contributor

Thanks for letting us know!

We can reproduce it with any of the solving commands.

@ruben-arts ruben-arts added 🐞 bug Something isn't working 👩‍💻 cli Issue related to CLI labels Mar 6, 2025
@trim21 trim21 changed the title can't see error message when pixi lock in powershell can't see error message when pixi lock Mar 10, 2025
@wolfv wolfv assigned wolfv and baszalmstra and unassigned wolfv Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working 👩‍💻 cli Issue related to CLI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants