pysam-developers / pysam

Pysam is a Python package for reading, manipulating, and writing genomics data such as SAM/BAM/CRAM and VCF/BCF files. It's a lightweight wrapper of the HTSlib API, the same one that powers samtools, bcftools, and tabix.
https://pysam.readthedocs.io/en/latest/
MIT License
779 stars 274 forks source link

Use relative cimports rather than luck #1234

Closed jmarshall closed 1 year ago

jmarshall commented 1 year ago

Fix 6½ year old incorrect cimport statements that accidentally depended on get_pysam_version()'s addition to sys.path.

Add a second test commit (which hardcodes a version number in place of the existing get_pysam_version() code) temporarily to do a full CI check on the change.

That succeeded (see 2d67777b1c2d80bef1753c66bb0c36e18f78a9dc and run 6466884695); replace it with some minor actions workflow updates, to test them.