Closed dalthviz closed 2 months ago
Operating System: macOS-11.6.8-x86_64-i386-64bit
I see that you're using Mac 11, but the installers require Mac 12 or newer now. So, this could be the cause of the error.
Let me check on my VM (which has Mac 14) to see what I find.
Could it be worthy to somehow validate the OS version and prevent installing from the installer if it is not supported?
Could it be worthy to somehow validate the OS version and prevent installing from the installer if it is not supported?
Good idea but I don't know if that's possible. @mrclary, what do you think?
I think this is possible. Either using our pre-install.sh
script which is run by constructor at install time, or using __osx>=12
virtual package in the base environment specs. I'll test them to see what happens.
Hmm...
Well, __osx>=12
in the base environment specs did not seem to do anything.
Using pre-install.sh
to check macOS version successfully aborts the install process.
@jaimergp, do you know if there is a more elegant way for constructor to verify os version at the beginning of the install process?
Two issues with using pre-install.sh
:
Well, __osx>=12 in the base environment specs did not seem to do anything.
That's because the solver runs on the build machine, not the target installation machine.
That said we should detect that and add it as a check at installation time, but right now we don't have that logic.
Also, I think the PKG installers have a way to check this natively, so maybe you can hack something together while we come up with something on the constructor side.
Giving it a try at https://github.com/conda/constructor/pull/809
Just reporting that as of constructor 3.9.3 and conda-standalone 24.7.1 this feature is supported via virtual_specs
. See https://github.com/conda-forge/miniforge/pull/626 for inspiration.
Description
What steps will reproduce the problem?
Error triggered while testing macOS installer build as part of the Spyder 6 beta2 release (rc0). The error shows up after Spyder starts when the installation process finishes
Traceback
Versions
Dependencies