Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-nbsmoke for openSUSE:Factory 
checked in at 2022-06-25 10:24:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nbsmoke (Old)
 and      /work/SRC/openSUSE:Factory/.python-nbsmoke.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-nbsmoke"

Sat Jun 25 10:24:53 2022 rev:8 rq:984968 version:0.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nbsmoke/python-nbsmoke.changes    
2022-01-08 23:25:13.694310449 +0100
+++ /work/SRC/openSUSE:Factory/.python-nbsmoke.new.1548/python-nbsmoke.changes  
2022-06-25 10:25:12.462754747 +0200
@@ -1,0 +2,6 @@
+Fri Jun 24 19:39:08 UTC 2022 - Ben Greiner <[email protected]>
+
+- Add nbsmoke-obs-nounraisableexception.patch: don't error on
+  warnings about obs not closing sockets in time
+
+-------------------------------------------------------------------

New:
----
  nbsmoke-obs-nounraisableexception.patch

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

Other differences:
------------------
++++++ python-nbsmoke.spec ++++++
--- /var/tmp/diff_new_pack.a2PWqN/_old  2022-06-25 10:25:12.814755250 +0200
+++ /var/tmp/diff_new_pack.a2PWqN/_new  2022-06-25 10:25:12.822755261 +0200
@@ -26,6 +26,8 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/pyviz-dev/nbsmoke
 Source:         
https://files.pythonhosted.org/packages/source/n/nbsmoke/nbsmoke-%{version}.tar.gz
+# PATCH-FIX-OPENSUSE nbsmoke-obs-nounraisableexception.patch, don't error on 
warnings about obs not closing sockets in time, [email protected]
+Patch1:         nbsmoke-obs-nounraisableexception.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -62,7 +64,7 @@
 and whether they contain lint.
 
 %prep
-%setup -q -n nbsmoke-%{version}
+%autosetup -p1 -n nbsmoke-%{version}
 
 %build
 %python_build

++++++ nbsmoke-obs-nounraisableexception.patch ++++++
Index: nbsmoke-0.6.0/nbsmoke/tests/__init__.py
===================================================================
--- nbsmoke-0.6.0.orig/nbsmoke/tests/__init__.py
+++ nbsmoke-0.6.0/nbsmoke/tests/__init__.py
@@ -60,12 +60,15 @@ VERBOSE = '-v'
 # Ignore deprecation warnings until the many deprecation warnings stop
 # coming from ipython and traitlets as used by nbconvert
 IGNORE_DEPRECATION_WARNINGS = '-W ignore::DeprecationWarning'
+# don't error on warnings about obs not closing sockets in time
+# 
https://docs.pytest.org/en/7.1.x/how-to/failures.html#warning-about-unraisable-exceptions-and-unhandled-thread-exceptions
+NO_UNRAISABLE_EXCEPTION = ['-p', 'no:unraisableexception']
 
 _all_args = [
     VERBOSE,
     WARNINGS_ARE_ERRORS,
     IGNORE_DEPRECATION_WARNINGS
-]
+] + NO_UNRAISABLE_EXCEPTION
 
 
 lint_args = ['--nbsmoke-lint'] + _all_args

Reply via email to