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
I'm struggling to get an private package dependency to download. Its wheel file doesn't get selected, because the actual platform of the wheel file <somepackage>-20.0.1-cp39-cp39-macosx_14_0_arm64.whl is for MacOS darwin Version 14 and my M1 Mac should satisfy this:
$ python -m platform
macOS-14.4.1-arm64-arm-64bit
but the poetry2nix wheel selection filtering is being done against an older darwin version 11, i.e. python.stdenv.targetPlatform from mk-poetry-dep.nix
is by default:
The Nix default target architecture for Mac indeed seems to be darwinSdkVersion 11 as newer versions are being worked on in NixOS/nixpkgs#229210.
In the Python ecosystem many wheels are being build against sdk version 12 (e.g. tensorflow) as that seems to be the new minimal version. But poetry2nix doesn't select those wheels even though they work on a sdk version 14 machine. We probably need a mechanism to allow such higher sdk version wheels in the mean time until sdk 12 is officially supported in nixpkgs.
I'm struggling to get an private package dependency to download. Its wheel file doesn't get selected, because the actual platform of the wheel file
<somepackage>-20.0.1-cp39-cp39-macosx_14_0_arm64.whl
is for MacOS darwin Version 14 and my M1 Mac should satisfy this:but the poetry2nix wheel selection filtering is being done against an older darwin version 11, i.e.
python.stdenv.targetPlatform
from mk-poetry-dep.nixis by default:
Is that the intended default behavior? How can i override darwinSdkVersion?
I could add some section to documention afterwards.
The text was updated successfully, but these errors were encountered: