Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-PyHamcrest for
openSUSE:Factory checked in at 2024-01-29 22:26:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyHamcrest (Old)
and /work/SRC/openSUSE:Factory/.python-PyHamcrest.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyHamcrest"
Mon Jan 29 22:26:35 2024 rev:8 rq:1141945 version:2.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyHamcrest/python-PyHamcrest.changes
2023-04-22 22:03:28.618298534 +0200
+++
/work/SRC/openSUSE:Factory/.python-PyHamcrest.new.1815/python-PyHamcrest.changes
2024-01-29 22:26:37.156232843 +0100
@@ -1,0 +2,11 @@
+Sat Jan 27 11:03:23 UTC 2024 - Dirk Müller <[email protected]>
+
+- 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
+
+-------------------------------------------------------------------
Old:
----
V2.0.3.tar.gz
New:
----
pyhamcrest-2.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-PyHamcrest.spec ++++++
--- /var/tmp/diff_new_pack.z6wLSP/_old 2024-01-29 22:26:37.916260390 +0100
+++ /var/tmp/diff_new_pack.z6wLSP/_new 2024-01-29 22:26:37.920260536 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-PyHamcrest
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,22 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-PyHamcrest
-Version: 2.0.3
+Version: 2.1.0
Release: 0
Summary: Hamcrest framework for matcher objects
License: BSD-3-Clause
URL: https://github.com/hamcrest/PyHamcrest
-# PyPi is missing tests
-#Source:
https://files.pythonhosted.org/packages/source/P/PyHamcrest/PyHamcrest-%%{version}.tar.gz
-Source:
https://github.com/hamcrest/PyHamcrest/archive/V%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/source/p/pyhamcrest/pyhamcrest-%{version}.tar.gz
Patch0: 0001-Add-boolean-matchers.patch
+BuildRequires: %{python_module hatch_vcs}
+BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module hypothesis >= 1.11}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module setuptools_scm}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Provides: python-hamcrest = %{version}
@@ -45,14 +45,14 @@
allowing you to declaratively define âmatchâ rules.
%prep
-%setup -q -n PyHamcrest-%{version}
+%setup -q -n pyhamcrest-%{version}
%autopatch -p1
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}/hamcrest
%check
@@ -62,5 +62,5 @@
%license LICENSE.txt
%doc README.rst
%{python_sitelib}/hamcrest
-%{python_sitelib}/PyHamcrest-%{version}-py*.egg-info/
+%{python_sitelib}/pyhamcrest-%{version}.dist-info