Skip to content

Fix CI and the 1.2.0 bugs (release 1.2.1) - #43

Merged
Psirving merged 3 commits into
masterfrom
release/1.2.1
Dec 1, 2026
Merged

Psirving merged 3 commits into
masterfrom
release/1.2.1

Conversation

@Psirving

@Psirving Psirving commented Dec 1, 2026

Copy link
Copy Markdown
Member

v1.2.0 failed CI/CD and wasn't published. These fixes ship as v1.2.1.

Why 1.2.0 failed

  • ubuntu-latest moved to 26.04, which has no Python 3.9 build.
  • A newer matplotlib broke rigid pixel-perfect geometry tests.

CI

  • Install using uv sync --locked on pinned ubuntu-24.04.
  • Lint runs only once instead of in every matrix job
  • New monthly compat.yml: test lowest dependencies on 3.9, test highest on 3.9 and 3.13

Fixes

  • Typo in "quinaxoline" example
  • get_sequence() raised when sample=None
  • plot_arcs_compare(region=...) drew the whole alignment axis
  • SecondaryStructure.pair_nts returned an object array on older pandas
  • Interaction sorting was unstable, so ties could be drawn out of order
  • biopython minimum raised to 1.80

Tests

  • Track geometry snapshot:
    • 3 px tolerance on coordinates
    • accepts the older matplotlib artist class names
    • compares rectangle corners regardless of order
  • Tests for three bug fixes in tests/test_data_loading.py

…bility job

- CI installs from uv.lock (uv sync --locked) on ubuntu-24.04; Python 3.9 is provided
  by uv, so it no longer depends on the runner image
- lint runs once instead of in every matrix job
- compat.yml runs lowest-direct and latest dependency installs monthly
- track geometry snapshot compares coordinates to 3 px (matplotlib 3.11 shifts the
  layout by 2 px); text, font sizes and artist counts still compare exactly
- raise biopython minimum to 1.80 (PairwiseAlignment is not subscriptable in 1.78)
… snapshot test spans matplotlib 3.8-3.11

- SecondaryStructure.pair_nts returned an object array for the nullable Int32 column on
  pandas 1.4; it is now int64 with missing pairs as 0
- Interactions.get_sorted_data uses a stable sort, so interactions with equal metric
  values draw in input order on every numpy/pandas version
- track geometry snapshot accepts the Polygon/PolyCollection classes older matplotlib
  returns and compares rectangle corners regardless of vertex order
- the monthly lowest-direct, highest (3.9) and highest (3.13) installs all pass
  the full test suite, so the TODO entry for raising minimums is removed
@Psirving
Psirving merged commit aaf26c3 into master Dec 1, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant