Skip to content

Update cookiecutter template#141

Merged
Zeitsperre merged 7 commits intomainfrom
cookiecutter-update
Apr 22, 2026
Merged

Update cookiecutter template#141
Zeitsperre merged 7 commits intomainfrom
cookiecutter-update

Conversation

@Zeitsperre
Copy link
Copy Markdown
Collaborator

@Zeitsperre Zeitsperre commented Apr 16, 2026

Pull Request Checklist:

  • This PR addresses an already opened issue (for bug fixes / features)
  • (If applicable) Documentation has been added / updated (for bug fixes / features).
  • (If applicable) Tests have been added.
  • CHANGELOG.rst has been updated (with summary of main changes).

What kind of change does this PR introduce?

  • Added support and CI builds for Python3.14
  • Migrates optional-dependencies to dependency-groups
  • Sets token-based workflows to run within an automation environment
  • pre-commit has been replaced by prek
  • Makefile now handles some dependency installation logic
  • tox now uses the new TOML spec for configurations

Does this PR introduce a breaking change?

Yes.

  • The new method for installing dependencies is to either use the Makefile commands or the new command invocation.
  • tox has been undergoing significant overhaul to its configuration language. It now implements most features from the ini format in the toml spec. There are likely some neat new goodies that we can make use of for specialized testing.

Other information:

dependency-groups are a way to ensure that development-time dependencies are not published with distributions of packages, which is great for packages that do not bundle code, or for preventing end-users from installing tools they will never require when using the package.

Example invocation:

$ pip install --group lint,test

A dependency-group is only available when examining the source code of the library and allows developers to only install the dependencies without needing to install the library itself (great for linting). It also supports installing the library or nesting of other dependency-groups/optional-dependencies, if desired. Testing and other miscellaneous development libraries are also suggested to be listed under dependency-groups.

https://peps.python.org/pep-0735/

pre-commit-ci Bot and others added 3 commits April 6, 2026 19:48
updates:
- [github.com/asottile/pyupgrade: v3.20.0 → v3.21.2](asottile/pyupgrade@v3.20.0...v3.21.2)
- [github.com/pappasam/toml-sort: v0.24.3 → v0.24.4](pappasam/toml-sort@v0.24.3...v0.24.4)
- [github.com/adrienverge/yamllint.git: v1.37.1 → v1.38.0](https://github.com/adrienverge/yamllint.git/compare/v1.37.1...v1.38.0)
- [github.com/astral-sh/ruff-pre-commit: v0.13.3 → v0.15.9](astral-sh/ruff-pre-commit@v0.13.3...v0.15.9)
- [github.com/jendrikseipp/vulture: v2.14 → v2.16](jendrikseipp/vulture@v2.14...v2.16)
- [github.com/codespell-project/codespell: v2.4.1 → v2.4.2](codespell-project/codespell@v2.4.1...v2.4.2)
- [github.com/python-jsonschema/check-jsonschema: 0.34.0 → 0.37.1](python-jsonschema/check-jsonschema@0.34.0...0.37.1)
- [github.com/woodruffw/zizmor-pre-commit: v1.14.2 → v1.23.1](zizmorcore/zizmor-pre-commit@v1.14.2...v1.23.1)
- [github.com/gitleaks/gitleaks: v8.28.0 → v8.30.0](gitleaks/gitleaks@v8.28.0...v8.30.0)
@Zeitsperre Zeitsperre self-assigned this Apr 16, 2026
@Zeitsperre Zeitsperre marked this pull request as ready for review April 16, 2026 16:12
@Zeitsperre Zeitsperre changed the title Update cookiecutter update Update cookiecutter template Apr 16, 2026
@Zeitsperre Zeitsperre merged commit d19c4e8 into main Apr 22, 2026
14 checks passed
@Zeitsperre Zeitsperre deleted the cookiecutter-update branch April 22, 2026 15:58
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