17
0

17 Commits

Author SHA256 Message Date
0d45be7095 Accepting request 1306896 from home:mcalabkova:branches:devel:languages:python
- Add py314.patch to fix tests with Python 3.14

OBS-URL: https://build.opensuse.org/request/show/1306896
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyHamcrest?expand=0&rev=27
2025-09-24 10:42:05 +00:00
32ef6d49b4 - 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
- 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
2024-01-27 11:04:49 +00:00
e62c22cd2f Accepting request 1081304 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081304
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyHamcrest?expand=0&rev=23
2023-04-21 15:04:47 +00:00
c4b5fa7e10 Accepting request 967426 from home:pgajdos:python
- 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

OBS-URL: https://build.opensuse.org/request/show/967426
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyHamcrest?expand=0&rev=21
2022-04-07 09:35:00 +00:00
Tomáš Chvátal
bb3113855c Accepting request 788637 from home:mcalabkova:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/788637
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyHamcrest?expand=0&rev=19
2020-03-27 07:17:02 +00:00
25f0f1d24b compatibility with pytest 4+ officially. And of course, we
don't have to massacre test files anymore.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyHamcrest?expand=0&rev=17
2019-11-21 12:38:50 +00:00
cf3804b405 - Remove pytest4.patch and replace it with pytest4-02.patch,
which is the upstream gh#hamcrest/PyHamcrest#124 fixing
  compatibility with pytest 4+ officially.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyHamcrest?expand=0&rev=16
2019-11-21 11:10:31 +00:00
d2d69de45f - Add pytest4.patch to make the testsuite actually really pass.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyHamcrest?expand=0&rev=15
2019-11-06 14:08:28 +00:00
ecc76e3f0c Run spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyHamcrest?expand=0&rev=14
2019-11-05 11:20:30 +00:00
7d761297f7 Fix changes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyHamcrest?expand=0&rev=13
2019-11-05 11:09:43 +00:00
6cb66ca7ca Remove unnecessary patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyHamcrest?expand=0&rev=12
2019-11-05 10:08:59 +00:00
4f7cfc07f1 - Add pytest4.patch allowing the test suite to pass with pytest 4
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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyHamcrest?expand=0&rev=11
2019-11-04 15:46:02 +00:00
Tomáš Chvátal
7938429d29 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyHamcrest?expand=0&rev=9
2019-07-19 10:23:07 +00:00
Tomáš Chvátal
78944b9a90 - Add patch to fix build with new pytest:
* pytest4.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyHamcrest?expand=0&rev=7
2019-07-03 08:37:52 +00:00
Tomáš Chvátal
87f1673e89 - Provide and obsolete hamcrest
- Add patch from python-hamcrest which we now obsolete:
  * 0001-Add-boolean-matchers.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyHamcrest?expand=0&rev=3
2018-10-17 07:53:44 +00:00
Tomáš Chvátal
01442adbe8 - Sort the deps with spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyHamcrest?expand=0&rev=2
2018-10-11 08:13:31 +00:00
Tomáš Chvátal
2bc0004e30 Accepting request 640847 from home:ecsos:messenger:matrix
- initial version 1.9.0

OBS-URL: https://build.opensuse.org/request/show/640847
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyHamcrest?expand=0&rev=1
2018-10-11 08:09:54 +00:00