Migrate project configuration and CI/CD workflows from Poetry to Pixi#104
Closed
MrTomRod wants to merge 3 commits into
Closed
Migrate project configuration and CI/CD workflows from Poetry to Pixi#104MrTomRod wants to merge 3 commits into
MrTomRod wants to merge 3 commits into
Conversation
- Replace `[tool.poetry]` configuration in `pyproject.toml` with PEP 621 standard metadata. - Switch the build backend to `hatchling.build`. - Configure Pixi workspace environments (`default`, `dev`) and features (`test`, `lint`) utilizing `conda-forge` and `bioconda` channels. - Add Pixi tasks mapping to code development commands (restricted to `src` and `tests` directories). - Update `justfile` targets to run commands using `pixi run`. - Delete `poetry.lock` (replaced by `pixi.lock`) and add `.pixi/` to `.gitignore`.
Author
|
build seems to have crashed because i didn't push the changes that |
Owner
|
Hi @MrTomRod - thanks for this, a nice improvement over poetry. I’ll work on merging it in once I integrate my substantive changes on the dev branch george |
gbouras13
added a commit
that referenced
this pull request
Jun 30, 2026
Documents `pixi global install dnaapler` as a recommended installation method (alongside conda and pip), following #104. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Owner
|
Incorporated a bunch of these changes in #106 |
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.
Description
This pull request transitions the repository's development environment, dependency management, and CI/CD pipelines from Poetry to Pixi.
Why Pixi is a better, imo:
dnaaplerrelies on binary utilities likeMMseqs2, developers previously had to manage non-Python tools out-of-band. Pixi bridges this gap by integrating both PyPI and Conda channels (conda-forge&bioconda) directly intopyproject.toml.mmseqs2,just, andripgrepdirectly inside the isolated workspace environment. Setup is now a single, reproducible command:pixi install.hatchlingand standard[project]metadata, making it fully portable and compatible with standard python packaging and bioconda feedstocks.Summary of Changes:
pyproject.toml: Replaced proprietary[tool.poetry]blocks with standard[project]metadata, changed the build backend tohatchling, and added Pixi workspace/environment configuration.justfile: Updated command invocations to usepixi run. (We could also delete the justfile because pixi also contains these features.)ci.yaml&release.yaml): Swapped outconda-incubator/setup-minicondafor the officialprefix-dev/setup-pixiGitHub Action, which speeds up CI builds and ensures CI runs the exact same tasks as local development.requirements.txt,poetry.lock, andbuild/environment.yamlfiles.Verification and Testing
pixi run fmt,pixi run lint, and the full unit test suite locally. All 99 tests passed successfully..github/workflows/ci.yamllocally usinggh act -j testsinside Docker. The setup, formatting check, linting, and tests all completed and passed successfully.