Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pylibacl for openSUSE:Factory 
checked in at 2022-03-30 20:35:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pylibacl (Old)
 and      /work/SRC/openSUSE:Factory/.python-pylibacl.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pylibacl"

Wed Mar 30 20:35:49 2022 rev:5 rq:965828 version:0.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pylibacl/python-pylibacl.changes  
2020-02-25 16:07:05.500601636 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pylibacl.new.1900/python-pylibacl.changes    
    2022-03-30 20:35:52.313313381 +0200
@@ -1,0 +2,42 @@
+Sat Mar 26 19:52:42 UTC 2022 - Dirk M??ller <[email protected]>
+
+- update to 0.6.0:
+  - Support for pathlib objects in `apply_to` and `has_extended`
+    functions when running with Python 3.6 and newer.
+  - Use of built-in C API functions for bytes/unicode/pathlib conversion
+    when dealing with file names, removing custom code (with the
+    associated benefits).
+  - Initialisation protocol has been changed, to disallow uninitialised
+    objects; this means that `__new__` will always create valid objects,
+    to prevent the need for checking initialisation status in all code
+    paths; this also (implicitly) fixes memory leaks on re-initialisation
+    (calling `__init__(342200246)` on an existing object) and segfaults (!) on
+    non-initialised object attribute access. Note ACL re-initialisation is
+    tricky and (still) leads to undefined behaviour of existing Entry
+    objects pointing to it.
+  - Fix another bug in ACL re-initialisation where failures would result
+    in invalid objects; now failed re-initialisation does not touch the
+    original object.
+  - Restore `__setstate__`/`__getstate__` support on Linux; this was
+    inadvertently removed due a typo(!) when adding support for it in
+    FreeBSD. Pickle should work again for ACL instances, although not sure
+    how stable this serialisation format actually is.
+  - Additionally, slightly change `__setstate__()` input to not allow
+    Unicode, since the serialisation format is an opaque binary format.
+  - Fix (and change) entry qualifier (which is a user/group ID) behaviour:
+    assume/require that uid_t/gid_t are unsigned types (they are with
+    glibc, MacOS and FreeBSD at least; the standard doesn't document the
+    signedness), and convert parsing and returning the qualifier to behave
+    accordingly. The breakage was most apparent on 32-bit architectures,
+    in which context the problem was originally reported (see issue #13).
+  - Added a `data` keyword argument to `ACL()`, which allows restoring an
+    ACL directly from a serialised form (as given by `__getstate__()`),
+    which should simplify some uses cases (`a = ACL(); a.__set
+    state__(342200246)`).
+  - When available, add the file path to I/O error messages, which should
+    lead to easier debugging.
+  - The test suite has changed to `pytest`, which allows increased
+    coverage via parameterisation.
+- drop 09c5bd80cf811a0e7b81ceddfb525d576885e097.patch (upstream)
+
+-------------------------------------------------------------------

Old:
----
  09c5bd80cf811a0e7b81ceddfb525d576885e097.patch
  pylibacl-0.5.4.tar.gz

New:
----
  pylibacl-0.6.0.tar.gz

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

Other differences:
------------------
++++++ python-pylibacl.spec ++++++
--- /var/tmp/diff_new_pack.p3Aym1/_old  2022-03-30 20:35:52.829313806 +0200
+++ /var/tmp/diff_new_pack.p3Aym1/_new  2022-03-30 20:35:52.833313809 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pylibacl
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 # Copyright (c) 2013-2020 LISA GmbH, Bingen, Germany
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,15 +17,15 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?!python_module:%define python_module() python3-%{**}}
+%global skip_python2 1
 Name:           python-pylibacl
-Version:        0.5.4
+Version:        0.6.0
 Release:        0
 Summary:        POSIX1e ACLs for python
 License:        LGPL-2.1-or-later
 URL:            https://pylibacl.k1024.org/
 Source:         
https://files.pythonhosted.org/packages/source/p/pylibacl/pylibacl-%{version}.tar.gz
-Patch:          09c5bd80cf811a0e7b81ceddfb525d576885e097.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
@@ -42,7 +42,6 @@
 
 %prep
 %setup -q -n pylibacl-%{version}
-%autopatch -p1
 
 %build
 %python_build
@@ -56,7 +55,7 @@
 
 %files %{python_files}
 %license COPYING
-%doc NEWS README.rst
+%doc NEWS README.md
 %{python_sitearch}/*
 
 %changelog

++++++ pylibacl-0.5.4.tar.gz -> pylibacl-0.6.0.tar.gz ++++++
++++ 3529 lines of diff (skipped)

Reply via email to