-
Notifications
You must be signed in to change notification settings - Fork 25
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
Fix disappearing channel matchspecs #222
Conversation
spec_str = str(spec) | ||
if "::" in spec_str: | ||
for arg in sys.argv: | ||
if spec_str in arg: | ||
spec = MatchSpec(arg) | ||
ms_from_arg = MatchSpec(arg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked this PR when running and it does fix the issue but
conda create -n test -d conda-forge::jax conda-forge::jaxlib
specs_to_add is of type List[str]
so the elif isinstance(spec, MatchSpec):
branch is not touched. Is this intended? If so I am wondering why you are modifying lines 114 & 115. Checked this using breakpoints.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, good catch! I think it might be the case in some tests that are passing List[MatchSpec]
directly. We'll have a clearer view when #223 is merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch!
Description
Will close #221
Checklist - did you ...
news
directory (using the template) for the next release's release notes?