Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minimal pixi default environment #1322

Merged
merged 3 commits into from
Mar 26, 2024
Merged

Minimal pixi default environment #1322

merged 3 commits into from
Mar 26, 2024

Conversation

Hofer-Julian
Copy link
Contributor

Only add dependencies to the default environment that are necessary to test Ribasim Python or Ribasim API. This should make it easier to keep track of which dependencies are necessary for what, and also reduce solve times.

Only add dependencies to the default environment that are necessary to test Ribasim Python or Ribasim API.
This should make it easier to keep track of which dependencies are necessary for what and also reduce solve times.
@@ -35,7 +35,7 @@ First, set up pixi as described on their getting started [page](https://prefix.d
Then set up the environment by running the following commands:

```sh
pixi run install
pixi run --environment=dev install
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is only necessary because otherwise the editable install installs into the wrong environment.
As soon as pixi supports editable installs this will not be necessary anymore.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps it's good to create an issue for this, with a reminder to remove this.

@Hofer-Julian Hofer-Julian requested a review from visr March 26, 2024 09:54
@visr
Copy link
Member

visr commented Mar 26, 2024

also reduce solve times

Do we now already use the new minimal default environment anywhere in CI, or do we use dev for everything?

@Hofer-Julian
Copy link
Contributor Author

Do we now already use the new minimal default environment anywhere in CI, or do we use dev for everything?

Ribasim Python tests use it.

@Hofer-Julian Hofer-Julian merged commit 5b25cb0 into main Mar 26, 2024
24 checks passed
@Hofer-Julian Hofer-Julian deleted the minimal-env-2 branch March 26, 2024 10:47
@Hofer-Julian
Copy link
Contributor Author

The lock file became a lot smaller:
image

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.

2 participants