Skip to content

Consider including pixi in iMODforge python environment #25

Description

@JoerivanEngelen

We use pixi-pack to create python environments. This python environment doesn't automatically include a package manager. In this way the python environment cannot be adapted.

There is something to say for including one.

Usecase 1: I've had many users of Deltaforge starting off their enviroment with the Deltaforge distribution, then later adding extra packages with conda (which Deltaforge ships) for their individual projects. Whenever their environment breaks, they would delete it, and start over new by reinstalling Deltaforge.

Usecase 2: Users use Deltaforge for a Python envirnoment that works and doesn't require internet. In this env they want to be able to locally install their own self-made packages for a project (usually done with pip install .)

I talked with @Huite and we saw pixi is also actively released on conda-forge. We could consider adding pixi to the environment as well. With pixi, reinstalling the distribution environment over and over again once it breaks shouldn't be necessary anymore for usecase 1.

Tricky part is the lockfile: Pixi doesn't allow creating a lockfile from an existing python environment. So including pixi also entails including the pixi toml and lockfile in iMODforge and unpacking it somewhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions