Skip to content

build: Scientific Python Development Guide checks - #4

Merged
simonbeyer1 merged 1 commit into
masterfrom
sp-guide
Nov 25, 2026
Merged

simonbeyer1 merged 1 commit into
masterfrom
sp-guide

Conversation

@simonbeyer1

Copy link
Copy Markdown
Member

The checks of the Scientific Python Development Guide (sp-repo-review: all pass).

  • noxfile.py: sessions lint, tests, docs, build.
  • [dependency-groups] test, docs, dev; the extras stay.
  • pytest: minversion = "9", strict markers and config, strict xfail, -ra, warnings as errors with narrow ignores for warnings symident emits by design.
  • pre-commit: ruff-format (the code base reformatted, no change in behavior), mypy, codespell, pygrep hooks, mdformat, zizmor; ci: settings for pre-commit.ci.
  • Workflows: actions pinned by SHA, persist-credentials: false, minimal permissions; Dependabot with a cooldown of 7 days.
  • Fixes found on the way: the stdout pipe of every msolve call and one output file were left open.

@simonbeyer1 simonbeyer1 mentioned this pull request Nov 24, 2026
…sions, dependency groups, strict pytest with warnings as errors, ruff format, mypy, codespell, pygrep and mdformat hooks, pre-commit.ci settings, zizmor with actions pinned by SHA and minimal permissions; actions checkout 7, setup-python 7, upload-artifact 7, download-artifact 8, upload-pages-artifact 5, deploy-pages 5; the distro job tests the wheel of the run

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@simonbeyer1

Copy link
Copy Markdown
Member Author

Rebased onto master at 0.18.1 (6a88701) and updated:

  • The two fixes of unclosed files (msolve pipes in run_msolve(), the msolve output file in ioproj.py) went out with 0.18.1 in symident 0.18.1 #6; this branch no longer carries its own versions of them, only the formatting of the two files.
  • The fedora job failed because the distro jobs installed with pip install --find-links wheelhouse symident: with the version of the wheel equal to the release on PyPI (0.18.0), pip took the release, so the tests ran the old code with the leaks, and the new warnings-as-errors setting failed 193 tests. The distro jobs now install the wheel of the run with --no-index --no-deps first and the dependencies afterwards.
  • The action updates of build(deps): bump the actions group with 6 updates #3 are included, pinned by SHA as zizmor requires: checkout 7.0.1, setup-python 7.1.0, upload-artifact 7.0.2, download-artifact 8.0.2, upload-pages-artifact 5.0.0, deploy-pages 5.0.1. build(deps): bump the actions group with 6 updates #3 itself is based on master before the co-author correction of 0.18.0 and no longer merges.

All pre-commit hooks pass on all files.

@simonbeyer1
simonbeyer1 merged commit 836c44c into master Nov 25, 2026
19 checks passed
@simonbeyer1

Copy link
Copy Markdown
Member Author

Merged by fast-forward as 836c44c after all 19 checks passed, the fedora and debian jobs now on the wheel of the run. The package code is unchanged apart from formatting, so no release follows; the next release ships the stricter checks.

This branch was previously deployed

1 inactive deployment
github-pages — 836c44cd Deployed Nov 25, 2026 by simonbeyer1 via deploy #14
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