Skip to content

feat(pixi_api): Add list_environments, add_environment, remove_environment#4918

Merged
haecker-felix merged 8 commits intoprefix-dev:mainfrom
haecker-felix:pixi_api_env
Dec 3, 2025
Merged

feat(pixi_api): Add list_environments, add_environment, remove_environment#4918
haecker-felix merged 8 commits intoprefix-dev:mainfrom
haecker-felix:pixi_api_env

Conversation

@haecker-felix
Copy link
Collaborator

Description

Moves pixi workspace environment * logic from pixi_cli to pixi_api, so other apps can make use of it as well.

Checklist:

  • I have performed a self-review of my own code

@haecker-felix haecker-felix marked this pull request as ready for review December 3, 2025 08:13
Copy link
Contributor

@Hofer-Julian Hofer-Julian left a comment

Choose a reason for hiding this comment

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

Only had one comment

Comment on lines +26 to +27
help = "use --force to overwrite the existing environment",
"the environment '{}' already exists",
Copy link
Contributor

Choose a reason for hiding this comment

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

That error message is only applicable for the CLI, but not e.g. for the GUI. I think the CLI should add this context

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Addressed with 20e1b9d

@haecker-felix haecker-felix merged commit 1d1136b into prefix-dev:main Dec 3, 2025
37 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants