Now that python3 Platforms/WASI release is a thing, I’m getting really close to wanting to have the RM release official WASI binaries via release-tools/.github/workflows/build-release.yml at main · python/release-tools · GitHub . But before I go and send Savannah a PR to let me do it for Python 3.16 (which I have discussed with her and other RMs before over the years and gotten tacit approval for), I wanted to see if there were any concerns or anything people wanted to see happen before I did that.
The closest I could see is testing the resulting .tar.xz file, but from what I can tell we don’t actually test installed copies of Python on a buildbot or CI. It would be a little annoying as I would be duplicating either make test or make buildbottest manually since the Makefile doesn’t work on files unpacked in some random place that isn’t tied to the build. Plus it would seemingly be a test for making sure I didn’t miss copying a file more than validating the interpreter didn’t break. But if people want me to add a second test run in CI or repurpose the WASI buildbot to handle this I can (I don’t think having the buildbot test both an install and a build from a checkout is worth it). My guess, though, is that people don’t want a second full test run just for this.
Otherwise I am going to do one last pass at asking folks in the WASI community if there’s any specific build flags I should be thinking about before opening a PR.
I think it would be great to have official WASI binaries! I presume these would these be signed via sigstore and include SBOM information like the source tarballs?
Historically the platform release managers have done some small amount of manual testing with the installer before calling it done, and it’s built into the Windows release pipeline now.
Depending on where you put the actual build steps, having a simple “does it install and can you get -m site output” or something like that before it triggers the final publish step is worth it. Running the whole suite probably isn’t - it’s more likely to flake out and mess up the release process.
I would assume eventually, but if that’s a blocker then I can try and figure out what has to happen on my end since I doubt it’s as simple as “just copy what the source tarball does”. Basically I haven’t bugged @sethmlarson about it as that’s a release problem and not a all-code-devs problem.
The search box at Buildbot did not turn that up under “install”, so I blame Buildbot for that mistake on my part.
Yes, but I assume your question was more than just a hypothetical. I’m assuming you’re asking so the test command used on the buildbots could be used locally by someone. And I could, but it’s a risk of having skew from make buildbottest, although maybe I can override TESTRUNNER to do the appropriate thing.
Yes, I am asking I suppose! I do think changing make buildbottest to do the right thing with a different runner would be useful for other platforms as well.
Yep, Sigstore signing is not as simple as “just copy what the source tarball does”, but it is as simple as “just copy what the Android/iOS binaries do”, they already have version gating.
SBOM is doable with more work, including on the CPython side. We have Sigstore but not SBOMs for the Android and iOS, so I’d suggest just Sigstore first, and SBOM can follow if necessary.