messense

Results 597 comments of messense

OK I think I know what is happening: 1. maturin generates a pyo3 config file with `abi3=false` regardless of `abi3-*` features (because abi3 is a mode, not a interpreter config)...

Host ```bash $ cat /proc/cpuinfo processor : 0 BogoMIPS : 50.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp ssbs...

Windows-to-Windows cross compiling works pretty well generally, one thing to note is that `ring` requires `clang` to target `aarch64` Windows: https://github.com/briansmith/ring/blob/e3b72456313783513e95cd929c3d73d74a33fb5c/build.rs#L550-L553

> Cc @messense maybe we want this change in maturin too? Done in https://github.com/PyO3/maturin/pull/2478

Maybe we can run doctests using https://github.com/twmr/pytest-sphinx?

Sorry no example ATM, PR are welcome! Note that generated api reference is here: https://nh3.readthedocs.io/en/stable/#nh3.clean

What's the output of `python3 -m sysconfig`? Can you find `SOABI` in it?

This is actually a known issue because the version spec in Python isn't standard semver.

@mattip Opened https://github.com/hpyproject/hpy/pull/457

I don't have plan to add support for them personally. PR welcome!