scverse / scanpy

Single-cell analysis in Python. Scales to >1M cells.
https://scanpy.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.88k stars 594 forks source link

Fix release note building and check #3239

Closed flying-sheep closed 1 week ago

flying-sheep commented 1 week ago

See https://setuptools-scm.readthedocs.io/en/latest/extending/#setuptools_scmversion_scheme:

Semantic versioning for projects with release branches. The same as guess-next-dev (incrementing the pre-release or micro segment) however when on a release branch: a branch whose name (ignoring namespace) parses as a version that matches the most recent tag up to the minor segment. Otherwise if on a non-release branch, increments the minor segment and sets the micro segment to zero, then appends .devN

Apparently the “ignoring namespace” makes it work with our <major>.<minor>.x branch names

I checked if the new check works:

grafik

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 76.40%. Comparing base (7ab0bfe) to head (2b740c8). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3239 +/- ## ========================================== - Coverage 76.73% 76.40% -0.33% ========================================== Files 109 109 Lines 12529 12529 ========================================== - Hits 9614 9573 -41 - Misses 2915 2956 +41 ``` [see 1 file with indirect coverage changes](https://app.codecov.io/gh/scverse/scanpy/pull/3239/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=scverse)