Skip to content

Labelformat: Add python 3.14 support#73

Merged
MalteEbner merged 3 commits intomainfrom
malte-lig-8950-labelformat-enable-python-314
Mar 11, 2026
Merged

Labelformat: Add python 3.14 support#73
MalteEbner merged 3 commits intomainfrom
malte-lig-8950-labelformat-enable-python-314

Conversation

@MalteEbner
Copy link
Contributor

@MalteEbner MalteEbner commented Mar 11, 2026

What has changed and why?

Add python 3.14 support:

  • Update Readme, docs
  • Update CI to test on python 3.14
  • Relax requirement for pydantic and pedantic-xml to support newer pypi versions, which then support python 3.14
  • Upgrade pytest to v8, otherwise it errors on python 3.14
  • Add two casts in code to make mypy succeed on python 3.14

How has it been tested?

  • Manually
  • CI

@MalteEbner MalteEbner changed the title Add python 3.14 support in labelformat Labelformat: Add python 3.14 support Mar 11, 2026
@MalteEbner
Copy link
Contributor Author

/review

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates labelformat to support Python 3.14 by refreshing dependency constraints, documentation, and CI so the project can install and test cleanly on newer Python versions.

Changes:

  • Update runtime/dev dependency constraints (notably pydantic, pydantic-xml, pytest) and refresh uv.lock accordingly.
  • Update docs/README to state Python 3.8–3.14 support.
  • Update GitHub Actions CI to run tests on Python 3.14.

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
uv.lock Updates locked dependency resolutions to include versions compatible with newer Python (incl. 3.14).
pyproject.toml Adds Python version classifiers and relaxes dependency pins (incl. pytest>=8).
docs/installation.md Updates stated supported Python versions.
docs/index.md Updates stated supported Python versions and minor formatting tweak.
docs/features.md Updates stated supported Python versions and minor formatting tweak.
README.md Updates stated supported Python versions and the example uv sync command.
.github/workflows/run-tests.yml Updates CI Python matrix to include 3.14.

You can also share your feedback on Copilot code review. Take the survey.

Copy link
Contributor

@IgorSusmelj IgorSusmelj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MalteEbner MalteEbner enabled auto-merge (squash) March 11, 2026 15:07
@MalteEbner MalteEbner merged commit 74eea3a into main Mar 11, 2026
2 checks passed
@MalteEbner MalteEbner deleted the malte-lig-8950-labelformat-enable-python-314 branch March 11, 2026 15:08
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.

3 participants