Skip to content

Migrate to pixi #5502

Open
Open

Description

@IAlibay

It would make our lives a lot easier to use pixi instead of pure conda for everything, especially when it comes to building docs.

If there is interest, I would suggest:

  1. Switching out docs building to pixi.
  2. Switching our CI to pixi.

To help with the migration, I would propose first doing docs and then doing CI once folks are suitably happy with the experience.

Activity

  1. self-assigned this
    on Oct 20, 2026
  2. BradyAJohnston commented on Oct 20, 2026

    @BradyAJohnston
    Member

    I would VERY MUCH endorse doing this. The sooner the better (as soon as we get the 2.11 release out?).

  3. orbeckst commented on Oct 20, 2026

    @orbeckst
    Member

    Happy to learn using better tools!

  4. BradyAJohnston commented on Oct 21, 2026

    @BradyAJohnston
    Member

    I didn't realise until now that pixi actually uses uv as a library for the python package management instead of re-implementing their own which is great, because uv "just works" for all of my environments and solves so many headaches.

  5. BradyAJohnston commented on Oct 21, 2026

    @BradyAJohnston
    Member

    I will also take this opportunity to push strongly for using ruff for formatting and linting, and doing a full-pass on the code base to get everything aligned with it.

    I use it in all of my projects and it just saves so much time with keeping everything well set out and legible, reduces review effort required and sets up good guardrails for LLMs to work within.

  6. IAlibay commented on Oct 21, 2026

    @IAlibay
    MemberAuthor

    I'm not against ruff. My stance, like when we went with black, is "as long as folks are ok with it / willl use it". Generally, if we do it, I'd advocate for using it with pre-commit so that we don't end up with differences between local installs.

  7. BradyAJohnston commented on Oct 21, 2026

    @BradyAJohnston
    Member

    I would also be in favour of using pre-commit. Because ruff is so much faster it's less of a hassle for pre-commit as well. If we are using pixi which is also a command runner we can simply have pixi run format and similar for typing.

    This all kind of falls under the general umbrella of modernising the development tooling, which I would happily spearhead. I did mention in Discord but putting here as well that doing a full pass and enabling stricter type checking across the whole codebase would have similarly positive results.

  8. RMeli commented on Oct 26, 2026

    @RMeli
    Member

    I will also take this opportunity to push strongly for using ruff for formatting and linting

    +1 from me. The formatting with black is essentially done (a few files are still missing, but I think the PRs holding them are either merged or stale). I was supposed to gather some consensus from the core developers, but never got around writing that message on Discord.

  9. tylerjereddy commented on Oct 27, 2026

    @tylerjereddy
    Member

    Note that a rough draft of doing this (pixi, and other related things) was performed about a year ago at gh-5122 and presented live at the previous UGM.

    This all kind of falls under the general umbrella of modernising the development tooling, which I would happily spearhead

    The title of the talk was:

    Modernization of the MDAnalysis developer tools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions