Up to [cvs.NetBSD.org] / pkgsrc / devel / py-hamcrest
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.7 / (download) - annotate - [select for diffs], Sun Nov 5 00:43:09 2023 UTC (5 months, 2 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2024Q1-base,
pkgsrc-2024Q1,
pkgsrc-2023Q4-base,
pkgsrc-2023Q4,
HEAD
Changes since 1.6: +2 -8
lines
Diff to previous 1.6 (colored)
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>`_)
Revision 1.6 / (download) - annotate - [select for diffs], Sat Oct 28 19:57:00 2023 UTC (5 months, 3 weeks ago) by wiz
Branch: MAIN
Changes since 1.5: +2 -1
lines
Diff to previous 1.5 (colored)
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.
Revision 1.5 / (download) - annotate - [select for diffs], Mon Nov 28 14:19:49 2022 UTC (16 months, 2 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base,
pkgsrc-2023Q3,
pkgsrc-2023Q2-base,
pkgsrc-2023Q2,
pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4
Changes since 1.4: +2 -1
lines
Diff to previous 1.4 (colored)
py-hamcrest: note that this package needs to be installed to be tested
Revision 1.4 / (download) - annotate - [select for diffs], Mon Nov 28 14:18:41 2022 UTC (16 months, 2 weeks ago) by wiz
Branch: MAIN
Changes since 1.3: +2 -1
lines
Diff to previous 1.3 (colored)
py-hamcrest: add missing dependency on py-setuptools_scm
Revision 1.3 / (download) - annotate - [select for diffs], Sun Nov 27 10:41:35 2022 UTC (16 months, 3 weeks ago) by adam
Branch: MAIN
Changes since 1.2: +13 -6
lines
Diff to previous 1.2 (colored)
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.
Revision 1.2 / (download) - annotate - [select for diffs], Tue Jan 4 20:53:09 2022 UTC (2 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1
Changes since 1.1: +2 -1
lines
Diff to previous 1.1 (colored)
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
Revision 1.1 / (download) - annotate - [select for diffs], Tue Jul 24 15:08:19 2018 UTC (5 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base,
pkgsrc-2021Q4,
pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1,
pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3
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.