Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-astor for openSUSE:Factory 
checked in at 2021-03-24 16:10:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-astor (Old)
 and      /work/SRC/openSUSE:Factory/.python-astor.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-astor"

Wed Mar 24 16:10:38 2021 rev:9 rq:880498 version:0.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-astor/python-astor.changes        
2020-06-02 14:40:34.183887561 +0200
+++ /work/SRC/openSUSE:Factory/.python-astor.new.2401/python-astor.changes      
2021-03-24 16:10:39.875794968 +0100
@@ -1,0 +2,6 @@
+Fri Mar 19 19:13:12 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- Skip failing stdlib roundtrip test on python39
+  gh#berkerpeksag/astor#196
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-astor.spec ++++++
--- /var/tmp/diff_new_pack.4fxx61/_old  2021-03-24 16:10:40.395795514 +0100
+++ /var/tmp/diff_new_pack.4fxx61/_new  2021-03-24 16:10:40.399795518 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-astor
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,13 +28,14 @@
 Source:         
https://github.com/berkerpeksag/astor/archive/%{version}.tar.gz#/astor-%{version}.tar.gz
 # https://github.com/berkerpeksag/astor/pull/177
 Patch0:         remove_nose.patch
-BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
 # SECTION test requirements
+BuildRequires:  %{python_module pytest}
 %if %{with python2}
+# The tests use it internally, even when called from pytest-2
 BuildRequires:  python-unittest2
 %endif
 # /SECTION
@@ -81,7 +82,9 @@
 %python_expand chmod 755 %{buildroot}%{$python_sitelib}/astor/rtrip.py
 
 %check
-%pytest tests
+# https://github.com/berkerpeksag/astor/issues/196
+python39_donttest="test_convert_stdlib"
+%pytest tests ${$python_donttest:+ -k "not (${$python_donttest})"}
 
 %files %{python_files}
 %doc AUTHORS README.rst docs/*.rst

Reply via email to