Skip to content

Specify supported Python minor versions - #395

Merged
bprobert97 merged 1 commit into
mainfrom
python-version-metadata
Aug 5, 2026
Merged

Specify supported Python minor versions#395
bprobert97 merged 1 commit into
mainfrom
python-version-metadata

Conversation

@rwb27

@rwb27 rwb27 commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

I've added classifiers to show the minor versions we currently support. My understanding is that capping the Python version in requires-python gets quite problematic, so I will leave it as a lower bound only.

It already won't install on 3.14, and adding the constraint would cause it to fail with an error saying LabThings doesn't support it, rather than pointing to a problem with pydantic. I think the current behaviour is arguably better, and will make it easier to find out when the problem has gone away.

Closes #376

I've added classifiers to show the minor versions we currently support. My understanding is that capping the Python version in `requires-python` gets quite problematic, so I will leave it as a lower bound only.

It already won't install on 3.14, and adding the constraint would cause it to fail with an error saying LabThings doesn't support it, rather than pointing to a problem with `pydantic`. I think the current behaviour is arguably better, and will make it easier to find out when the problem has gone away.

Closes #376
@rwb27
rwb27 requested a review from bprobert97 August 5, 2026 16:10
@barecheck

barecheck Bot commented Aug 5, 2026

Copy link
Copy Markdown

Barecheck - Code coverage report

Total: 97.43%

Your code coverage diff: 0.12% ▴

✅ All code changes are covered

@bprobert97

Copy link
Copy Markdown
Contributor

I like this as a solution! Makes it very clear for the user

@bprobert97
bprobert97 merged commit da2ee26 into main Aug 5, 2026
16 checks passed
@bprobert97
bprobert97 deleted the python-version-metadata branch August 5, 2026 16:42
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.

Updating pyproject.toml with maximum Python version

2 participants