Skip to content

Conversation

@mristin
Copy link
Collaborator

@mristin mristin commented Oct 28, 2025

There were a couple of minor fixes we had to do in order to support Python 3.12. In addition, we had to use more up-to-date versions of mypy and pylint for Python versions >= 3.12.

@mristin mristin force-pushed the mristin/Add-support-for-Python-3.12 branch from ae595a3 to ca208f7 Compare October 28, 2025 14:41
There were a couple of minor fixes we had to do in order to support
Python 3.12. In addition, we had to use more up-to-date versions of mypy
and pylint for Python versions >= 3.12.
@mristin mristin force-pushed the mristin/Add-support-for-Python-3.12 branch from ca208f7 to e941073 Compare October 28, 2025 15:07
@mristin mristin merged commit ad22b28 into master Oct 28, 2025
11 checks passed
@mristin mristin deleted the mristin/Add-support-for-Python-3.12 branch October 28, 2025 15:09
@coveralls
Copy link

Coverage Status

coverage: 91.548% (-0.1%) from 91.688%
when pulling e941073 on mristin/Add-support-for-Python-3.12
into f587578 on master.

mristin added a commit that referenced this pull request Nov 8, 2025
* Fix child invariants checked in ``super().__init__`` (#301)
* Support Python 3.13 (#309)
* Add support for Python 3.12 (#308)

This is a critical bugfix patch version. Previously, we determined
the invariants based on the ``self`` passed to the function. However,
in case of ``super().__init__``, the invariants that need to be checked
after the call are those belonging to to the super class, not
the current (child) class. This lead to erroneous invariant checks, where
the invariants of the child class where checked after the super-init call
in the parent class.
@mristin mristin mentioned this pull request Nov 8, 2025
mristin added a commit that referenced this pull request Nov 8, 2025
* Fix child invariants checked in ``super().__init__`` (#301)
* Support Python 3.13 (#309)
* Add support for Python 3.12 (#308)

This is a critical bugfix patch version. Previously, we determined
the invariants based on the ``self`` passed to the function. However,
in case of ``super().__init__``, the invariants that need to be checked
after the call are those belonging to to the super class, not
the current (child) class. This lead to erroneous invariant checks, where
the invariants of the child class where checked after the super-init call
in the parent class.
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