You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But then I realized that will only cause a different error because {homebrew_prefix} will be in the scheme but undefined. The enabled() function needs to detect whether the install is a homebrew one.
Maybe the presence of "Cellar" in the projectbase config var is a good indicator?
>>> pprint.pprint({k:v for k, v in sysconfig.get_config_vars().items() if isinstance(v, str) and 'Cellar' in v})
{'projectbase': '/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/bin',
'srcdir': '/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python3.10/config-3.10-darwin'}
Activity
dflems commentedon Jul 13, 2022
See also #159 and #155 (comment)
@jaraco
jaraco commentedon Jul 13, 2022
At first, I was going to use this diff:
But then I realized that will only cause a different error because
{homebrew_prefix}
will be in the scheme but undefined. Theenabled()
function needs to detect whether the install is a homebrew one.jaraco commentedon Jul 13, 2022
Maybe the presence of "Cellar" in the
projectbase
config var is a good indicator?jaraco commentedon Jul 13, 2022
Fix is rolling out is 63.2.0.
1255 remaining items