-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add ability to find and/or output constraints, as well as dependencies #26
Comments
Hello, can you give an example of package constrains you want to visualize ? I think that this is already possible, at least in part, with these commands: $ conda tree whoneeds -t yaml
yaml==0.2.5
└─ pyyaml 6.0.1 [required: >=0.2.5,<0.3.0a0]
└─ jupyter_events 0.10.0 [required: >=5.3]
└─ jupyter_server 2.14.0 [required: >=0.9.0]
├─ jupyter-lsp 2.2.5 [required: >=1.1.2]
│ └─ jupyterlab 4.2.0 [required: >=2.0.0]
├─ nbclassic 1.0.0 [required: >=1.8]
│ └─ notebook 6.5.4 [required: >=0.4.7]
│ └─ nb_conda_kernels 2.5.1 [required: any]
├─ jupyterlab_server 2.27.1 [required: >=1.21,<3]
│ └─ jupyterlab 4.2.0 [required: >=2.19.0,<3]
├─ jupyterlab 4.2.0 [required: >=2.4.0,<3]
└─ notebook-shim 0.2.4 [required: >=1.8,<3]
├─ nbclassic 1.0.0 [required: >=0.2.3]
│ └─ dependent packages of nbclassic displayed above
└─ jupyterlab 4.2.0 [required: >=0.2]
$ conda tree depends -t yaml
yaml==0.2.5
└─ libgcc-ng 13.2.0 [required: >=9.4.0]
├─ _openmp_mutex 4.5 [required: >=4.5]
│ ├─ _libgcc_mutex 0.1 [required: 0.1, conda_forge]
│ └─ libgomp 13.2.0 [required: >=7.5.0]
│ └─ _libgcc_mutex 0.1 [required: 0.1, conda_forge]
└─ _libgcc_mutex 0.1 [required: 0.1, conda_forge] the command It is important to note that these only display the constraints of the currently installed packages. so in this example |
When you look at a package using
From what I can see, conda-tree only deals with packages listed in the |
ah, I see. |
This package is excellent for showing dependencies between packages. However, sometimes packages put constraints on other packages that can be installed together. It would be nice to be able to see these constraints in the tree output and possibly some other commands like
constrains
andwho-constrains
.The text was updated successfully, but these errors were encountered: