Dirk Mueller
fbaf2a40a2
* Add a matcher for exceptions in asyncio future * Use the correct generic type in the internal ``describe_keyvalue`` method * ``has_properties`` now returns ``Matcher[Any]`` type, which addresses type checking errors when nested as a matcher. * Added Python 3.11 testing - Because of gh#hamcrest/PyHamcrest#123 we have to remove OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyHamcrest?expand=0&rev=25
102 lines
3.9 KiB
Plaintext
102 lines
3.9 KiB
Plaintext
-------------------------------------------------------------------
|
|
Sat Jan 27 11:03:23 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
|
|
- update to 2.1.0:
|
|
* Add a matcher for exceptions in asyncio future
|
|
* Use the correct generic type in the internal
|
|
``describe_keyvalue`` method
|
|
* ``has_properties`` now returns ``Matcher[Any]`` type, which
|
|
addresses type checking errors when nested as a matcher.
|
|
* Added Python 3.11 testing
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Apr 21 12:20:58 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|
|
|
- add sle15_python_module_pythons (jsc#PED-68)
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Apr 7 06:52:55 UTC 2022 - pgajdos@suse.com
|
|
|
|
- version update to 2.0.3
|
|
* Features ^^^^^^^^
|
|
- * Adds the tests to the sdist. Fixed by #150
|
|
`#141 <https://github.com/hamcrest/PyHamcrest/issues/141>`_
|
|
- * Update the CI to test Python 3.10
|
|
`#160 <https://github.com/hamcrest/PyHamcrest/issues/160>`_
|
|
- * Add pretty string representation for matchers objects
|
|
`#170 <https://github.com/hamcrest/PyHamcrest/issues/170>`_
|
|
* Bugfixes ^^^^^^^^
|
|
- * Test coverage is now submitted to codecov.io.
|
|
`#135 <https://github.com/hamcrest/PyHamcrest/issues/135>`_
|
|
- Change to the ``has_entry()`` matcher - if exactly one key matches, but the value does not, report only the mismatching
|
|
value.
|
|
`#156 <https://github.com/hamcrest/PyHamcrest/issues/156>`_
|
|
- * Fix is_() type annotations
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Mar 26 16:28:58 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
|
|
|
- Update to 2.0.2
|
|
* Make hamcrest package PEP 561 compatible, i.e. supply type hints for external use.
|
|
* Drop formal support for 2.x
|
|
* Drop formal support for 3.x < 3.5
|
|
* Made has_properties() report all mismatches, not just the first.
|
|
* Silence warnings.
|
|
* Type fixes.
|
|
* Remove obsolete dependencies.
|
|
* Add support up to Python 3.8
|
|
- Removed upstreamed patch pytest4-02.patch
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Nov 21 12:06:53 CET 2019 - Matej Cepl <mcepl@suse.com>
|
|
|
|
- Remove pytest4.patch and replace it with pytest4-02.patch,
|
|
which is the upstream gh#hamcrest/PyHamcrest#124 fixing
|
|
compatibility with pytest 4+ officially. And of course, we
|
|
don't have to massacre test files anymore.
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Nov 5 11:20:23 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
|
|
|
- Run spec-cleaner
|
|
- Add pytest4.patch to make the testsuite actually really pass.
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Nov 4 14:35:43 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
|
|
|
- Because of gh#hamcrest/PyHamcrest#123 we have to remove
|
|
tests/hamcrest_unit_test/core/is{_test,instanceof_test}.py to
|
|
make the test suite passing.
|
|
Patch pytest4.patch has been removed, it was a step into dead
|
|
end.
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Jul 19 10:22:31 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
|
|
|
- Restrict pytest to 3.x as the newer does not work with release.
|
|
In upstream git this was fixed by quite few commits so lets
|
|
just wait for the release
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Jul 3 08:35:33 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
|
|
|
- Add patch to fix build with new pytest:
|
|
* pytest4.patch
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Oct 17 07:51:50 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
|
|
|
- Provide and obsolete hamcrest
|
|
- Add patch from python-hamcrest which we now obsolete:
|
|
* 0001-Add-boolean-matchers.patch
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Oct 11 08:13:20 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
|
|
|
- Sort the deps with spec-cleaner
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Oct 6 09:27:07 UTC 2018 - ecsos@opensuse.org
|
|
|
|
- initial version 1.9.0
|