Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-unify for openSUSE:Factory 
checked in at 2024-04-02 16:43:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-unify (Old)
 and      /work/SRC/openSUSE:Factory/.python-unify.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-unify"

Tue Apr  2 16:43:52 2024 rev:6 rq:1164043 version:0.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-unify/python-unify.changes        
2020-05-19 14:48:31.908076422 +0200
+++ /work/SRC/openSUSE:Factory/.python-unify.new.1905/python-unify.changes      
2024-04-02 16:46:38.282089591 +0200
@@ -1,0 +2,5 @@
+Tue Mar 19 12:44:31 UTC 2024 - Markéta Machová <mmach...@suse.com>
+
+- Skip failing tests on Python 3.12
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-unify.spec ++++++
--- /var/tmp/diff_new_pack.yc1OD9/_old  2024-04-02 16:46:39.550136229 +0200
+++ /var/tmp/diff_new_pack.yc1OD9/_new  2024-04-02 16:46:39.558136523 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-unify
 #
-# Copyright (c) 2020 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,7 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-unify
 Version:        0.5
 Release:        0
@@ -29,7 +28,6 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-setuptools
 Requires:       python-untokenize
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
@@ -55,7 +53,10 @@
 %python_build
 
 %check
-%pytest
+# https://github.com/myint/unify/issues/22
+donttest="DUMMY"
+python312_donttest="or (TestUnitsWithFstrings and test_format_code)"
+%pytest -k "not ($donttest ${$python_donttest})"
 
 %install
 %python_install
@@ -73,5 +74,7 @@
 %license LICENSE
 %doc README.rst README.suse
 %python_alternative %{_bindir}/unify_quotes
-%{python_sitelib}/*
+%{python_sitelib}/unify.py
+%pycache_only %{python_sitelib}/__pycache__/unify*
+%{python_sitelib}/unify-%{version}*info
 

Reply via email to