2023-11-05 01:43:09 by Thomas Klausner | Files touched by this commit (3) | |
Log message:
py-hamcrest: update to 2.1.0.
Hamcrest 2.1.0 (2023-10-22)
===========================
Features
--------
- Add a matcher for exceptions in asyncio future (`#171 \
<https://github.com/hamcrest/PyHamcrest/issues/171>`_)
Bugfixes
--------
- Use the correct generic type in the internal ``describe_keyvalue`` method \
(`#182 <https://github.com/hamcrest/PyHamcrest/issues/182>`_)
|
2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | |
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation
This follows the recommended bootstrap method (flit_core, build, installer).
However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
|
2022-11-28 15:19:49 by Thomas Klausner | Files touched by this commit (1) |
Log message:
py-hamcrest: note that this package needs to be installed to be tested
|
2022-11-28 15:18:41 by Thomas Klausner | Files touched by this commit (1) |
Log message:
py-hamcrest: add missing dependency on py-setuptools_scm
|
2022-11-27 11:41:35 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-hamcrest: updated to 2.0.4
Hamcrest 2.0.4
--------------
Bugfixes
- ``has_properties`` now returns ``Matcher[Any]`` type, which addresses type \
checking errors when nested as a matcher.
Features
- Added Python 3.11 testing
2.0.3 (2021-12-12)
------------------
Features
- * Adds the tests to the sdist.
- * Update the CI to test Python 3.10
- * Add pretty string representation for matchers objects
Bugfixes
- Test coverage is now submitted to codecov.io.
- Change to the ``has_entry()`` matcher - if exactly one key matches, but the \
value does not, report only the mismatching value.
- * Fix is_() type annotations
Version 2.0.2
-------------
Various type hint bug fixes.
Version 2.0.1
-------------
* Make hamcrest package PEP 561 compatible, i.e. supply type hints for external use.
Version 2.0.0
-------------
Drop formal support for 2.x
Drop formal support for 3.x < 3.5
Fix: raises() grows support for additional matchers on exception object.
* Made has_properties() report all mismatches, not just the first.
* Silence warnings.
* Type fixes.
* Remove obsolete dependencies.
|
2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595) |
Log message:
*: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
|
2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016) |
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
Could not be committed due to merge conflict:
devel/py-traitlets/distinfo
The following distfiles were unfetchable (note: some may be only fetched
conditionally):
./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
|
2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017) |
Log message:
devel: Remove SHA1 hashes for distfiles
|
2018-07-24 17:08:19 by Adam Ciarcinski | Files touched by this commit (4) |
Log message:
py-hamcrest: added version 1.9.0
PyHamcrest is a framework for writing matcher objects, allowing you to
declaratively define "match" rules. There are a number of situations where
matchers are invaluable, such as UI validation, or data filtering, but it is in
the area of writing flexible tests that matchers are most commonly used.
When writing tests it is sometimes difficult to get the balance right between
overspecifying the test (and making it brittle to changes), and not specifying
enough (making the test less valuable since it continues to pass even when the
thing being tested is broken). Having a tool that allows you to pick out
precisely the aspect under test and describe the values it should have, to a
controlled level of precision, helps greatly in writing tests that are "just
right." Such tests fail when the behavior of the aspect under test deviates
from the expected behavior, yet continue to pass when minor, unrelated changes
to the behaviour are made.
|