__osx virtual package version depends on what SDK CPython in the base environment was built with #13832
Open
2 tasks done
Labels
pending::discussion
contains some ongoing discussion that needs to be resolved prior to proceeding
source::anaconda
created by members of Anaconda, Inc.
type::bug
describes erroneous operation, use severity::* to classify the type
Checklist
What happened?
On the macOS of x86-64 the version of the
__osx
virtual package depend on what SDK CPython in the base environment was built with. Specifically it can either be >=10.16,<11.0 if CPython was built with macOS SDK <11 or >=11.0 if built with SDK >=11. This is a result of the 10.x compatibility rules that comes into play when reporting the OS version starting with Big Sur. For example see Big Sur is both 10.16 and 11.0 – it’s official.This difference in versions for the
__osx
virtual packages make it difficult for package builders to determine an appropriate constraint to add when they need to describe the version of macOS their package is compatible with. This also introduced a hurdle for end users who may be blocked from installing packages that use have a dependency on__osx>=11.0
.As an example of this inconsistency:
One potential solution for this issue would be to translate the versions >=10.16,<11.0 into it's >=11.0 equivalent. This could be tricky going forward as future version are not known AFAIK.
Conda Info
Conda Config
Conda list
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: