astral-sh / astral-sh/python-build-standalone
Doesn't work on macOS Monterey (no realpath command)
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 314
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 27
Description
My first question is: What is the supported version of macOS?
I think this info must be clearly stated somewhere in the Web site.
I've downloaded
cpython-3.11.12+20250409-x86_64-apple-darwin-install_only.tar.gz
and found that the "minos" in LC_BUILD_VERSION of bin/python3.11 and lib/libpython.3.11.dylib are 10.15 (=Catalina). Are you really supporting such an old macOS?
But: If I tried to use it on my iMac running macOS 12 (Monterey), then it didn't work simply because Monterey (and probably older macOS) does not have the "realpath" command used in the shebang of the scripts in bin/ (python3.11-config etc.)
It's OK that it does not work on Monterey (rather old now), but if that is the case it must be clearly stated in the Web page, I think.
Or, if you want to support Monterey (and older macOS) the shebang need be fixed, but I don't know how to do that in a portable way (it's possible to do in a Mac-only way but...).
Contributor guide
Assessment
This issue has not been assessed yet.