e26e08e7cb
- Update to 0.7.3 * This is a test-only changes release, removing some very old testing for reference counts, introduced in 2012, but which stopped working with Python 3.14 as it changed reference counting by introducing optimizations in some cases. No need to upgrade unless you want to make sure the test suite passes on 3.14, and no real failures are hidden by the broken reference testing. * Additionally, the release enables CI on Python 3.14, thanks Marcin Zajączkowski!
Hans-Peter Jansen2025-08-06 11:04:14 +00:00
ce5c5594ef
- Update to 0.7.2 * Single-bugfix release: fixed the typing stub module. Nothing exercised it, and having been generated with pre-3.6 stubgen, it failed to work on modern versions. No tests failed (should add some), but the doc build by Sphinx failed accidentally since the failure to import (which was ignored) led to a missing title for the module, which Sphinx complained about. Quite funny :)
Markéta Machová2025-04-10 13:49:32 +00:00
05957d0d34
- Update to 0.7.1 * Minor version, with a few test improvements, and updated documentation building dependencies. No user-visible changes otherwise.
Matej Cepl2025-02-21 21:30:56 +00:00
6dbb733fa1
Accepting request 1137452 from devel:languages:python
Ana Guerrero2024-01-08 22:44:49 +00:00
d3966bddf5
- update to 0.7.0: * Important: Python 3.7 is the minimum supported version, due to difficulty of testing old releases, and the fact that everything older has been deprecated a long time ago (e.g. 3.6 at the end of 2021). * Improve error handling in some corner cases (not expected to have any real-life impact, but who knows). * Improved testing coverage and test infrastructure. * Modernise parts of the C code based on recent Python version * guidelines. * Add a simple security policy and contribution guidelines. - apply a manually merged version of - Make test suite pass under FreeBSD, which has a stricter behaviour with regards to invalid ACLs (which we do exercise - No visible changes release: just fix tests when running under
Dirk Mueller2024-01-07 21:38:40 +00:00
872cc55dc1
- 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
Dirk Mueller2022-03-26 19:55:28 +00:00
9ea33d8ff3
- Update to 0.5.4: * Switch to python3 interpreter * minor documentation improvements - Switch to singlespec
Tomáš Chvátal
2020-01-09 14:15:10 +00:00