Replies: 1 comment 1 reply
-
Hi @zooba! I'm familiar with your work upstream :) Upstreaming build system changes is perpetually on my todo list. There are some legit bug fixes in there, especially around some of the lesser used build system features (like cross compiling). There are also some changes that I anticipate would be controversial. Windows static builds is one of those features that I assumed upstream wouldn't be interested in due to its scope/complexity and ongoing support costs for upstream. My overall experience with the Windows static builds has not been great. Since those builds break ABI compatibility due to how Windows handles symbol naming for imported/exported symbols, you can't leverage binary wheels on PyPI and this opens the hornets nest of people having to compile extensions from source. You can imagine what a pain this is for some packages! There is also some runtime wonkiness, such as with the OpenSSL library not behaving correctly - but this may be a bug with how I'm compiling it or assumptions that CPython makes about how OpenSSL is built on Windows. I naively assumed that if upstream took patches for Windows static, then that would create an expectation of some kind of support. People would likely want official target support in packaging tools like pip. And binary wheel support on PyPI. And... Don't get me wrong, if upstream is willing to take patches from python-build-standalone, I'm happy to contribute if I have time. But, selfishly, I don't want to get bogged down in all the politics around convincing people to take them. If you or someone else spells out which functionality/patches would be acceptable upstream, I can probably put in the work to submit them. That does save me time in the long run as it reduces the burden on maintaining this project. Especially for some of the more complex patches, like Windows static and better cross-compiling support. Let me know! I'm also happy to drop on a call to discuss synchronously, if preferred. |
Beta Was this translation helpful? Give feedback.
-
This is some very impressive work here! (Mainly looking at the Windows script, since that's my area ;) )
Obviously what you've got works great, but I wanted to let you know that I'm more than happy to accept changes to the Windows build files upstream to help make this easier - static builds in particular. I doubt you've had to do too much to keep up with changes, since we don't make so many, but anything you'd rather invoke as a build option rather than modifying files is certainly on the table.
Beta Was this translation helpful? Give feedback.
All reactions