Releases: cfe-lab/pyvdrm
Stylish
This release modernizes the pyvdrm package with improved infrastructure, expanded Python compatibility, and enhanced testing.
What's New
- Migrated from legacy
setup.pytopyproject.toml(PEP 517/518)
Automated Testing & CI
- Implemented GitHub Actions workflow with matrix testing
- Supports Python 3.8, 3.9, 3.10, 3.11, 3.12, and 3.14
- Added 17 integration tests covering ASI2, HCVR parsers, and mutation APIs
- Total test suite: 126 tests, all passing
Python 3.12+ Compatibility
- Updated deprecated pyparsing API calls to modern equivalents
- Ensures compatibility with pyparsing 3.x
- Removed support for Python versions below 3.8
Breaking Changes
None. This release maintains full backward compatibility.
Full Changelog: v0.3.2...v0.3.3
Allow multiple OR clauses without brackets
Since HIVdb 9.2, there have been conditions like 33i OR 34i OR 35i, which were breaking in pyvdrm, because only binary OR conditions were expected.
This release generalises OR clauses and allows for multiple OR clauses without brackets.
Filter VariantCalls
Remove empty positions when creating VariantCalls.
Raising Exceptions
Change from returning None in scores to raising exceptions.
Negative variants
Replace NOT A10AC with A10!AC.
Flags and Constants
Add features for mutations that trigger flags instead of numeric scores, and rules that are always triggered without any particular mutation.