-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Ability to reverse search a cuda library for metapackage containing it? #61
Comments
Ah, I think the answer is that there is no metapackage for |
Yeah searching the conda-forge org on GitHub can be pretty effective These may not address the question, but here are some useful inspection tools Another useful tool is this streamlit dashboard Jaime put together for looking at package details. We use this on the https://conda-forge.org/packages page to fill in the "Metadata" columns "Browse" links The somewhat low-level Probably closer to what you are looking for is |
Wow, this is great, @jakirkham, thanks!
TIL that https://conda-forge.org/packages exists — this is going to be much more helpful than guessing feedstock URLs in the future! The dashboard is quite nice too.
Kinda. You can do this with $ micromamba repoquery whoneeds --channel conda-forge awkward | awk '{print $1}' | sort --unique
────────────────────────────────────────────────────────────────────────────────────────────
akimbo
awkward-numba
awkward-pandas
cabinetry
clouddrift
coffea
conda-forge/linux-64
conda-forge/noarch
cuda_histogram
dask-awkward
fastjet
Getting
km3io
km3pipe
lbapcommon
lhcbdirac
Name
pykealib
pylhe
ragged
rubin-env-extras
rubin-env-rsp
scikit-hep
tiled-base
uproot
uproot-base
uproot-browser
uproot-methods (eh...there's some cruft in there from the stdout of the search channels, but close enough) and $ micromamba repoquery whoneeds --channel conda-forge cuda-nvtx-dev
Getting repodata from channels...
conda-forge/linux-64 Using cache
conda-forge/noarch Using cache
nodefaults/linux-64 Using cache
nodefaults/noarch Using cache
No entries matching "cuda-nvtx-dev" found
Try looking remotely with '--remote'. shows no results, which confirms that there's no metapackage that provides it as a I think this addresses my question though, so I'll close this now. 👍 |
This seems like a good feature request for the conda streamlit metadata app We may also just want to document all these search approaches somewhere that would be easier to find. The conda-forge webpage could be one choice. Though would be interested to hear where you looked for this info and where it might be more easily surfaced by folks searching in the future |
@jakirkham Suggestion taken. :) Quansight-Labs/conda-metadata-app#24
Where I looked to find |
Thanks Matthew! 🙏 Nicely written. +1'd the issue Ah interesting. That certainly feels like a roundabout way to discover this (not your fault of course). If we add this info to the conda-forge or Conda docs, would this have helped (or would this help future users)? |
Maybe? I think there is a documentation issue with $ docker run --rm -ti ghcr.io/prefix-dev/pixi:latest
root@90a33b8a9346:/# pixi global install conda
Installed package conda 24.11.3 py310hff52083_0 from conda-forge
These executables have been added to /root/.pixi/bin
- activate
- conda
- conda-env
- deactivate
! To use them, make sure to add /root/.pixi/bin to your PATH
root@90a33b8a9346:/# export PATH=/root/.pixi/bin:$PATH
root@90a33b8a9346:/# conda --version
conda 24.11.3
root@90a33b8a9346:/# conda repoquery --help
usage: conda repoquery [-h] {whoneeds,depends,search} ...
Advanced search for repodata.
positional arguments:
{whoneeds,depends,search}
whoneeds Show packages that depend on this package.
depends Show dependencies of this package.
search Show all available package versions.
options:
-h, --help Show this help message and exit.
root@90a33b8a9346:/# it isn't listed in the and so you have to search the But I could see an example also landing in the conda-forge user docs "Tips & tricks" section. |
Good point. Looks like upstream issue ( conda/conda#14172 ) is relevant here Appears the command lives inside |
Comment:
This question comes from the context of #59 (comment), where I've found that
cuda-nvtx-dev
is a package I need, but I haven't been able to find thecuda-x
metapackage that contains it (if there is one).My real question is if I have a CUDA conda-forge package if it is possible to query all the metapackages to figure out which metapackage contains it?
I assume the answer is no, as this would be a search feature in
conda
/mamba
/pixi
and that would require the infrastructure tools to be able to do generic reverse search.Follow up question: Is there a list of all the CUDA metapackages? The user guides currently list this subset
cuda-feedstock/recipe/doc/end_user_run_guide.md
Lines 64 to 69 in a4d8ef4
pixi search
oncuda
,cuda-libraries-dev
,cuda-tools
,libcublas-dev
don't showcuda-nvtx-dev
as a dependency.The text was updated successfully, but these errors were encountered: