Skip to content

Conda package search returns duplicates dozens of times #128

Description

@rohangirishrao

Searching for a Conda package in the "Add Conda Dependencies" dialog returns a very long list in which the same handful of packages repeat over and over. Searching for napari-skimage, for example, produces a long run of rows that all look identical, each showing noarch • BSD-3-Clause. It's not clear at all which is to be picked. Searching for python=3.12 e.g. leads to the GUI crashing on my Linux-64 machine, I assume because of the number of package options it returns.

Image

Is this because it returns one row per version × build × channel? I guess that should only return the latest record per package version?

I ran a rudimentary search with Claude, and it had some suggestions about collapsing in search.rs the number of results to only the latest version. I'm not familiar enough with the codebase to just make a PR, but happy to take a deeper look and check that the suggestions actually make sense.

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions