Skip to content

Releases: nlesc-nano/AssertionLib

Assertionlib 3.2.2

19 Apr 17:14
4fba740
Compare
Choose a tag to compare
  • Add formal Python 3.11 support
  • Misc CI updates
  • Fix a missing README file in the assertionlib sdist distribution

What's Changed

  • TST: Add more python 3.10 tests by @BvB93 in #30

Full Changelog: 3.2.1...3.2.2

Assertionlib 3.2.1

12 Oct 10:40
843e866
Compare
Choose a tag to compare
  • Increase the NDRepr.maxstring default to 800.
  • Fixed the signature of assertion.str_eq.

AssertionLib 3.2.0

30 Jul 14:49
69632c9
Compare
Choose a tag to compare
  • Added three new NDRepr methods.
  • Added a missing AssertionManager.assert_ overload.

AssertionLib 3.1.3

27 Jun 21:13
a683f59
Compare
Choose a tag to compare

See https://github.com/nlesc-nano/AssertionLib/milestone/1:

  • Added assertion.issuperset() and assertion.issubset().
  • Export the source to PyPi.
  • Updated MyPy settings.
  • Enabled tests for the Python 3.9 beta.
  • Enabled Cancel Workflow Action for the unit tests.
  • Added tests for building documentation.
  • Updated the typehints.
  • Updated the string representations of exceptions.

AssertionLib 0.3.0

06 Jun 15:09
5052b4e
Compare
Choose a tag to compare
  • Added Nano-Utils as a dependency; moved a number of functions there.
  • Removed requirements.txt in favor of .readthedocs.yml.
  • Removed travis tests in favor of GitHub Actions.
  • Removed CITATION.cff in favor of Zenodo.

AssertionLib 2.3.2

24 May 16:33
063543c
Compare
Choose a tag to compare
  • Added codecov and zenodo badges.

AssertionLib 2.3.1b

24 May 15:52
d2e1d80
Compare
Choose a tag to compare
  • Added support for the python stup.py test command.
  • Added support for the python stup.py build_sphinx command.
  • Added a GitHub Actions workflow for automatic PyPi publishing.
  • Enabled codecov for the GitHub Action tests.
  • Updated the package classifiers and keywords in setup.py.

AssertionLib 2.3.0

09 May 22:22
05ab861
Compare
Choose a tag to compare
  • Added the AssertionManager.xor(), AssertionManager.isdisjoint() and AssertionManager.length_hint() methods.
  • Annotate most AssertionManager methods using Protocols.
  • Moved Protocols to their own separate stub module.
  • Cleaned up the _MetaAM metaclass.
  • Reworked some of the internals of AssertionManager.
  • Added tests using pydocstyle .

AssertionLib 2.2.3

09 Apr 21:56
66d7e71
Compare
Choose a tag to compare

AssertionLib 2.1.0

02 Mar 12:22
1f3154d
Compare
Choose a tag to compare
  • Made the recursion safeguard in AbstractDataClass thread-safe.
  • Added the AbstractDataClass._str() function for creating string-representations of key/value pairs.
  • Added the AbstractDataClass._eq() function for comparing two attribute values.
  • Minor Improvements to Exception handling.