From 27d629b472d7e358d369b9fd83ac00cd932667af6aa2dab5b5605a598582d729 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 28 Sep 2020 06:36:33 +0000 Subject: [PATCH] Accepting request 838140 from home:firstyear:branches:devel:languages:python - update to upstream release 3.3.1: Highlights: * ``LDAPError`` now contains additional fields, such as ctrls, result, msgid * ``passwd_s`` can now extract the newly generated password * LDAP connections can now be made from a file descriptor This release is tested on Python 3.8, and the beta of Python 3.9. The following undocumented functions are deprecated and scheduled for removal: - ``ldap.cidict.strlist_intersection`` - ``ldap.cidict.strlist_minus`` - ``ldap.cidict.strlist_union`` Modules/ * Ensure ReconnectLDAPObject is not left in an inconsistent state after a reconnection timeout * Syncrepl now correctly parses SyncInfoMessage when the message is a syncIdSet * Release GIL around global get/set option call * Do not leak serverctrls in result functions * Don't overallocate memory in attrs_from_List() * Fix thread support check for Python 3 * With OpenLDAP 2.4.48, use the new header openldap.h Lib/ * Fix some edge cases regarding quoting in the schema tokenizer * Fix escaping a single space in ldap.escape_dn_chars * Fix string formatting in ldap.compare_ext_s * Prefer iterating dict instead of calling dict.keys() Doc/ * Clarify the relationship between initialize() and LDAPObject() * Improve documentation of TLS options * Update FAQ to include Samba AD-DC error message "Operation unavailable without authentication" * Fix several incorrect examples and demos OBS-URL: https://build.opensuse.org/request/show/838140 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ldap?expand=0&rev=123 --- python-ldap-3.1.0.tar.gz | 3 --- python-ldap-3.3.1.tar.gz | 3 +++ python-ldap.changes | 53 ++++++++++++++++++++++++++++++++++++++++ python-ldap.spec | 4 +-- 4 files changed, 58 insertions(+), 5 deletions(-) delete mode 100644 python-ldap-3.1.0.tar.gz create mode 100644 python-ldap-3.3.1.tar.gz diff --git a/python-ldap-3.1.0.tar.gz b/python-ldap-3.1.0.tar.gz deleted file mode 100644 index aa04696..0000000 --- a/python-ldap-3.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:41975e79406502c092732c57ef0c2c2eb318d91e8e765f81f5d4ab6c1db727c5 -size 366019 diff --git a/python-ldap-3.3.1.tar.gz b/python-ldap-3.3.1.tar.gz new file mode 100644 index 0000000..c17e71a --- /dev/null +++ b/python-ldap-3.3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4711cacf013e298754abd70058ccc995758177fb425f1c2d30e71adfc1d00aa5 +size 379810 diff --git a/python-ldap.changes b/python-ldap.changes index 8dd190d..8d8382f 100644 --- a/python-ldap.changes +++ b/python-ldap.changes @@ -1,3 +1,56 @@ +------------------------------------------------------------------- +Mon Sep 28 02:59:28 UTC 2020 - William Brown + +- update to upstream release 3.3.1: + +Highlights: +* ``LDAPError`` now contains additional fields, such as ctrls, result, msgid +* ``passwd_s`` can now extract the newly generated password +* LDAP connections can now be made from a file descriptor + +This release is tested on Python 3.8, and the beta of Python 3.9. + +The following undocumented functions are deprecated and scheduled for removal: +- ``ldap.cidict.strlist_intersection`` +- ``ldap.cidict.strlist_minus`` +- ``ldap.cidict.strlist_union`` + +Modules/ +* Ensure ReconnectLDAPObject is not left in an inconsistent state after + a reconnection timeout +* Syncrepl now correctly parses SyncInfoMessage when the message is a syncIdSet +* Release GIL around global get/set option call +* Do not leak serverctrls in result functions +* Don't overallocate memory in attrs_from_List() +* Fix thread support check for Python 3 +* With OpenLDAP 2.4.48, use the new header openldap.h + +Lib/ +* Fix some edge cases regarding quoting in the schema tokenizer +* Fix escaping a single space in ldap.escape_dn_chars +* Fix string formatting in ldap.compare_ext_s +* Prefer iterating dict instead of calling dict.keys() + +Doc/ +* Clarify the relationship between initialize() and LDAPObject() +* Improve documentation of TLS options +* Update FAQ to include Samba AD-DC error message + "Operation unavailable without authentication" +* Fix several incorrect examples and demos + (but note that these are not yet tested) +* Update Debian installation instructions for Debian Buster +* Typo fixes in docs and docstrings + +Test/ +* Test and document error cases in ldap.compare_s +* Test if reconnection is done after connection loss +* Make test certificates valid for the far future +* Use slapd -Tt instead of slaptest + +Infrastructure: +* Mark the LICENCE file as a license for setuptools +* Use "unittest discover" rather than "setup.py test" to run tests + ------------------------------------------------------------------- Mon Dec 10 12:23:48 UTC 2018 - Tomáš Chvátal diff --git a/python-ldap.spec b/python-ldap.spec index b781832..79f547a 100644 --- a/python-ldap.spec +++ b/python-ldap.spec @@ -1,7 +1,7 @@ # # spec file for package python-ldap # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ldap -Version: 3.1.0 +Version: 3.3.1 Release: 0 Summary: Python LDAP interface License: Python-2.0