Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-setproctitle for
openSUSE:Factory checked in at 2021-02-01 13:26:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-setproctitle (Old)
and /work/SRC/openSUSE:Factory/.python-setproctitle.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-setproctitle"
Mon Feb 1 13:26:59 2021 rev:28 rq:867595 version:1.2.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-setproctitle/python-setproctitle.changes
2020-12-23 14:18:48.865569215 +0100
+++
/work/SRC/openSUSE:Factory/.python-setproctitle.new.28504/python-setproctitle.changes
2021-02-01 13:28:39.618145729 +0100
@@ -1,0 +2,8 @@
+Thu Jan 28 23:04:25 UTC 2021 - Dirk M??ller <[email protected]>
+
+- update to 1.2.2:
+ - Fixed Windows build (issues #89, #90).
+ - Added wheel packages for Windows (issues #47, #90).
+ - Added wheel packages for aarch64 (issues #95).
+
+-------------------------------------------------------------------
Old:
----
setproctitle-1.2.1.tar.gz
New:
----
setproctitle-1.2.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-setproctitle.spec ++++++
--- /var/tmp/diff_new_pack.QHb4D1/_old 2021-02-01 13:28:40.278146756 +0100
+++ /var/tmp/diff_new_pack.QHb4D1/_new 2021-02-01 13:28:40.282146762 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-setproctitle
#
-# 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
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-setproctitle
-Version: 1.2.1
+Version: 1.2.2
Release: 0
Summary: Python module to allow customization of the process title
License: BSD-3-Clause
++++++ setproctitle-1.2.1.tar.gz -> setproctitle-1.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/setproctitle-1.2.1/HISTORY.rst
new/setproctitle-1.2.2/HISTORY.rst
--- old/setproctitle-1.2.1/HISTORY.rst 2020-12-04 04:04:27.000000000 +0100
+++ new/setproctitle-1.2.2/HISTORY.rst 2021-01-23 04:21:39.000000000 +0100
@@ -1,6 +1,14 @@
Releases history
----------------
+Version 1.2.2
+-------------
+
+- Fixed Windows build (issues #89, #90).
+- Added wheel packages for Windows (issues #47, #90).
+- Added wheel packages for aarch64 (issues #95).
+
+
Version 1.2.1
-------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/setproctitle-1.2.1/PKG-INFO
new/setproctitle-1.2.2/PKG-INFO
--- old/setproctitle-1.2.1/PKG-INFO 2020-12-04 04:04:28.207517100 +0100
+++ new/setproctitle-1.2.2/PKG-INFO 2021-01-23 04:21:40.167452800 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: setproctitle
-Version: 1.2.1
+Version: 1.2.2
Summary: A Python module to customize the process title
Home-page: https://github.com/dvarrazzo/py-setproctitle
Author: Daniele Varrazzo
@@ -10,6 +10,10 @@
Description: A Python module to customize the process title
==============================================
+ .. image::
https://github.com/dvarrazzo/py-setproctitle/workflows/Tests/badge.svg
+ :target:
https://github.com/dvarrazzo/py-setproctitle/actions?query=workflow%3ATests
+ :alt: Tests
+
:author: Daniele Varrazzo
The ``setproctitle`` module allows a process to change its title (as
displayed
@@ -138,6 +142,14 @@
Releases history
----------------
+ Version 1.2.2
+ -------------
+
+ - Fixed Windows build (issues #89, #90).
+ - Added wheel packages for Windows (issues #47, #90).
+ - Added wheel packages for aarch64 (issues #95).
+
+
Version 1.2.1
-------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/setproctitle-1.2.1/README.rst
new/setproctitle-1.2.2/README.rst
--- old/setproctitle-1.2.1/README.rst 2020-12-04 04:04:27.000000000 +0100
+++ new/setproctitle-1.2.2/README.rst 2021-01-23 04:21:39.000000000 +0100
@@ -1,6 +1,10 @@
A Python module to customize the process title
==============================================
+.. image::
https://github.com/dvarrazzo/py-setproctitle/workflows/Tests/badge.svg
+ :target:
https://github.com/dvarrazzo/py-setproctitle/actions?query=workflow%3ATests
+ :alt: Tests
+
:author: Daniele Varrazzo
The ``setproctitle`` module allows a process to change its title (as displayed
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/setproctitle-1.2.1/setproctitle.egg-info/PKG-INFO
new/setproctitle-1.2.2/setproctitle.egg-info/PKG-INFO
--- old/setproctitle-1.2.1/setproctitle.egg-info/PKG-INFO 2020-12-04
04:04:28.000000000 +0100
+++ new/setproctitle-1.2.2/setproctitle.egg-info/PKG-INFO 2021-01-23
04:21:40.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: setproctitle
-Version: 1.2.1
+Version: 1.2.2
Summary: A Python module to customize the process title
Home-page: https://github.com/dvarrazzo/py-setproctitle
Author: Daniele Varrazzo
@@ -10,6 +10,10 @@
Description: A Python module to customize the process title
==============================================
+ .. image::
https://github.com/dvarrazzo/py-setproctitle/workflows/Tests/badge.svg
+ :target:
https://github.com/dvarrazzo/py-setproctitle/actions?query=workflow%3ATests
+ :alt: Tests
+
:author: Daniele Varrazzo
The ``setproctitle`` module allows a process to change its title (as
displayed
@@ -138,6 +142,14 @@
Releases history
----------------
+ Version 1.2.2
+ -------------
+
+ - Fixed Windows build (issues #89, #90).
+ - Added wheel packages for Windows (issues #47, #90).
+ - Added wheel packages for aarch64 (issues #95).
+
+
Version 1.2.1
-------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/setproctitle-1.2.1/setproctitle.egg-info/SOURCES.txt
new/setproctitle-1.2.2/setproctitle.egg-info/SOURCES.txt
--- old/setproctitle-1.2.1/setproctitle.egg-info/SOURCES.txt 2020-12-04
04:04:28.000000000 +0100
+++ new/setproctitle-1.2.2/setproctitle.egg-info/SOURCES.txt 2021-01-23
04:21:40.000000000 +0100
@@ -24,4 +24,5 @@
tests/conftest.py
tests/pyrun.c
tests/setproctitle_test.py
-tests/setthreadtitle_test.py
\ No newline at end of file
+tests/setthreadtitle_test.py
+tests/test_win32.py
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/setproctitle-1.2.1/setup.py
new/setproctitle-1.2.2/setup.py
--- old/setproctitle-1.2.1/setup.py 2020-12-04 04:04:27.000000000 +0100
+++ new/setproctitle-1.2.2/setup.py 2021-01-23 04:21:39.000000000 +0100
@@ -12,12 +12,9 @@
except ImportError:
from distutils.core import setup, Extension
-
-VERSION = "1.2.1"
-
+VERSION = "1.2.2"
define_macros = {}
-
define_macros["SPT_VERSION"] = VERSION
if sys.platform.startswith("linux"):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/setproctitle-1.2.1/src/spt_setup.c
new/setproctitle-1.2.2/src/spt_setup.c
--- old/setproctitle-1.2.1/src/spt_setup.c 2020-12-04 04:04:27.000000000
+0100
+++ new/setproctitle-1.2.2/src/spt_setup.c 2021-01-23 04:21:39.000000000
+0100
@@ -19,7 +19,7 @@
#if defined(__darwin__)
#include <crt_externs.h>
#define environ (*_NSGetEnviron())
-#else
+#elif !defined(_WIN32)
extern char **environ;
#endif
@@ -456,7 +456,7 @@
spt_setup(void)
{
const int not_happened = 3;
- static int rv = not_happened;
+ static int rv = 3;
/* Make sure setup happens just once, either successful or failed */
if (rv != not_happened) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/setproctitle-1.2.1/tests/setproctitle_test.py
new/setproctitle-1.2.2/tests/setproctitle_test.py
--- old/setproctitle-1.2.1/tests/setproctitle_test.py 2020-12-04
04:04:27.000000000 +0100
+++ new/setproctitle-1.2.2/tests/setproctitle_test.py 2021-01-23
04:21:39.000000000 +0100
@@ -18,9 +18,12 @@
from .conftest import run_script
-
IS_PYPY = "__pypy__" in sys.builtin_module_names
+if sys.platform == 'win32':
+ pytest.skip("skipping Posix tests on Windows",
+ allow_module_level=True)
+
def test_runner():
"""Test the script execution method."""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/setproctitle-1.2.1/tests/setthreadtitle_test.py
new/setproctitle-1.2.2/tests/setthreadtitle_test.py
--- old/setproctitle-1.2.1/tests/setthreadtitle_test.py 2020-12-04
04:04:27.000000000 +0100
+++ new/setproctitle-1.2.2/tests/setthreadtitle_test.py 2021-01-23
04:21:39.000000000 +0100
@@ -1,8 +1,13 @@
import os
import pytest
+import sys
from .conftest import run_script
+if sys.platform == 'win32':
+ pytest.skip("skipping Posix tests on Windows",
+ allow_module_level=True)
+
def test_thread_title_unchanged():
if not os.path.isdir("/proc/self/task/"):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/setproctitle-1.2.1/tests/test_win32.py
new/setproctitle-1.2.2/tests/test_win32.py
--- old/setproctitle-1.2.1/tests/test_win32.py 1970-01-01 01:00:00.000000000
+0100
+++ new/setproctitle-1.2.2/tests/test_win32.py 2021-01-23 04:21:39.000000000
+0100
@@ -0,0 +1,19 @@
+import pytest
+import setproctitle
+import sys
+
+if sys.platform != 'win32':
+ pytest.skip("skipping Windows tests",
+ allow_module_level=True)
+
+
+def test_setproctitle():
+ title = "setproctitle_test"
+ setproctitle.setproctitle(title)
+ assert title == setproctitle.getproctitle()
+
+def test_setthreadtitle():
+ title = "setproctitle_test"
+ # This is currently a no-op on Windows. Let's make sure
+ # that at least it doesn't error out.
+ setproctitle.setthreadtitle(title)