Skip to content

DX: upgrade environment to Python 3.14 - #314

Merged
redeboer merged 26 commits into
mainfrom
dependabot/lock-e1a8396f4b
Oct 12, 2026
Merged

redeboer merged 26 commits into
mainfrom
dependabot/lock-e1a8396f4b

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

🖱️ Developer experience

  • The developer environment, Binder and the Read the Docs build run on Python 3.14 instead of 3.13 (requires-python = "~=3.14.0"). On this target, Ruff removes the quotes around forward-referenced return annotations in the ADR 002 notebooks.

🔨 Maintenance

  • ComPWA/policy is updated to 0.10.0, so the style task runs prek run --all-files and the upgrade task runs prek autoupdate instead of the pre-commit equivalents.
  • The cspell hook no longer pins Node 25.9.0.
  • Ruff rules are referred to by name instead of by code, both in the configuration and in suppression comments such as # ruff: ignore[magic-value-comparison].
  • The link check skips Zenodo DOIs and badges, because zenodo.org responds with 403 Forbidden in CI.
  • Agent instruction files such as AGENTS.md, CLAUDE.md, and .claude/ are ignored by Git.
  • All GitHub Actions are pinned to release commit SHAs, and the workflows from ComPWA/actions are updated to v4.1.4. The version branch workflow gets contents: write permission instead of inheriting all secrets.

📝 Documentation

  • The contributing guide explains how to install the hooks with prek instead of pre-commit.
  • The "Open in Visual Studio Code" badge links to github.dev instead of open.vscode.dev, which no longer responds.
  • The developer guide installs the tools with Python 3.14.

Squash commit messages

* DOC: document prek in the contributing guide
* DOC: link to github.dev instead of open.vscode.dev
* MAINT: ignore agent instruction files
* MAINT: ignore Zenodo links in link check
* MAINT: pin GitHub Actions to release commits
* MAINT: refer to Ruff rules by name
* MAINT: run `prek` in the style and upgrade tasks
* MAINT: unpin Node version of cspell hook
* MAINT: update ComPWA/policy to 0.10.0

@dependabot dependabot Bot added the ⬆️ Lock This PR upgrades the lock files label Sep 10, 2026
@redeboer redeboer changed the title MAINT: bump the lock group with 9 updates MAINT: upgrade lock files Sep 10, 2026
@redeboer
redeboer force-pushed the dependabot/lock-e1a8396f4b branch from c99f0b3 to 024c40f Compare September 10, 2026 09:11
@redeboer
redeboer added this pull request to stack #316 September 10, 2026 09:46
@redeboer
redeboer self-requested a review October 8, 2026 14:07
pre-commit-ci Bot and others added 6 commits October 8, 2026 16:35
* MAINT: upgrade lock files

updates:
- [github.com/ComPWA/policy: 0.9.0 → 0.9.8](ComPWA/policy@0.9.0...0.9.8)
- [github.com/ComPWA/nbhooks: 0.0.1 → 0.0.2](ComPWA/nbhooks@0.0.1...0.0.2)
- [github.com/astral-sh/ruff-pre-commit: v0.15.21 → v0.16.10](astral-sh/ruff-pre-commit@v0.15.21...v0.16.10)
- [github.com/tombi-toml/tombi-pre-commit: v1.2.0 → v1.7.2](tombi-toml/tombi-pre-commit@v1.2.0...v1.7.2)
- [github.com/python-jsonschema/check-jsonschema: 0.37.4 → 0.38.2](python-jsonschema/check-jsonschema@0.37.4...0.38.2)
- [github.com/streetsidesoftware/cspell-cli: v10.0.1 → v10.3.0](streetsidesoftware/cspell-cli@v10.0.1...v10.3.0)
- [github.com/editorconfig-checker/editorconfig-checker.python: 3.6.1 → 3.11.1](editorconfig-checker/editorconfig-checker.python@3.6.1...3.11.1)
- [github.com/astral-sh/ty-pre-commit: v0.0.59 → v0.0.84](astral-sh/ty-pre-commit@v0.0.59...v0.0.84)
- [github.com/astral-sh/uv-pre-commit: 0.11.28 → 0.12.23](astral-sh/uv-pre-commit@0.11.28...0.12.23)

* MAINT: implement pre-commit autofixes

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Remco de Boer <29308176+redeboer@users.noreply.github.com>
@redeboer redeboer added 🔨 Maintenance Maintenance and upkeep improvements 📝 Docs Improvements or additions to documentation labels Oct 8, 2026
@redeboer redeboer changed the title MAINT: upgrade lock files DX: upgrade environment to Python 3.14 Oct 9, 2026
@redeboer redeboer added the 🖱️ DX Improvements to the Developer Experience label Oct 9, 2026
@redeboer redeboer removed 📝 Docs Improvements or additions to documentation 🔨 Maintenance Maintenance and upkeep improvements 🖱️ DX Improvements to the Developer Experience labels Oct 10, 2026
@redeboer redeboer added ⬆️ Lock This PR upgrades the lock files and removed ⬆️ Lock This PR upgrades the lock files labels Oct 11, 2026
@redeboer redeboer added ⬆️ Lock This PR upgrades the lock files 🖱️ DX Improvements to the Developer Experience and removed ⬆️ Lock This PR upgrades the lock files labels Oct 12, 2026
@redeboer redeboer added this to the 0.0.2 milestone Oct 12, 2026
@redeboer redeboer added ⬆️ Lock This PR upgrades the lock files and removed ⬆️ Lock This PR upgrades the lock files labels Oct 12, 2026
@redeboer
redeboer merged commit c7939c1 into main Oct 12, 2026
25 checks passed
@redeboer
redeboer deleted the dependabot/lock-e1a8396f4b branch October 12, 2026 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🖱️ DX Improvements to the Developer Experience ⬆️ Lock This PR upgrades the lock files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade developer environment to Python 3.14

2 participants