Repository navigation
Build a conda package with pixi-build and publish it on release - #3
Merged
Merged
Conversation
Same setup as khanlab/zarrnii: the package is published to akhanf/khanlab by the khanlab pixi publish action when a GitHub release is published, and built without uploading on PRs that change the packaging. Run dependencies are listed explicitly rather than converted from [project.dependencies], to relax the SimpleITK==2.2.1 pin (it conflicts with packages needing newer SimpleITK) and leave out typing and pytest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds conda packaging, same setup as khanlab/zarrnii.
The
push_conda.ymlworkflow uses the khanlab pixi publish action. It runs in three cases:akhanf/khanlab.pyproject.tomlor the workflow: builds only, no upload.The conda version comes from the release tag (e.g.
v1.4.0gives1.4.0).Run dependencies are listed in
[tool.pixi.package.run-dependencies], not converted from[project.dependencies](ignore-pyproject-manifest = true). Converting kept the PyPISimpleITK==2.2.1pin even with an override, because both constraints ended up in the package. That pin conflicts with SPIMquant'ssimpleitk>=2.4. Explicit deps also leave outtyping(stdlib) andpytest(tests only).Built locally with
pixi build. Package depends on:python >=3.9, pytorch >=2.3.0, simpleitk >=2.2.1, nibabel, numpy, scipy, scikit-image, matplotlib-base, tqdm, pandas, hydra-core.Needs the
PREFIX_API_KEYsecret available to this repo for the upload step.🤖 Generated with Claude Code