Menu

#211 ci: add Python 3.13 to the test matrix

closed
nobody
2026-08-11
2026-07-30
Anonymous
No

Originally created by: fu351

What

The CI test matrix (.github/workflows/ci.yml) currently runs python-version: ["3.11", "3.12"] on ubuntu-latest (plus a windows-latest / Python 3.12 include leg). Python 3.13 is released and users will run Doberman on it, so it should be tested too. Add "3.13" to the ubuntu matrix. The YAML edit is one line; the actual work is fixing whatever 3.13-only breakage surfaces once CI actually runs it (removed deprecations, stdlib changes) — that's unknown until you try, which is what makes this level-6 rather than level-1.

Difficulty: level-6

Tooling/CI/packaging change with an unknown-until-you-run-it payload — you may need to patch code for 3.13 stdlib changes (e.g. removed deprecated APIs) with no obvious diff to copy, and read CI failure output to find the fix.

Starting files

  • .github/workflows/ci.ymlstrategy.matrix.python-version (ubuntu leg) and the windows-latest include leg
  • pyproject.tomlrequires-python (currently >=3.11) and the classifiers list (currently lists 3.11 and 3.12)

Acceptance criteria

  • [ ] "3.13" added to the ubuntu matrix in .github/workflows/ci.yml
  • [ ] The 3.13 job is green in CI
  • [ ] pyproject.toml classifiers updated to include Programming Language :: Python :: 3.13 (requires-python stays >=3.11)
  • [ ] Any fix needed for 3.13 compatibility is minimal and does not regress 3.11/3.12
  • [ ] existing behaviour unchanged
  • [ ] ruff check . && ruff format --check . and lint-imports pass
  • [ ] pytest passes

How to validate

pip install -e ".[dev]"
ruff check . && ruff format --check .
lint-imports
pytest --cov=doberman --cov-report=term-missing

Out of scope

  • Dropping an existing Python version (3.11 or 3.12) from the matrix
  • Changing the windows-latest leg (stays pinned to Python 3.12)

Notes for contributors

New here? Start with CONTRIBUTING.md. Issues are labelled level-1 (docs only) through level-10 (new subsystem) — pick one at your level and climb. Comment to claim an issue before starting.

Related

Tickets: #328

Discussion

  • Anonymous

    Anonymous - 2026-08-10

    Originally posted by: jasperdingg

    Hi, I'll give this a try like you said in in [#306]! Will open PR shortly.

     

    Related

    Tickets: #306

  • Anonymous

    Anonymous - 2026-08-11

    Ticket changed by: fu351

    • status: open --> closed
     

Log in to post a comment.