Skip to content

Validataclass 0.12 and mypy#6

Merged
binaryDiv merged 23 commits into
mainfrom
validataclass-0.12-and-mypy
Apr 14, 2026
Merged

Validataclass 0.12 and mypy#6
binaryDiv merged 23 commits into
mainfrom
validataclass-0.12-and-mypy

Conversation

@binaryDiv
Copy link
Copy Markdown
Contributor

@binaryDiv binaryDiv commented Mar 26, 2026

DRAFT: This PR is based on #5 which needs to be merged first!

DRAFT: Also, the PR uses a dev version of validataclass 0.12.0 because there's no official release yet. Before merging, the dependencies need to be adjusted accordingly!


This PR updates the library to use validataclass 0.12.0 (which as of now is not released yet), enables mypy, and fixes a lot of typing issues. It's basically a big typing cleanup.

The PR also adds support for Python 3.13 and 3.14 (since those are supported with validataclass 0.12.0).

Since validataclass 0.12.0 is not released yet, I had to build a dev version of it, so that I could already work on making it compatible. Of course, the validataclass version needs to be updated before merging this.

Full list of changes:

@binaryDiv binaryDiv self-assigned this Mar 26, 2026
Base automatically changed from more-unit-tests to main April 8, 2026 13:17
ninanomenon
ninanomenon previously approved these changes Apr 13, 2026
We use a manually built dev version here so that we can already test and work on the next release. This should not be merged to main until validataclass 0.12.0 has been released and the requirements have been updated.
Note: Python 3.14 support requires validataclass 0.12
This is necessary to avoid errors from the no-implicit-reexport rule both in the library and in projects using the library. It's also cleaner to have explicit exports.
@binaryDiv binaryDiv force-pushed the validataclass-0.12-and-mypy branch from 614243d to 9de66d7 Compare April 14, 2026 16:06
@binaryDiv binaryDiv marked this pull request as ready for review April 14, 2026 16:07
@binaryDiv binaryDiv merged commit ebbdd87 into main Apr 14, 2026
11 checks passed
@binaryDiv binaryDiv deleted the validataclass-0.12-and-mypy branch April 14, 2026 16:33
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