Skip to content

Update template to v0.8.0 (resolved) - #761

Open
timtreis wants to merge 1 commit into
mainfrom
template-update-v0.8.0-resolved
Open

Update template to v0.8.0 (resolved)#761
timtreis wants to merge 1 commit into
mainfrom
template-update-v0.8.0-resolved

Conversation

@timtreis

@timtreis timtreis commented Aug 7, 2026

Copy link
Copy Markdown
Member

Resolves the cookiecutter-scverse v0.8.0 template sync. Supersedes #755, which is an unmergeable automated PR from the scverse-bot fork (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.json is bumped to v0.8.0 (6518dfa…), so the next sync diffs against v0.8.0.

Adopted from the template

  • Zizmor + SHA-pinned Actions, permissions: contents: read, persist-credentials: false (build/test/release)
  • dependabot; zizmor pre-commit hook; hook rev bumps (biome, pyproject-fmt, ruff); prek in dev group
  • docs: scverse_misc.sphinx_ext, scverse.org intersphinx, RTD → Python 3.14, dropped the virtualenv<21 workaround; removed the local autosummary template + typed_returns extension (now provided by scverse-misc)

Kept (load-bearing; vanilla 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 the hatch-test run/coverage scripts
  • docs/notebooks tutorials submodule + gallery handling (its removal was Update template to v0.8.0 #755's RTD build failure)
  • fuller ruff lint.select; the mypy pre-commit hook (zizmor audits Actions, not Python types — it does not replace mypy)

Rejected

  • raw cookiecutter scaffold: pp/, tl/, basic.py, tests/test_basic.py, stub example.ipynb, placeholder version/description

Closes #755

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-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.63%. Comparing base (e9b3122) to head (15485a4).

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:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants