Henry Schreiner
Henry Schreiner
I was planning on testing this with the sort-of official WASM Python builds. Not near a computer for a while But it should work and sounds great. :)
There’s also https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html https://scikit-hep.org/developer is a good place for modern packaging suggestions. Also I’m fond of `hatch new --init`, which converts setup.py/setup.cfg directly to hatchling. Many PyPA packages have moved,...
And personally I almost always use `pipx run build`. :)
FYI, scikit-hep.org/developer has been mostly migrated to https://learn.scientific-python.org/development/ Yes, `setup.py test` has been deprecated for years. You do want pytest in dev-requirements (I usually have a `[test]` extra, so a...
I believe the problem is that this is handled unusually: if both NO_COLOR and FORCE_COLOR are set, instead of avoiding ANSI escapes, it instead makes everything black and white, but...
I’m not sure that’s the correct reference. That one says monochrome is still color. :) A big part of the problem is you can’t set NO_COLOR to an empty string...
Oops. Don't think I ever reimplemented that in GHA. Should be really easy now (https://learn.scientific-python.org/development/guides/gha-basic/#github-pages) - I'll try to do that soon-ish.
Done in #897 & now live.
FYI, if you want to see examples in CI, NumPy, boost-histogram, and awkward all build pyodide wheels in ci. https://github.com/scikit-hep/awkward/blob/main/.github/workflows/docs.yml Is the most complex, but it makes the wheel available...
I’d recommend https://github.com/henryiii/check-sdist. You can also build from and check your SDist. Cibuildwheel actually supports building from SDist these days.