-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix TypeError: can only concatenate tuple (not "list") to tuple
#15026
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
Conversation
CodSpeed Instrumentation Performance ReportMerging #15026 will not alter performanceComparing Summary
Footnotes |
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.
It looks like the root of this issue is the EnvironmentYaml
env spec plugin is not respecting the type annotations of the EnvironmentConfig
class. I think this change is ok to make the model more resilient, but I think it would also be helpful to update the EnvironmentYaml
plugin to return the correct type.
Can we do that in this PR as well? https://github.com/conda/conda/blob/main/conda/env/env.py#L271 needs to be updated to be config = EnvironmentConfig(channels=tuple(self.channels))
.
Co-authored-by: Ken Odegard <kodegard@anaconda.com>
Co-authored-by: Sophia Castellarin <scastellarin@quansight.com>
Thanks @soapy1 @kenodegard, I applied your suggestions! |
Description
Small fix for some environment files in #14911. Reproduces with:
Checklist - did you ...
news
directory (using the template) for the next release's release notes?