Replies: 3 comments 1 reply
-
|
Tier 1 is Windows i686 and x86-64, Linux x86-64 and aarch64, and macOS aarch64. Local macOS VMs on non-Apple hardware are illegal. Local Windows VMs are legal but (mostly?) require a license. Local Linux VMs are pretty easy. For python-build-standalone, all of these platforms are built with native builds. We do cross-builds for other platforms, and we do a tiny bit of qemu-user-static testing in uv but not in python-build-standalone itself, which is a gap. On the other hand, nobody has reported major issues with those platforms (probably usage is very minimal). The nice thing about this list is that GitHub Actions makes runners available for all of them, so it's possible to at least do an edit-compile-test cycle on your own, although true interactive use is cumbersome. I am under the impression that while cross-building for Windows works with mingw, it's ABI-incompatible with MSVC builds, which is what the wheels on PyPI are. So I would recommend doing builds and tests on GHA and making sure that unprivileged PRs work right. (Personally, I own a Mac, and I do my Linux and Windows testing on VMs in AWS, which are billed by the second and so relatively cheap for quick testing, and I also occasionally use a local Linux VM. Unfortunately Mac VMs are billed with a 24-hour minimum which makes them less cheap.) |
Beta Was this translation helpful? Give feedback.
-
Correct, but that's not a new problem for Python either. This is in no way a showstopper for this project. |
Beta Was this translation helpful? Give feedback.
-
|
Ramping up for CPython development I built a number of local tools for things like "Make a FreeBSD VM and build a CPython branch in it", "Build two branches of CPython and run PyPerformance", etc. I suspect for this in CI will need to build some new tools as well as some new tools to developing locally. What I'd like to see is if we can get that sort of tooling for common paths to exist in-tree rather than as local development scripts / workflows. That doesn't mean other tools can't be used, just that we make the standard ones used for release as accessible as possible. Rather than document "run these 6 commands" in a README or devguide have a script which runs those 6 commands possibly with comments. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
For PEP 11 there's a range of hardware + OSes required and goal is to support all tier-1 platforms with prebuilt-python.
Not all contributors have a setup which gives access to all those; wondering if there's ways / tools we could use to simplify development and testing across the platforms
Some options I've encountered:
Beta Was this translation helpful? Give feedback.
All reactions