Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-enrich for openSUSE:Factory 
checked in at 2023-05-10 16:19:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-enrich (Old)
 and      /work/SRC/openSUSE:Factory/.python-enrich.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-enrich"

Wed May 10 16:19:32 2023 rev:3 rq:1085937 version:1.2.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-enrich/python-enrich.changes      
2023-05-06 22:09:23.420783084 +0200
+++ /work/SRC/openSUSE:Factory/.python-enrich.new.1533/python-enrich.changes    
2023-05-10 16:19:33.411341120 +0200
@@ -1,0 +2,6 @@
+Wed May 10 02:46:11 UTC 2023 - Steve Kowalik <[email protected]>
+
+- Actually run the testsuite.
+- Add a missing Requires on python-rich 
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-enrich.spec ++++++
--- /var/tmp/diff_new_pack.8NxblO/_old  2023-05-10 16:19:33.907344053 +0200
+++ /var/tmp/diff_new_pack.8NxblO/_new  2023-05-10 16:19:33.915344101 +0200
@@ -27,9 +27,13 @@
 Source:         
https://files.pythonhosted.org/packages/source/e/enrich/enrich-%{version}.tar.gz
 Patch0:         remove_setuptools_scm.patch
 BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module pytest-mock}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module rich}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       python-rich
 BuildArch:      noarch
 %python_subpackages
 
@@ -38,8 +42,7 @@
 with a set of changes that were not accepted to rich itself.
 
 %prep
-%setup -q -n enrich-%{version}
-%patch0 -p1
+%autosetup -p1 -n enrich-%{version}
 sed -i 's/__VERSION__/%version/' setup.py
 sed -i '/_scm/ d' setup.cfg
 
@@ -50,7 +53,12 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
+%check
+# gh#pycontribs/enrich#40
+%pytest -k 'not test_rich_console_ex'
+
 %files %{python_files}
-%{python_sitelib}/enrich*
+%{python_sitelib}/enrich
+%{python_sitelib}/enrich-%{version}*info
 
 %changelog

Reply via email to