nextstrain / conda-base

Conda package build for nextstrain-base
https://anaconda.org/Nextstrain/nextstrain-base
1 stars 1 forks source link

macOS 10.14 cannot install any versions after `20230615T171309Z` #38

Closed joverlee521 closed 10 months ago

joverlee521 commented 12 months ago

Found out that I could not install any versions after 20230615T171309Z while investigating https://github.com/nextstrain/cli/issues/300.

Traced this to the update of nodejs in 20230628T211222Z from version 18.15.0 to 18.16.1.

The update of nodejs in https://github.com/conda-forge/nodejs-feedstock/pull/310 included bumping the minimum macOS version to 10.15.

jameshadfield commented 12 months ago

Nothing seems obvious in the node changelog why it coudn't be build on MacOS 10.14, but conda-forge does indeed bump the minimum version to 10.15.

I presume this doesn't include new docker containers @joverlee521, or do they fail on 10.14 as well?

I think we have to draw a line somewhere regarding how much we invest in compatibility for the cross-product of {runtimes, nextstrain/augur/auspice versions, OS/arch versions}, and I would be tempted to categorise this as "won't fix".

tsibley commented 12 months ago

The conda-forge recipe bump on macOS version appears at a glance to be to make the newer C11/C++17 aligned_alloc() function available via a paired Clang version bump. See the error that was quoted.

macOS 10.14 went unsupported by Apple in October 2021. @joverlee521 It's probably time to upgrade since unsupported means no security updates!

joverlee521 commented 11 months ago

Totally agree that we have to draw the line somewhere. I'm fine with closing this issue as "won't fix"!

I wonder if we want to add run_constrained in our recipe.yaml similar to what nodejs has in their recipe.

This at least provides a nice error message when I try to install nodejs with mamba:

$  mamba install -c conda-forge nodejs==18.16.1 --quiet
Could not solve for environment specs
The following packages are incompatible
├─ __osx is requested and can be installed;
└─ nodejs 18.16.1  is not installable because it requires
   └─ __osx >=10.15 , which conflicts with any installable versions previously reported.

Although, the error message is not as clear when I try to install with micromamba

v1.1.0 (version of micromamba we are using in Nextstrain CLI)

$ micromamba install -c conda-forge nodejs==18.16.1 --quiet
critical libmamba Cannot strip file extension from: __osx

v1.4.9 (latest version of micromamba)

$ micromamba install -c conda-forge nodejs==18.16.1 --quiet
critical libmamba Could not set URL (code: 14 - url = @)
tsibley commented 11 months ago

"not as clear" is quite an understatement…

tsibley commented 10 months ago

Is this a "won't fix" situation?