Skip to content

pixi build - #9066

Closed
jpfeuffer wants to merge 4 commits into
OpenMS:developfrom
jpfeuffer:pixi_build
Closed

jpfeuffer wants to merge 4 commits into
OpenMS:developfrom
jpfeuffer:pixi_build

Conversation

@jpfeuffer

@jpfeuffer jpfeuffer commented Apr 2, 2026 •

Copy link
Copy Markdown
Contributor

gh repo clone OpenMS/OpenMS && cd OpenMS && pixi run FileInfo --help does everything

  • global pixi.toml for dev builds with cmake backend
  • conda recipe under ./recipe for building our usual conda packages
  • makes GUI tools installable separately with CMake
  • pixi install compilers and dependencies for you or uses system ones

WorksForMe™

Of course there are sooo many variables on how to do different build variants, I am not sure if this is well supported by pixi.

  • GUI, no GUI
  • pyopenms
  • debug vs release
  • ...

@timosachsenberg

Copy link
Copy Markdown
Contributor

Awesome but at the same time no clue how we should deal with that :) what would be the intended scope of pixie in your opinion?

@timosachsenberg
timosachsenberg requested a review from pjones April 3, 2026 07:15
@jpfeuffer

jpfeuffer commented Apr 3, 2026 •

Copy link
Copy Markdown
Contributor Author

Can be used for everything if it is tested enough. It probably might need to mature a bit so we would need to stay in contact with their development.

  • build
  • dep mgmt
  • package (partly)

I don't think you can use pixi package for like Deb packages or installers. Only archives basically.

@pjones

pjones commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

This looks a lot better than vcpkg 🎉

We have a GSoC project starting soon that will clean up our dependency mess and use vcpkg (in at least CI) for installing and caching dependencies. However, using Pixi might be a better choice since it can manage Python dependencies out of the box.

My only nitpick is the name of the directory. Instead of having an ambiguous recipe directory, can all the Pixi stuff live in a pixi directory?

@timosachsenberg

Copy link
Copy Markdown
Contributor

e.g. how would we deal with windows installers? can we package the pixi installed debs in an nsis or wix installer? should be possible right?

@jpfeuffer

Copy link
Copy Markdown
Contributor Author

Yes that is something I did not explore yet but yes I'm pretty sure this works. They are just in the .pixi folder.
The wheel fix scripts will find them. And cmake runtime_dependency scripts and our macos fix_deps scripts should also find them.
On Debian it's a bit tricky because ideally you use the apt dependencies for shipping. On macos you need to check for which min macOS the dependencies are built for (but probably more backwards compatible than brew!).

# Conflicts:
#	.gitignore

Copy link
Copy Markdown
Contributor

Adversarial review result: blocking packaging issue.

The new pixi/rattler package metadata hard-codes version = "3.4.1" / context.version: "3.4.1", while current develop has OPENMS_PACKAGE_VERSION set to 3.6.0 in CMakeLists.txt. That would produce incorrectly versioned packages and pins. Please derive this from the OpenMS CMake version or update it before merge.

I did not find source-comment tracker references. No packaging build/tests run locally.

@timosachsenberg

Copy link
Copy Markdown
Contributor

Let's close this

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