Replies: 2 comments 12 replies
-
It's hard to answer these questions exactly because we haven't solidified on what the new builds will look like, but a few differences could be:
That's what I can think of off the top of my head |
Beta Was this translation helpful? Give feedback.
-
My personal opinion as one of the people who works on python-build-standalone: I think it would be a big success if these ended up being exactly the same thing, and I think that would be a good goal to get to. There are a number of ways you could imagine this working organizationally. I also think any step in that direction would also be a big success, e.g., using the same code to drive the build but with the CPython team owning the build process. On the technical side, the build scripts are very intentionally open source (MPL) and so nothing stands in the way of using the existing project as a starting point. At the least, I think we should aim for getting all the patches for relocatability upstream. I suspect one practical difference is that python-build-standalone currently has slightly less conservative build options enabled (e.g., using BOLT, turning on the JIT in Also worth noting: we distribute the entire stack of libraries that Python depends on up to the system C library, namely OpenSSL, Tcl/Tk for tkinter and therefore libX11, ncurses, etc. This is kind of annoying to maintain. A reasonable approach for an official build would be to do a little less of this and require more dependencies from the system. python-build-standalone came out of a use case for building single-file applications written in Python for PyOxidizer, so there's a handful of design decisions like trying to link all compiled modules in the standard library into the executable instead of having them be separate loadable modules on the filesystem. That use case is certainly not the primary one and we're shifting away a bit from accommodating it (e.g., we had to spin out |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi 👋,
Given that python-build-standalone exists, I think it'd be good to clarify in what ways this will be different/similar. The two particular questions I think should be answered are:
Beta Was this translation helpful? Give feedback.
All reactions