-
Notifications
You must be signed in to change notification settings - Fork 209
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
Improve system-requirements
UX
#815
Comments
It would be great if system-requirements could be managed by CLI similar to " project platform add ". Having to edit the toml file by hand really disrupts our workflows. |
He @jjv5, I'm curious about your use-case. Is this something you need for CI or is the command line just more comfortable for you and why would that then be? I personally like to play around with the files so it would help me to understand this beter from your point of view. Possibly seeing the light and pushing more on cli completeness 😉. (as currently features have a higher priority than CLI support). Note that my question has nothing to do with this Issue, I just don't have another channel to ask you this question. |
We install/maintain many. many titles for a very wide OS distribution. The ability to use CLI lets us script everything. We're currently testing pixi (and love it, thanks!) and are working on something like this at the moment: ./pixi init --platform osx-64 --platform linux-64 --channel conda-forge --channel bioconda ${verdir} We install for older Macs and Linux machines and so would also like to be able to do something like this: ./pixi project system-requirements ' linux="3.10.0" ' Maybe not the best way to do that, but something from the command line. It would also be nice to set project name from CLI, like the other project fields. Maybe name is special? |
@jjv5 Thanks for the elaboration! That makes total sense. Will definitely keep it in mind. Some times I just need to be reminded of these use-cases. |
Linked to #346 (comment) |
Just adding that I ran into the following error
which is resolved by adding
However, those are most likely not the minimum system requirements. It would be nice to report the minimum set of system-requirements and hint that adding them to the pixi.toml would allow installation. In contrast, installing via pip works out-of-the-box for these packages (probably because my system fulfills the requirements). |
Just to add a point here, that is not bug but sometimes that was not intuitive at first. I was in a Linux 4.18 system, and I quickly create a temporary pixi project with:
This fails with:
this make sense, as the current system has a linux version that is lower then the default required, but was nevertheless a bit surprising for me. |
Problem description
Currently a user is getting an error if the "default" system requirements are not sufficient for the dependency that they try to install. This is done regardless of the local system availability.
Now the user needs to understand the error and edit the
[system-requirements]
table.It would be a better experience for the user if pixi automatically solves for the local machine and if that results in a more specific set of system-requirements than the default requirements it should automatically add that to the configuration (
pixi.toml
).The text was updated successfully, but these errors were encountered: