-
Notifications
You must be signed in to change notification settings - Fork 148
Closed
Description
Checklist
- I added a descriptive title
- I searched open requests and couldn't find a duplicate
What is the idea?
Rattler's MatchSpec does not support * in package names right now. Somehow it does allow * as the only character for the whole MatchSpec.
Why is this needed?
This is useful when we use MatchSpec as the query language for searches (and not installs). For example, if I want to find all python-* package in my channel, we can search conda search python-*; or if we want to list all the R packages in my environment: conda list r-*. Right now I can't implement this in py-rattler.
What should happen?
rattler.MatchSpec("python-*") should work. The PackageName object may need to learn a few tricks or perhaps the name field may need to allow different types (if a * is detected, then is a GlobString or something like that).
Additional Context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels