Comments (6)
I don't think the environment should be named base
as it is not acting as a basis for any other environment, because you can override it to be the most inclusive environment. e.g. default = {features = ["test", "dev", "cuda"], solve-group = "default"}
.
However, this change would make more sense to me for the default feature. This is used as a basis for all environments and has to be deactivated by adding no-default-feature
which could be no-base-feature
.
That said we've chosen for "default" as it is what cargo
uses to define the "normally activated" features. So I'm not 100% convinced this would be worth the change.
from pixi.
However change would make more sense to me for the default feature.
🤦🏻♂️ Sorry for my incorrect description. It should be the feature,not the env.
from pixi.
Furthermore, the naming meaning of base
is superior to default
; it's like the foundation of a feature, with each feature adding extra dependencies on top of it.
from pixi.
I suggest we keep this open for a while to see how others feel about it :) As it would be a breaking change.
from pixi.
I feel like default is a pretty good name even for the feature:
- it aligns with the name of the default environment
- It is the feature tables / values will be associated with when the feature is not specified. In that sense, it is indeed the default feature
from pixi.
I feel like default is a pretty good name even for the feature:
it aligns with the name of the default environment
It is the feature tables / values will be associated with when the feature is not specified. In that sense, it is indeed the default feature
You can think of default feature as the base
image of Docker; we are extending its behavior rather than overriding it.
Or in the OOP inheritance, we refer to it as a base
class rather than a default
class.
That's why like channels
is under the [project]
rather than under the [default]
, it is because the actual default configs are under the [project].
from pixi.
Related Issues (20)
- 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
- thread panic in rattler solve HOT 7
- Patch conda-pypi mapping with a specific name HOT 3
- `pixi.lock` always outdated when using local folder with `editable` as `PyPI` dependency HOT 1
- Pixi does not freeze version number for PyPI package installs HOT 2
- `pixi install` fails when using `detached-environments = true` and `.pixi` doesn't exist yet
- `pixi run` warning about project manifest should only show up if `PIXI_PROJECT_MANIFEST` and local `pixi.toml` are different HOT 4
- `[activation.env]` variables are not expanded HOT 1
- `pixi install` / `pixi run` doesn't handle multiple concurrent invocations very well HOT 1
- CUDA virtual package is not detected when using brew version of pixi HOT 2
- Pixi successfull install message missing a newline
- tasks not found when running from osx-64 environment on osx-arm64 machine HOT 1
- Cannot resolve `__osx >=11.0` requirement on `osx-64` HOT 2
- Possibitlity to prioritize environment when running tasks locally
- Quoting not passed to subcommand HOT 2
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.