-
Notifications
You must be signed in to change notification settings - Fork 195
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
Feat/remove command #483
Merged
Merged
Feat/remove command #483
Conversation
This file contains 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
ruben-arts
requested changes
Nov 22, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The UX is really good, adding the updating of the prefix is a requirement from my point of view though.
![image](https://github.com/prefix-dev/pixi/assets/12893423/09887ec9-61d7-4b49-8438-002d987d20da) I think this is enough info, can be less can be more, what do you think?
Closes prefix-dev#485 Helps user with: ``` ➜ pixi run bla bla: command not found Available tasks: build build-docs docs install lint test test-all ➜ ``` Allows user to: ``` ➜ pixi run 'echo $PIXI_PACKAGE_VERSION' 0.7.1-dev ➜ pixi run 'echo $PIXI_PACKAGE_VERSION && echo $PIXI_PACKAGE_NAME && echo $CONDA_PREFIX' 0.7.1-dev pixi /home/rarts/development/pixi/.pixi/env ``` Depended on denoland/deno_task_shell#98
Fixes an issue where if you install `pyside6` you would get an error: ``` × could not uninstall python package pyside6-6.6.0. Manually remove the `.pixi/env` folder and try again. ╰─▶ the RECORD file is missing ```
…ix-dev#494) This PR adds support for checking the satisfiability of the lock-file which includes pypi-dependencies. Purls have been added to the lock-file (conda/rattler#414) (See also: conda/ceps#63). This enables checking which conda packages will install which pypi packages without needing to check the internet. This ensures we can still check if a lock-file is up to date quickly. I did not profile this code but I think there are a lot of places we can improve the performance. Thats for a later PR. I also didn't add tests. I think we should but we can also do that in another PR. Closes prefix-dev#467 --------- Co-authored-by: Ruben Arts <[email protected]>
Co-authored-by: Bas Zalmstra <[email protected]>
baszalmstra
reviewed
Nov 28, 2023
baszalmstra
approved these changes
Nov 28, 2023
ruben-arts
approved these changes
Nov 28, 2023
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.
This adds a
remove
/rm
subcommand to pixi which removes dependencies from the following tablles in the toml file:[dependencies]
[host-dependencies]
[build-dependencies]
[target.{platform}.dependencies]
[target.{platform}.host-dependencies]
[target.{platform}.build-dependencies]
Closes #49