Skip to content

fix: indicate pixi self-update in requires-pixi error message#5399

Merged
ruben-arts merged 2 commits intoprefix-dev:mainfrom
varun-kht:fix-requires-pixi-message
Jan 26, 2026
Merged

fix: indicate pixi self-update in requires-pixi error message#5399
ruben-arts merged 2 commits intoprefix-dev:mainfrom
varun-kht:fix-requires-pixi-message

Conversation

@varun-kht
Copy link
Contributor

@varun-kht varun-kht commented Jan 23, 2026

Description

This PR improves the requires-pixi error message by suggesting pixi self-update
only when the self-update feature is enabled, and providing generic upgrade guidance
otherwise.

Fixes #5293

How Has This Been Tested?

Manually verified the error output by triggering the requires-pixi version
mismatch locally and confirming the correct guidance is shown depending on
whether the self_update feature is enabled.

AI Disclosure

  • This PR contains AI-assisted content.
  • I have reviewed and tested all AI-assisted changes.
  • I take responsibility for all AI-assisted content in this PR.

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added sufficient tests to cover my changes
  • I have verified that changes impacting the JSON schema have been made in schema/model.py.

@varun-kht varun-kht changed the title Improve requires-pixi error message when self-update is unavailable fix: indicate pixi self-update in requires-pixi error message Jan 23, 2026
@ruben-arts ruben-arts enabled auto-merge (squash) January 26, 2026 09:22
@ruben-arts ruben-arts disabled auto-merge January 26, 2026 09:22
@ruben-arts ruben-arts merged commit 9307164 into prefix-dev:main Jan 26, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error message from requires-pixi should indicate the existence of pixi self-update

2 participants