Ensure Python binding thread-safety on methods that
mutate the underlying binary. Note: this coverage is not exhaustive
but bootstrap the support for free-threaded Python builds.
resolve#1255
Note:
We are affected by the 0.9.0 update on `wheel.exclude`:
> The meaning of wheel.exclude has been changed to match on the wheel path, rather than the source path
So we had to revert to `sdist.exclude`
[1]: https://github.com/scikit-build/scikit-build-core/releases/tag/v0.9.0