Skip to content

feat: add pixi self-update --nightly - #7473

Draft
pavelzw wants to merge 2 commits into
mainfrom
self-update-nightly
Draft

pavelzw wants to merge 2 commits into
mainfrom
self-update-nightly

Conversation

@pavelzw

@pavelzw pavelzw commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Follow-up to #7193.


Summary: would be nice to be able to self-update and get an unreleased pixi version from https://github.com/prefix-dev/pixi-nightly


AI-generated details:

Adds pixi self-update --nightly, which updates to the latest development build of main from prefix-dev/pixi-nightly. --nightly --version 0.84.0-10-ge4b92dc9f installs a specific build.

  • The latest-version lookup, release notes and download URL now come from a ReleaseChannel (Stable or Nightly). Before, --from-url only changed the download URL, so --from-url .../pixi-nightly/releases tried to download the latest stable tag from the nightly repo.
  • --nightly conflicts with --from-url.
  • Nightly versions (git describe output) parse as conda versions and sort as expected: 0.84.0 < 0.84.0-9-g… < 0.84.0-10-g… < 0.85.0. Unit tests cover this and the round-trip to the tag name.

Not done yet:

  • pixi-nightly is still private, so this can't work end-to-end until it's public. I haven't run it against the real repo.
  • A nightly build running plain pixi self-update still targets stable and asks whether to downgrade. It could default to the nightly channel when the current version is a nightly build.

Checklist:

  • I've discussed the proposed changes with a maintainer.
  • I understand the purpose of my changes and how they interact with the greater system.
  • User-facing changes are documented and prose in the documentation has been written/edited/reviewed by hand.

AI Disclosure

  • This PR contains AI-generated content.
    • I have tested any AI-generated content in my PR.
    • I take responsibility for any AI-generated content in my PR.

Tools: Claude Code

Downloads development builds of main from prefix-dev/pixi-nightly. The latest
version lookup and release notes now use the selected release channel.
@pavelzw
pavelzw marked this pull request as ready for review November 4, 2026 14:30
@pavelzw
pavelzw marked this pull request as draft November 4, 2026 14:33

This branch has not been deployed

No deployments
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.

1 participant