Repository navigation
Align with scverse repo-health: pinned pre-commit hooks, Dependabot, SPEC 0 - #105
Open
maltekuehl wants to merge 3 commits into
Open
maltekuehl wants to merge 3 commits into
maltekuehl wants to merge 3 commits into
Conversation
Freezes every hook rev in .pre-commit-config.yaml to the commit its current tag points at, keeping the tag in a `# frozen:` comment (no hook version changes), and adds .github/dependabot.yml, taken verbatim from scanpy, which keeps both the pre-commit hooks and the GitHub Actions current. Addresses the scverse repo-health checks security/precommit-pinned and security/dependabot. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
SPEC 0 drops a Python version three years after its first release. Python 3.12 was released on 2023-10-02, so as of 2026-10 the oldest version to support is 3.13. Updates requires-python, the classifiers and the hatch test matrix, from which the CI test jobs are generated (scverse repo-health check packaging/spec0-python). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
SPEC 0 supports minor releases of core packages for 24 months. As of 2026-10-30 the oldest releases in that window are numpy 2.2, scipy 1.15, pandas 2.3, matplotlib 3.10, scikit-learn 1.6 and networkx 3.5. anndata is not a SPEC 0 core project; the same window gives anndata 0.11. The test suite passes with every direct dependency resolved to its lowest allowed version on Python 3.13. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #105 +/- ##
=======================================
Coverage 76.69% 76.69%
=======================================
Files 15 15
Lines 618 618
=======================================
Hits 474 474
Misses 144 144 🚀 New features to boost your workflow:
|
maltekuehl
marked this pull request as ready for review
October 30, 2026 20:36
Collaborator
Author
Collaborator
|
If there's no rush, we can wait maybe 2 more weeks until we have the DNS records under our own control, then we don't have to put in a separate request |
Collaborator
Author
|
@grst sure, I don't think there is any rush! |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR fixes the scverse repo-health checks that are still failing after #99 (template v0.8.0) and #104. Those two already pinned the actions, added top-level workflow
permissions:andpersist-credentials: false, and made the zizmor audit come back clean.Changes
security/precommit-pinnedrev:to the commit its current tag points at, written as# frozen: vX. Hook versions do not change.security/dependabot.github/dependabot.ymlwith scanpy's configuration, copied verbatim. It now updates the pre-commit hooks as well as the GitHub Actions, weekly with a 7-day cooldown.packaging/spec0-pythonrequires-python = ">=3.13", drops the 3.12 classifier and moves the hatch test matrix (which generates the CI jobs) to 3.13 and 3.14. SPEC 0 dropped Python 3.12 on 2026-10-02, three years after its release.No library code changes. What changes is support: Python 3.12 is dropped, and environments with older versions of those dependencies will be upgraded.
Tests
pyteston Python 3.13 with every direct dependency at its new lower bound (uv pip install --resolution lowest-direct): 31 passed.pyteston Python 3.14 with the latest releases (numpy 2.5.4, pandas 3.1.0, anndata 0.13.4, …): 31 passed.-W.The remaining dashboard items need repository or service settings, not code:
main(require PR, review and status checks);pypienvironment;pytometry.scverse.orgdocs domain;🤖 Generated with Claude Code