Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pylint-ignore for 
openSUSE:Factory checked in at 2022-10-14 15:42:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pylint-ignore (Old)
 and      /work/SRC/openSUSE:Factory/.python-pylint-ignore.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pylint-ignore"

Fri Oct 14 15:42:59 2022 rev:3 rq:1010894 version:2022.1025

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pylint-ignore/python-pylint-ignore.changes    
    2022-08-03 21:17:00.291490390 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pylint-ignore.new.2275/python-pylint-ignore.changes
      2022-10-14 15:44:11.936084679 +0200
@@ -1,0 +2,7 @@
+Fri Oct 14 11:44:33 UTC 2022 - Daniel Garcia <daniel.gar...@suse.com>
+
+- Add update-alternatives requires
+- Remove glob %{python_sitelib}/* files, use package specific
+- Disable broken tests for python38 and python39
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pylint-ignore.spec ++++++
--- /var/tmp/diff_new_pack.RTKQ35/_old  2022-10-14 15:44:12.444085527 +0200
+++ /var/tmp/diff_new_pack.RTKQ35/_new  2022-10-14 15:44:12.452085541 +0200
@@ -37,6 +37,8 @@
 Requires:       python-astroid > 2.1.0
 Requires:       python-pylev
 Requires:       python-pylint > 2.4
+Requires(post): update-alternatives
+Requires(postun):update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -60,7 +62,10 @@
 %python_expand sed -i 's,/usr/bin/env python,,' 
%{buildroot}%{$python_sitelib}/pylint_ignore/__main__.py
 
 %check
-%pytest
+# Ignore failing tests in python3.8 and python3.9
+python38_donttest=(-k "not (test_selftest_no_ignore_update or 
test_selftest_ignore_update_noop)")
+python39_donttest=(-k "not (test_selftest_no_ignore_update or 
test_selftest_ignore_update_noop)")
+%pytest "${$python_donttest[@]}"
 
 %post
 %python_install_alternative pylint-ignore
@@ -72,6 +77,7 @@
 %doc CHANGELOG.md README.md
 %license LICENSE
 %python_alternative %{_bindir}/pylint-ignore
-%{python_sitelib}/*
+%{python_sitelib}/pylint_ignore
+%{python_sitelib}/pylint_ignore-%{version}*-info
 
 %changelog

Reply via email to