Releases: Parquery/icontract
Releases · Parquery/icontract
icontract 2.7.1
- Fixed invariants leak between related classes (#297)
This is a critical bugfix patch version. We introduced a bug in 2.7.0 (#292) where invariants defined on derived classes leaked up to parent classes. The bug is fixed in this version.
icontract 2.7.0
-
Allowed to enforce invariants on attribute setting (#292)
Originally, we had enforced invariants only at calls to "normal" methods, and excluded __setattr__
since it is usually too expensive to verify invariants whenever setting an attribute.
However, there are use cases where the users prefer to incur to computational overhead for correctness. To that end, we introduced the feature to steer when the invariants are enforced (at method calls, on setting attributes, or in both situations).
icontract 2.6.6
-
Updated typeguard and deal to latest versions (#284)
This change is needed so that distributions can successfully run the necessary tests with the development dependencies. Previously, the dependencies were outdated, and the old versions were already deprecated in distributions (notably, typegard and deal).
icontract 2.6.5
-
Added Python 3.11 to the list of supported Pythons (#280)
-
Fixed deal dependency marker (#279)
This patch is important as we silently broke setup.py
, which was
tolerated by older versions of setuptools, but not any more by
the newer ones. With this patch, icontract's setup.py
is made
valid again.
icontract 2.6.4
-
Restored Python 3.6 support (#274)
The support for Python 3.6 has been dropped in #257 as GitHub removed
its support in the CI pipeline. With this patch, we restored
the support of Python 3.6. Notably, we had to add
the package contextvars
conditioned on Python 3.6.
icontract 2.6.3
- Removed meta data files from setup.py (#262)
- Added support for python 3.11 (#260)
- Fixed in-progress set for async (#256)
icontract 2.6.2
- Added wheels to releases (#251)
- Fixed mypy error on missing
asttokens.ASTTokens
(#252)
icontract 2.6.1
- Excluded all tests from package (#240)
icontract 2.6.0
- Added support for Python 3.9 and 3.10 (#236)
- Added representation of subscripts (#237)
icontract 2.5.5
- Fixed representation of numpy arrays (#232)
- Removed tag for Python 3.5 (#231)