Update template to v0.8.0 (resolved) - #761
Open
timtreis wants to merge 1 commit into
Open
Conversation
Resolve the cookiecutter-scverse v0.8.0 sync (#755), adopting upstream tooling/security modernization while preserving repo-specific config. Adopted from the template: - Zizmor + SHA-pinned GitHub Actions, `permissions: contents: read`, `persist-credentials: false` across build/test/release workflows - dependabot; zizmor pre-commit hook; hook rev bumps (biome, pyproject-fmt, ruff); `prek` in the dev group - docs stack: `scverse_misc.sphinx_ext`, scverse.org intersphinx, RTD on Python 3.14, drop the `virtualenv<21` hatch workaround; drop the local autosummary template + `typed_returns` extension (now in scverse-misc) - `.cruft.json` bumped to v0.8.0 Kept (load-bearing divergences the template would regress): - `[project]` real deps/metadata, `hatch-vcs` dynamic version, `matplotlib<3.11` test cap, the entire `[tool.pixi]` block - visual-regression CI plumbing (tests/figures dir + artifact upload) and our hatch-test run/coverage scripts - `docs/notebooks` tutorials submodule + gallery handling (its removal was the RTD build failure) - fuller ruff `lint.select`; mypy pre-commit hook (zizmor audits Actions, not Python types) Rejected the raw cookiecutter scaffold (pp/tl/basic.py, tests/test_basic.py, stub example.ipynb, placeholder version/description).
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #761 +/- ##
=======================================
Coverage 79.63% 79.63%
=======================================
Files 18 18
Lines 4665 4665
Branches 1032 1032
=======================================
Hits 3715 3715
Misses 599 599
Partials 351 351 🚀 New features to boost your workflow:
|
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.
Resolves the cookiecutter-scverse v0.8.0 template sync. Supersedes #755, which is an unmergeable automated PR from the
scverse-botfork (raw placeholders + dropped repo customizations, and maintainers cannot push to that fork's branch). This branch lives in the main repo so CI/RTD actually run..cruft.jsonis bumped to v0.8.0 (6518dfa…), so the next sync diffs against v0.8.0.Adopted from the template
permissions: contents: read,persist-credentials: false(build/test/release)prekin dev groupscverse_misc.sphinx_ext, scverse.org intersphinx, RTD → Python 3.14, dropped thevirtualenv<21workaround; removed the local autosummary template +typed_returnsextension (now provided byscverse-misc)Kept (load-bearing; vanilla would regress)
[project]real deps/metadata,hatch-vcsdynamic version,matplotlib<3.11test cap, the entire[tool.pixi]blocktests/figuresdir + artifact upload) and the hatch-test run/coverage scriptsdocs/notebookstutorials submodule + gallery handling (its removal was Update template to v0.8.0 #755's RTD build failure)lint.select; the mypy pre-commit hook (zizmor audits Actions, not Python types — it does not replace mypy)Rejected
pp/,tl/,basic.py,tests/test_basic.py, stubexample.ipynb, placeholderversion/descriptionCloses #755