-
Notifications
You must be signed in to change notification settings - Fork 168
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 some issues with virtual_specs
#887
Conversation
CONDA_SOLVER="classic" \ | ||
CONDA_PKGS_DIRS="$(mktemp -d)" \ | ||
SYSTEM_VERSION_COMPAT=0 \ |
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.
Since checking for the virtual package is removed, I don't think this variable is needed anymore.
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 doesn't hurt either I guess?
@@ -479,7 +479,7 @@ mkdir -p "$TMP" | |||
# but we haven't created $PREFIX/pkgs yet... give it a temp location | |||
# shellcheck disable=SC2050 | |||
if [ "__VIRTUAL_SPECS__" != "" ]; then | |||
echo 'Checking virtual specs compatibility: __VIRTUAL_SPECS__' | |||
echo "Checking virtual specs compatibility:" __VIRTUAL_SPECS__ |
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.
echo "Checking virtual specs compatibility:" __VIRTUAL_SPECS__ | |
echo "Checking virtual specs compatibility: __VIRTUAL_SPECS__" |
The new code looks like it would render as "compatibility:'__virtual'". I think just replacing the single quotes with double quotes will be fine.
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.
__VIRTUAL_SPECS__
is shlex.join
'ed so it will contain single quotes if it has >
in it. But I'm not sure what will happen if the user types "__osx>=10.13"
. Given that echo
admits several parameters, I'm inclined to let it roam freely because it's supposed to work like that.
Description
Checklist - did you ...
news
directory (using the template) for the next release's release notes?