Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-systemd for openSUSE:Factory checked in at 2022-08-17 18:16:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-systemd (Old) and /work/SRC/openSUSE:Factory/.python-systemd.new.1521 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-systemd" Wed Aug 17 18:16:56 2022 rev:11 rq:997478 version:235 Changes: -------- --- /work/SRC/openSUSE:Factory/python-systemd/python-systemd.changes 2022-07-04 11:33:00.488035992 +0200 +++ /work/SRC/openSUSE:Factory/.python-systemd.new.1521/python-systemd.changes 2022-08-17 18:26:15.151598744 +0200 @@ -1,0 +2,19 @@ +Wed Aug 17 05:49:41 UTC 2022 - Matej Cepl <mc...@suse.com> + +- Update to version 235: + * Adapt the rename of systemd-activate to + systemd-socket-activate performed in systemd 230. + * Support for sd_listen_fds_with_names added in systemd 227. + * Support for sd_journal_get_cutoff_realtime_usec added in + systemd 186. + * Make the Reader PY_SSIZE_T_CLEAN for py3.10 compatibility. + * id128: update for systemd-243 compatibility and other fixes. + * C syntax modernization. A minimum of C99 is assumed. + * Fix seek_realtime to work with timezone aware date on Python 3. + * journal: add namespace support. + * Fixes for memory leaks and documentation. + * Support for Python 2 will be removed after this release. +- Remove upstreamed 0002-reader-make-PY_SSIZE_T_CLEAN.patch. +- Skip two failing tests (gh#systemd/python-systemd#118) + +------------------------------------------------------------------- Old: ---- 0002-reader-make-PY_SSIZE_T_CLEAN.patch python-systemd-234.tar.gz New: ---- python-systemd-235.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-systemd.spec ++++++ --- /var/tmp/diff_new_pack.gNMSHR/_old 2022-08-17 18:26:15.543599712 +0200 +++ /var/tmp/diff_new_pack.gNMSHR/_new 2022-08-17 18:26:15.547599722 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-systemd -Version: 234 +Version: 235 Release: 0 Summary: Python wrappers for systemd functionality License: LGPL-2.1-or-later @@ -27,10 +27,6 @@ Source: https://github.com/systemd/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE iso-c-90.patch makes the building iso-c-90 compatible to allow building on SLE12 SP3 Patch1: iso-c-90.patch -# PATCH-FIX-UPSTREAM 0002-reader-make-PY_SSIZE_T_CLEAN.patch gh#systemd/python-systemd#107 mc...@suse.com -# Originally from gh#systemd/python-systemd/commit/c71bbac357f0 -# make PY_SSIZE_T_CLEAN -Patch2: 0002-reader-make-PY_SSIZE_T_CLEAN.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -62,7 +58,9 @@ %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -export PYTEST_ADDOPTS="-k 'not test_reader_this_machine'" +# Not sure about the first exclusion, +# the following ones are gh#systemd/python-systemd#118 +export PYTEST_ADDOPTS="-k 'not (test_reader_this_machine or test_get_machine or test_get_machine_app_specific)'" %python_expand make PYTHON=python%{$python_version} check %files %{python_files} ++++++ iso-c-90.patch ++++++ --- /var/tmp/diff_new_pack.gNMSHR/_old 2022-08-17 18:26:15.571599781 +0200 +++ /var/tmp/diff_new_pack.gNMSHR/_new 2022-08-17 18:26:15.575599791 +0200 @@ -1,17 +1,20 @@ -diff -ur python-systemd-234.orig/systemd/_daemon.c python-systemd-234/systemd/_daemon.c ---- python-systemd-234.orig/systemd/_daemon.c 2017-03-26 03:33:59.000000000 +0200 -+++ python-systemd-234/systemd/_daemon.c 2017-11-06 19:11:48.546733677 +0100 -@@ -127,11 +127,12 @@ +--- + systemd/_daemon.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +--- a/systemd/_daemon.c ++++ b/systemd/_daemon.c +@@ -121,11 +121,12 @@ static PyObject* notify(PyObject *self, return NULL; for (i = 0; i < len; i++) { + long value; - PyObject *item = PySequence_GetItem(fds, i); + _cleanup_Py_DECREF_ PyObject *item = PySequence_GetItem(fds, i); if (!item) return NULL; - long value = PyLong_AsLong(item); -+ value = PyLong_AsLong(item); ++ value = PyLong_AsLong(item); if (PyErr_Occurred()) return NULL; ++++++ python-systemd-234.tar.gz -> python-systemd-235.tar.gz ++++++ ++++ 2109 lines of diff (skipped)