Skip to content

docs: absolute path to a conda package in pixi add#6018

Merged
lucascolley merged 3 commits intoprefix-dev:mainfrom
benmoss:doc-pixi-add-abs-path
May 5, 2026
Merged

docs: absolute path to a conda package in pixi add#6018
lucascolley merged 3 commits intoprefix-dev:mainfrom
benmoss:doc-pixi-add-abs-path

Conversation

@benmoss
Copy link
Copy Markdown
Contributor

@benmoss benmoss commented May 5, 2026

Description

pixi add can take an absolute path to a .conda or .tar.bz2 file to support installing a built package without needing to add it to a channel. This has come up before on the Discord server but it seems it's not commonly known behavior, probably because it's not documented!

How Has This Been Tested?

N/A

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

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 that would impact the JSON schema have been made in schema/model.py.

@benmoss
Copy link
Copy Markdown
Contributor Author

benmoss commented May 5, 2026

The numbering in the docs/reference/cli/pixi/add_extender file is really annoying btw

@lucascolley lucascolley added documentation Improvements or additions to documentation area:add Related to pixi add labels May 5, 2026
@lucascolley lucascolley changed the title docs: document that pixi add can take an absolute path to a conda package docs(add): absolute path to a conda package May 5, 2026
@lucascolley
Copy link
Copy Markdown
Collaborator

The numbering in the docs/reference/cli/pixi/add_extender file is really annoying btw

agreed

Copy link
Copy Markdown
Collaborator

@lucascolley lucascolley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @benmoss !

Could we add something to https://pixi.prefix.dev/latest/reference/cli/pixi/add/#description too? In particular I think the following sentence should be broadened:

The dependencies should be defined as MatchSpec for conda package, or a PyPI requirement for the --pypi dependencies.

@baszalmstra baszalmstra changed the title docs(add): absolute path to a conda package docs: absolute path to a conda package May 5, 2026
@lucascolley lucascolley changed the title docs: absolute path to a conda package docs: absolute path to a conda package in pixi add May 5, 2026
Copy link
Copy Markdown
Collaborator

@lucascolley lucascolley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks a lot @benmoss!

@lucascolley lucascolley merged commit 4809bab into prefix-dev:main May 5, 2026
41 checks passed
@benmoss benmoss deleted the doc-pixi-add-abs-path branch May 6, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:add Related to pixi add documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants