Commit Graph

24 Commits

Author SHA256 Message Date
Ana Guerrero
950ed68ad8 Accepting request 1141945 from devel:languages:python
- 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/request/show/1141945
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyHamcrest?expand=0&rev=8
2024-01-29 21:26:35 +00:00
fbaf2a40a2 - 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
Dominique Leuenberger
4ca8dd207b Accepting request 1082033 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1082033
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyHamcrest?expand=0&rev=7
2023-04-22 20:02:41 +00:00
b797ed363e 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
Dominique Leuenberger
18d52ce82f Accepting request 967457 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/967457
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyHamcrest?expand=0&rev=6
2022-04-08 23:43:48 +00:00
d7de71e079 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
Dominique Leuenberger
8d9ad20f7a Accepting request 788891 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/788891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyHamcrest?expand=0&rev=5
2020-04-19 19:46:01 +00:00
Tomáš Chvátal
92db7277ce 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
Dominique Leuenberger
0e3c0a5063 Accepting request 750095 from devel:languages:python
- 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.

- Run spec-cleaner
- Add pytest4.patch to make the testsuite actually really pass.

- 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.

OBS-URL: https://build.opensuse.org/request/show/750095
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyHamcrest?expand=0&rev=4
2019-11-22 09:26:21 +00:00
6b129d17c1 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
f49e15a53d - 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
6847971762 - 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
d0fe2faf6d 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
db5cc80b66 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
eeefe38afb 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
d68bcec2b7 - 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
Dominique Leuenberger
f030e16c11 Accepting request 717015 from devel:languages:python
- 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/request/show/717015
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyHamcrest?expand=0&rev=3
2019-07-30 11:02:12 +00:00
Tomáš Chvátal
1d3536b816 - 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
Dominique Leuenberger
ebe123df64 Accepting request 713181 from devel:languages:python
- Add patch to fix build with new pytest:
  * pytest4.patch

OBS-URL: https://build.opensuse.org/request/show/713181
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyHamcrest?expand=0&rev=2
2019-07-05 11:48:21 +00:00
Tomáš Chvátal
e00fe5d35e - 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
Dominique Leuenberger
ab89c71a17 Accepting request 642555 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/642555
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyHamcrest?expand=0&rev=1
2018-10-18 13:31:38 +00:00
Tomáš Chvátal
c80227f658 - 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
684a2a6f36 - 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
e5d08d8387 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