Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-wurlitzer for 
openSUSE:Factory checked in at 2022-12-08 16:52:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-wurlitzer (Old)
 and      /work/SRC/openSUSE:Factory/.python-wurlitzer.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-wurlitzer"

Thu Dec  8 16:52:26 2022 rev:7 rq:1041385 version:3.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-wurlitzer/python-wurlitzer.changes        
2022-04-16 00:14:44.901689087 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-wurlitzer.new.1835/python-wurlitzer.changes  
    2022-12-08 16:52:36.467920288 +0100
@@ -1,0 +2,11 @@
+Wed Dec  7 22:42:41 UTC 2022 - Yogalakshmi Arunachalam <[email protected]>
+
+- Update to version 3.0.3 
+  * ci: update packages in freebsd #70
+  * Include STDOUT and PIPE in public API #69
+  * use 2**18 for bufsize test #61
+  * Try running tests on freebsd #60
+  * Add details to the failed-to-set-pipe-buffer-size warning #58
+  * Add details to the failed-to-set-pipe-buffer-size warning, closes #5757 
#5757
+
+-------------------------------------------------------------------

Old:
----
  wurlitzer-3.0.2.tar.gz

New:
----
  wurlitzer-3.0.3.tar.gz

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

Other differences:
------------------
++++++ python-wurlitzer.spec ++++++
--- /var/tmp/diff_new_pack.4NIw8w/_old  2022-12-08 16:52:37.027923161 +0100
+++ /var/tmp/diff_new_pack.4NIw8w/_new  2022-12-08 16:52:37.051923284 +0100
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without python2
 Name:           python-wurlitzer
-Version:        3.0.2
+Version:        3.0.3
 Release:        0
 Summary:        Python package to capture C-level output in context managers
 License:        MIT

++++++ wurlitzer-3.0.2.tar.gz -> wurlitzer-3.0.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wurlitzer-3.0.2/PKG-INFO new/wurlitzer-3.0.3/PKG-INFO
--- old/wurlitzer-3.0.2/PKG-INFO        2021-08-25 09:59:24.916883500 +0200
+++ new/wurlitzer-3.0.3/PKG-INFO        2022-12-01 09:23:11.810770300 +0100
@@ -1,12 +1,11 @@
 Metadata-Version: 2.1
 Name: wurlitzer
-Version: 3.0.2
+Version: 3.0.3
 Summary: Capture C-level output in context managers
 Home-page: https://github.com/minrk/wurlitzer
 Author: Min RK
 Author-email: [email protected]
 License: MIT
-Platform: UNKNOWN
 Classifier: Development Status :: 4 - Beta
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: MIT License
@@ -76,5 +75,3 @@
 ## Wurlitzer?!
 
 [Wurlitzer](https://en.wikipedia.org/wiki/Wurlitzer) makes pipe organs. Get 
it? Pipes? Naming is hard.
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wurlitzer-3.0.2/pyproject.toml 
new/wurlitzer-3.0.3/pyproject.toml
--- old/wurlitzer-3.0.2/pyproject.toml  2021-08-25 09:59:17.000000000 +0200
+++ new/wurlitzer-3.0.3/pyproject.toml  2022-12-01 09:22:58.000000000 +0100
@@ -4,8 +4,41 @@
 [tool.black]
 skip-string-normalization = true
 target_version = [
-    "py27",
+    "py35",
     "py36",
     "py37",
     "py38",
 ]
+
+[tool.tbump]
+# Uncomment this if your project is hosted on GitHub:
+github_url = "https://github.com/minrk/wurlitzer";
+
+[tool.tbump.version]
+current = "3.0.3"
+
+# Example of a semver regexp.
+# Make sure this matches current_version before
+# using tbump
+regex = '''
+  (?P<major>\d+)
+  \.
+  (?P<minor>\d+)
+  \.
+  (?P<patch>\d+)
+  (?P<pre>((a|b|rc)\d+)|)
+  \.?
+  (?P<dev>(?<=\.)dev\d*|)
+  '''
+
+[tool.tbump.git]
+message_template = "Bump to {new_version}"
+tag_template = "{new_version}"
+
+# For each file to patch, add a [[tool.tbump.file]] config
+# section containing the path of the file, relative to the
+# pyproject.toml location.
+
+[[tool.tbump.file]]
+src = "wurlitzer.py"
+search = "__version__ = '{current_version}'"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wurlitzer-3.0.2/test.py new/wurlitzer-3.0.3/test.py
--- old/wurlitzer-3.0.2/test.py 2021-08-25 09:59:17.000000000 +0200
+++ new/wurlitzer-3.0.3/test.py 2022-12-01 09:22:58.000000000 +0100
@@ -173,7 +173,7 @@
         assert fcntl(sys.__stdout__, wurlitzer.F_GETPIPE_SZ) == default_bufsize
         assert fcntl(sys.__stderr__, wurlitzer.F_GETPIPE_SZ) == default_bufsize
 
-    bufsize = 32768  # seems to only accept powers of two?
+    bufsize = 2**18  # seems to only accept powers of two?
     with wurlitzer.pipes(bufsize=bufsize) as (stdout, stderr):
         assert fcntl(sys.__stdout__, wurlitzer.F_GETPIPE_SZ) == bufsize
         assert fcntl(sys.__stderr__, wurlitzer.F_GETPIPE_SZ) == bufsize
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wurlitzer-3.0.2/wurlitzer.egg-info/PKG-INFO 
new/wurlitzer-3.0.3/wurlitzer.egg-info/PKG-INFO
--- old/wurlitzer-3.0.2/wurlitzer.egg-info/PKG-INFO     2021-08-25 
09:59:24.000000000 +0200
+++ new/wurlitzer-3.0.3/wurlitzer.egg-info/PKG-INFO     2022-12-01 
09:23:11.000000000 +0100
@@ -1,12 +1,11 @@
 Metadata-Version: 2.1
 Name: wurlitzer
-Version: 3.0.2
+Version: 3.0.3
 Summary: Capture C-level output in context managers
 Home-page: https://github.com/minrk/wurlitzer
 Author: Min RK
 Author-email: [email protected]
 License: MIT
-Platform: UNKNOWN
 Classifier: Development Status :: 4 - Beta
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: MIT License
@@ -76,5 +75,3 @@
 ## Wurlitzer?!
 
 [Wurlitzer](https://en.wikipedia.org/wiki/Wurlitzer) makes pipe organs. Get 
it? Pipes? Naming is hard.
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/wurlitzer-3.0.2/wurlitzer.py 
new/wurlitzer-3.0.3/wurlitzer.py
--- old/wurlitzer-3.0.2/wurlitzer.py    2021-08-25 09:59:17.000000000 +0200
+++ new/wurlitzer-3.0.3/wurlitzer.py    2022-12-01 09:22:58.000000000 +0100
@@ -4,13 +4,15 @@
 """
 from __future__ import print_function
 
-__version__ = '3.0.2'
+__version__ = '3.0.3'
 
 __all__ = [
     'pipes',
     'sys_pipes',
     'sys_pipes_forever',
     'stop_sys_pipes',
+    'PIPE',
+    'STDOUT',
     'Wurlitzer',
 ]
 
@@ -205,8 +207,10 @@
         if self._bufsize:
             try:
                 fcntl(pipe_in, F_SETPIPE_SZ, self._bufsize)
-            except OSError:
-                warnings.warn("Failed to set pipe buffer size", RuntimeWarning)
+            except OSError as error:
+                warnings.warn(
+                    "Failed to set pipe buffer size: " + str(error), 
RuntimeWarning
+                )
 
         dup2(pipe_in, real_fd)
         os.close(pipe_in)

Reply via email to