Comments (7)
@dhirschfeld I wonder what that would look like in our pixi.toml
. When you use pixi remove python
it would simply remove python
from the [dependencies]
(and co) table and then resolve and reinstall the environment.
The pixi.toml
defines the source of truth, not the cli. You can always recreate the exact same environment from it (especially with a lockfile). So if you want to only install the dependencies of a certain package that should be specified in the pixi.toml
. (Thats currently not supported).
If I read the usecase specified in the issues correctly I think you want to override a dependency of a project to be able to use a development version. We will most likely support this by overriding the source of a dependency:
my_dependency = { git = "some git repo URL" }
# or
my_dependency = { path = "../path_to_other_project" }
# or
my_dependency = { package = "my_dependency.conda" }
Doing this should be available through the pixi CLI but it will just update the pixi.toml file so that that file always contains the "truth".
Note
This is all still future talk!
from pixi.
can this be assigned to me
from pixi.
Note: It can be incredibly useful to be able to remove a package without removing any of it's dependencies. conda
implements this with the --force
flag which will then only remove the specified package from the environment.
Discussion in:
from pixi.
Mamba and conda also have a --no-deps and --only-deps flag. We could add that in pixi.toml
from pixi.
This feature depends on the removing functionality described in #77
from pixi.
Being able to tell the resolver to completely ignore a required dependency (i.e. assume a compatible version is already installed) would be more in line with what I was thinking - e.g. something like:
my_dependency = "ignore"
This can also be invaluable when the dependencies are mis-specified but you need to install it regardless. With conda
you can do that by installing the .tar.bz2
directly which can be a useful escape-hatch.
from pixi.
self hide as offtopic
Note
This is all still future talk!
so, github gave green flag to this feature, wow....
from pixi.
Related Issues (20)
- Pixi editable pypi packages aren't visible to VSCode Pylance HOT 5
- `pixi run` lists tasks HOT 7
- Issue with `rosidl_typesupport` in `pixi` HOT 13
- Standardize whether we use `stdout` or `stderr` for machine-readable output HOT 1
- Allow project.dependencies to be interpreted as conda-forge dependencies HOT 4
- Bump `uv` version to fix zig-bin installation issues HOT 20
- Facilitate docker 'layering' HOT 6
- Feature design proposal/prototype: `pixi build` HOT 9
- system requirements isnt wokring as expected HOT 3
- Fails to install package HOT 1
- Cannot run remove --no-install HOT 11
- `FindLinks` and `--manifest-path` do not play well together
- rate limited
- cannot download package HOT 4
- Failed to `pixi config set mirrors` in Windows Terminal HOT 4
- Pixi run completion for fish shells HOT 1
- `pixi --strict` mode HOT 4
- recipe-less conda build / index alike functionality for pyproject.toml-based projects HOT 2
- `pixi global install` does not allow version specifications in 0.26.x HOT 7
- Sudden "failed to resolve pypi dependencies" on WSL2 HOT 14
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.