On Thu, Apr 3, 2025 at 3:48 PM Marc Culler <marc.cul...@gmail.com> wrote: > > This will unnecessarily make it more difficult to build the Sage_mac OS > binary package. In order to make that package easy to install in the way > that normal macOS users expect, it must be signed and notarized. In order to > notarize the package it must be self-contained. > > Not signing and notarizing the package would break it. So would requiring > users to install a particular version of python.
Somebody will update the Sage macOS binary package preparation process to install Python in a self-contained way, so that you can sign and notarize it. There are other ways to install Python instead of building Python from source using our recipe. As was mentioned before by Tobia, there is a project that has got extremely good at doing this: https://github.com/astral-sh/python-build-standalone They are probably much better at building Python for redistribution than we are. I just followed https://docs.astral.sh/uv/guides/install-python/#reinstalling-python to install Python 3.12 from that project on MacOS and ended up with this working python (in a matter of seconds): black:test wstein$ du -sch ~/.local/share/uv/python/cpython-3.12.9-macos-aarch64-none/ 48M /Users/williamstein/.local/share/uv/python/cpython-3.12.9-macos-aarch64-none/ 48M total How much space does the Python that is included with Sage take? I wonder if it is more than 48 MB. Here is some evidence that the Astral project is serious about the problem of "building self-contained Python": https://astral.sh/blog/python-build-standalone#whats-a-standalone-python-distribution Etc. Let's work with the wider python community (way, way) more and leverage some of the great innovation and work that is happening, rather than ignoring it. -- William -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/sage-devel/CACLE5GA4CpWMtpc17EAb67cAnFx788A%2BqNbpbc%2BCjT88tUUBYA%40mail.gmail.com.