Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/py-ldap py-ldap: updated to 3.3.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/32cfddefee57
branches:  trunk
changeset: 434557:32cfddefee57
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Jun 18 16:58:46 2020 +0000

description:
py-ldap: updated to 3.3.0

Release 3.3.0:

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

diffstat:

 databases/py-ldap/Makefile |   5 ++---
 databases/py-ldap/PLIST    |   5 ++++-
 databases/py-ldap/distinfo |  10 +++++-----
 3 files changed, 11 insertions(+), 9 deletions(-)

diffs (49 lines):

diff -r 95b3959a3191 -r 32cfddefee57 databases/py-ldap/Makefile
--- a/databases/py-ldap/Makefile        Thu Jun 18 16:55:01 2020 +0000
+++ b/databases/py-ldap/Makefile        Thu Jun 18 16:58:46 2020 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.85 2020/03/27 16:34:57 gutteridge Exp $
+# $NetBSD: Makefile,v 1.86 2020/06/18 16:58:46 adam Exp $
 
-DISTNAME=      python-ldap-3.2.0
+DISTNAME=      python-ldap-3.3.0
 PKGNAME=       ${DISTNAME:S/python/${PYPKGPREFIX}/}
-PKGREVISION=   2
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-ldap/}
 
diff -r 95b3959a3191 -r 32cfddefee57 databases/py-ldap/PLIST
--- a/databases/py-ldap/PLIST   Thu Jun 18 16:55:01 2020 +0000
+++ b/databases/py-ldap/PLIST   Thu Jun 18 16:58:46 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.20 2018/10/23 08:58:27 adam Exp $
+@comment $NetBSD: PLIST,v 1.21 2020/06/18 16:58:46 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -72,6 +72,9 @@
 ${PYSITELIB}/ldap/extop/dds.py
 ${PYSITELIB}/ldap/extop/dds.pyc
 ${PYSITELIB}/ldap/extop/dds.pyo
+${PYSITELIB}/ldap/extop/passwd.py
+${PYSITELIB}/ldap/extop/passwd.pyc
+${PYSITELIB}/ldap/extop/passwd.pyo
 ${PYSITELIB}/ldap/filter.py
 ${PYSITELIB}/ldap/filter.pyc
 ${PYSITELIB}/ldap/filter.pyo
diff -r 95b3959a3191 -r 32cfddefee57 databases/py-ldap/distinfo
--- a/databases/py-ldap/distinfo        Thu Jun 18 16:55:01 2020 +0000
+++ b/databases/py-ldap/distinfo        Thu Jun 18 16:58:46 2020 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.44 2020/03/27 16:34:57 gutteridge Exp $
+$NetBSD: distinfo,v 1.45 2020/06/18 16:58:47 adam Exp $
 
-SHA1 (python-ldap-3.2.0.tar.gz) = f0658ddeffd4c059bb804890b80c00d62b70be60
-RMD160 (python-ldap-3.2.0.tar.gz) = 846bf38cb166f478f2cf401f889ad7ecd39b05c5
-SHA512 (python-ldap-3.2.0.tar.gz) = ef2833739fd57ad26d97ae5dba3bca8a47e770ff3f113d06a5bed0841f8fcbbe6cd102e75c753dfff48f5f6041f46a91c6166f3bb9ca44ef9bd643c0666c6b23
-Size (python-ldap-3.2.0.tar.gz) = 367645 bytes
+SHA1 (python-ldap-3.3.0.tar.gz) = 73292c510313c67eed193ae48d41b187b33bc0fd
+RMD160 (python-ldap-3.3.0.tar.gz) = 5d3c5ffe47b9e5ad4e667155b6fe29c9be173a68
+SHA512 (python-ldap-3.3.0.tar.gz) = 66ae722098b9e19d4e1f8341c6714e371769e163cb2576edf034495933971f13ce1ca1585e5c9cb74c7659d988a69f83a07687a228f3a6667148ccd28c387374
+Size (python-ldap-3.3.0.tar.gz) = 379118 bytes
 SHA1 (patch-Makefile) = ef130a8711a94cc070f11baf0d481bbc69ff3910



Home | Main Index | Thread Index | Old Index