Skip to content

CI: Try with pixi; move from tox+pip-compile-multi#3847

Closed
MridulS wants to merge 9 commits intoscipp:mainfrom
MridulS:try_pixi
Closed

CI: Try with pixi; move from tox+pip-compile-multi#3847
MridulS wants to merge 9 commits intoscipp:mainfrom
MridulS:try_pixi

Conversation

@MridulS
Copy link
Copy Markdown
Member

@MridulS MridulS commented Feb 17, 2026

Replace tox + mamba/conda developer environment with pixi.

pixi manages dev dependencies and tasks. The C++ build still uses cmake directly (no pixi-build-cmake yet). This is just to test out pixi for scipp, we can close this PR too, no worries :)

Local dev quick start:

pixi install
pixi run configure
pixi run cpp-test        # build + run C++ tests
pixi run -e test test    # Python tests
pixi run -e lint static  # formatting + linting
pixi run -e docs docs    # build documentation

@YooSunYoung
Copy link
Copy Markdown
Member

I know it's says it's a experimental feature, but the pixi build thing doesn't work out of the box?

https://pixi.prefix.dev/latest/build/backends/pixi-build-cmake/#basic-usage

@MridulS
Copy link
Copy Markdown
Member Author

MridulS commented Mar 26, 2026

I know it's says it's a experimental feature, but the pixi build thing doesn't work out of the box?

It should but I wanted to move one step at a time. First replace the non build bits and then move to pixi.

MridulS added 2 commits March 27, 2026 16:40
Use pixi-build-cmake backend to automatically build and install the C++
extension as a conda package, replacing manual cmake builds in test/docs
environments. The dev environment retains manual cmake for incremental
development. CI workflows updated to use dev env for C++ tests since the
test env now gets a pre-built package with no build directory.
@MridulS MridulS closed this Mar 30, 2026
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.

2 participants