Same tree as the v0.9.2 tag except for two workflow fixes, because v0.9.2
never reached PyPI: the build job now builds only native x86_64 wheels (the
aarch64 containers are ARM images that cannot run on an x86_64 runner without
QEMU -- cibuildwheel reported "exec format error"), and the publish job checks
the repository out before comparing pyproject.toml with the tag.
What this release contains, all of it found while chasing the failing publish:
- The wheel no longer ships without its compiled extension. poetry-core
removes git-ignored files from the wheel when the build runs inside a
checkout -- and .gitignore lists *.so -- so CI produced an extension-less
wheel that auditwheel refused. Confirmed in run 36151131878: auditwheel
repaired biorazer-0.9.2-cp311-cp311-linux_x86_64.whl and its cp312 sibling.
- PyMOL's rotamer directory is resolved instead of hardcoded: $PYMOL_DATA ->
$CONDA_PREFIX/share/pymol/data -> common install locations -> the macOS
bundle. library="pymol" is the default of rotamer_candidates and mutate,
so this is the default path, not an exotic one.
- Tests that need PyMOL's data skip when it is absent instead of erroring,
which is what made `test (py3.11)` report 10 failures. Both test jobs are
green in run 36151131878.
- biorazer is a regular package now, with __version__ read from the installed
metadata; __path__ no longer merges across checkouts.
Verified against biotite 1.6.0 on py3.11 and biotite 1.7.1 on py3.12: 296
passed in each, and 296 passed again for the wheel installed into a clean
virtualenv.