Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-snuggs for openSUSE:Factory 
checked in at 2023-09-11 21:22:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-snuggs (Old)
 and      /work/SRC/openSUSE:Factory/.python-snuggs.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-snuggs"

Mon Sep 11 21:22:03 2023 rev:4 rq:1110225 version:1.4.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-snuggs/python-snuggs.changes      
2021-04-27 21:35:30.988068162 +0200
+++ /work/SRC/openSUSE:Factory/.python-snuggs.new.1766/python-snuggs.changes    
2023-09-11 21:26:36.198829962 +0200
@@ -1,0 +2,6 @@
+Sat Sep  9 14:51:16 UTC 2023 - Matej Cepl <mc...@suse.com>
+
+- Skip failing tests because of poor exception handling
+  (gh#mapbox/snuggs#27)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-snuggs.spec ++++++
--- /var/tmp/diff_new_pack.gm6yFp/_old  2023-09-11 21:26:37.914891138 +0200
+++ /var/tmp/diff_new_pack.gm6yFp/_new  2023-09-11 21:26:37.938891994 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-snuggs
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         skip_python36 1
 Name:           python-snuggs
 Version:        1.4.7
@@ -26,7 +25,8 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/mapbox/snuggs
 Source:         
https://files.pythonhosted.org/packages/source/s/snuggs/snuggs-%{version}.tar.gz
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-numpy
@@ -44,20 +44,22 @@
 Snuggs are s-expressions for Numpy.
 
 %prep
-%setup -q -n snuggs-%{version}
+%autosetup -p1 -n snuggs-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_expand pytest-%{$python_bin_suffix} test_snuggs.py
+# gh#mapbox/snuggs#27
+%pytest -k 'not (test_missing_closing_paren or test_missing_func2 or 
test_bogus_higher_order_func)' test_snuggs.py
 
 %files %{python_files}
 %doc AUTHORS.txt CHANGES.txt README.rst
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/snuggs
+%{python_sitelib}/snuggs-%{version}*-info
 

Reply via email to