Comments (4)
Your proposal makes sense. I am closing this issue and will followup on the linked ones. Thanks again for the prompt and detailed response.
from pixi.
He @vigneshmanick, this is expected behavior. pixi
will only install the required environments. pixi install
will install the default environment. But you can specify the required installation with pixi install -e lint
.
Most of our other cli tools that interact with the environment also install the required environment. Take for instance pixi run
, this will install the required environment for you if requested. pixi run lint
will install the lint
environment for you.
The pixi install
command is there mostly to have a command to call when you really just want to do an installation and nothing else, run
shell
shell-hook
add
remove
etc will all install the environment you are interacting with when it's required. This is to make sure that your environment will always be in the correct state.
from pixi.
Thanks for the info. This was not clear to me, now running pixi run lint
does what you mentioned and the lint
env is now there. I have a further point regarding this. When running pixi run lint
for the first time i got the following error
pixi run lint
✨ Pixi task (lint-code in lint): ruff check --fix . && ruff format .
× The current system has a mismatching virtual package. The project requires '__linux' to be at least version '5.10' but the system has version
│ '3.10.0'
I guess the no-default-feature
ignores everything from the default
? would be good if there is a fine grained filter avaialble, platforms
, system-requirements
, etc. so that i don't have to redefine the fields.
maybe
[no-default-feature]
include = [ "platforms", "system-requirements" ]
from pixi.
The current logic only takes over what is defined in the project
table. Specifically channels
and platforms
. But your point of makes sense. Checkout #1092 to see the full discussion, because there was a pretty big one including your proposal.
The system requirements could be revisited. But for now the fix would be is to redefine them. I posted a different idea for system requirements in general in this Issue.
from pixi.
Related Issues (20)
- Add Support for External Shared Libraries from Host HOT 1
- Rename the `default` feature to `base` HOT 6
- Support `--no-deps` option for pypi dependencies HOT 6
- Can't install pypi package when version contains special character like `+` HOT 4
- Add a way to read env spec from a single script HOT 7
- Can't install `pypi-dependencies` into path with spaces. HOT 8
- [pypi-options] doesn't work HOT 4
- feat: task json output HOT 2
- Tasks do not run in the active environment by default.
- Add `pixi update --json` HOT 9
- Provide feedback when local install editable fails HOT 4
- `pixi add` with comment HOT 1
- ros2-nav2 example is broken HOT 6
- pixi should help user with missing project channel HOT 2
- Invalidate lock file when mapping changes.
- pixi config option to exhaustively list all configuration options (like `conda config --describe`) HOT 1
- Unable to install `faster-whisper` with pixi, but works with pip (Python 3.12) HOT 3
- Can't modify PATH in env activation table HOT 1
- Incorrectly rebuilding editable pypi dependency, and not installing it HOT 10
- --frozen helpstring is missing from 0.23.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pixi.