Skip to content

refactor: add pixi package and use static version number - #142

Merged
traversaro merged 2 commits into
masterfrom
refactor/pixi-package
Sep 1, 2026
Merged

refactor: add pixi package and use static version number#142
traversaro merged 2 commits into
masterfrom
refactor/pixi-package

Conversation

@ruben-arts

Copy link
Copy Markdown
Contributor

This makes the Pixi workspace conda dependencies only and it allows one to run pixi global install --path . or pixi add --git https://github.com/RoboStack/vinca to install vinca locally.

To do this I had to split the pixi.toml and pyproject.toml as otherwise pixi will pickup both the conda and PyPI dependencies. This is going to give a better experience for both uv and pixi users in my oppinion.

The commands you use don't change. The package is still an editable install when using it locally but non editable when you pixi publish.

Comment thread pixi.toml
python = ">=3.14.0,<3.15"
pytest = "*"
ruff = "*"
vinca.path = "."

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why vinca.path instead of vinca?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is the equivalent of vinca = { path = "." } The direct package name only supports conda matchspecs.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Ahhhh right, I was confused by the syntax.

This is required to avoid Pixi from picking up the pypi dependencies and the conda dependencies that have been mapped with the package backend.
@baszalmstra
baszalmstra force-pushed the refactor/pixi-package branch from 1953acc to b22c1d1 Compare September 1, 2026 08:19
@baszalmstra

Copy link
Copy Markdown
Collaborator

I took the liberty to rebase this on #143

@traversaro
traversaro merged commit 6aacb6f into master Sep 1, 2026
3 checks passed
@traversaro
traversaro deleted the refactor/pixi-package branch September 1, 2026 08:23
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.

3 participants