-
Notifications
You must be signed in to change notification settings - Fork 72
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
MatchSpec parses incorrectly when channel is passes as a URL #793
Comments
EDIT: That was wrong it needs to be |
We just merged #792 which fixes: >>> from rattler import MatchSpec
>>> m = MatchSpec("https://conda.anaconda.org/conda-forge::python[version=3.9]")
>>> m
MatchSpec("conda-forge::python ==3.9")
>>> m.channel
Channel(name="conda-forge", base_url="https://conda.anaconda.org/conda-forge/") Parsing |
Closed
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
While using the
py-rattler
library, I discovered a possible problem with how MatchSpecs are parsed when passing the channel name as a URLThe following happens when specifying the
channel
as a MatchSpec key:What should happen?
I would expect rattler to be able to parse full URLs properly. This is currently also a bug in conda as reported here:
channel_alias
is incorrectly applied to URL conda#14074But, micromamba appears to be parsing this correctly.
The text was updated successfully, but these errors were encountered: