Skip to content
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

Avoid using lambda in skylet.constant #3894

Merged
merged 2 commits into from
Aug 30, 2024
Merged

Avoid using lambda in skylet.constant #3894

merged 2 commits into from
Aug 30, 2024

Conversation

cblmemo
Copy link
Collaborator

@cblmemo cblmemo commented Aug 29, 2024

Fixes #3874 (comment)

Just found a more elegant way to do this..

Tested (run the relevant ones):

Copy link
Collaborator

@Michaelvll Michaelvll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @cblmemo! LGTM.

@@ -137,7 +135,7 @@
# true.
'{ bash Miniconda3-Linux-x86_64.sh -b; '
'eval "$(~/miniconda3/bin/conda shell.bash hook)" && conda init && '
f'conda config --set auto_activate_base {conda_auto_activate} && '
'conda config --set auto_activate_base {conda_auto_activate} && '
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a comment here saying that the caller should replace this conda_auto_activate with true or false?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point! Added. Thanks!

@cblmemo cblmemo enabled auto-merge August 29, 2024 23:55
@cblmemo cblmemo added this pull request to the merge queue Aug 30, 2024
Merged via the queue into master with commit 50f68d2 Aug 30, 2024
20 checks passed
@cblmemo cblmemo deleted the constant-avoid-lambda branch August 30, 2024 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants