Browse Source

Switch to python-ldap again

pyldap is meanwhile an outdated and deprecated fork, and the
Python 3.x compatibility fixes have been merged back to python-ldap.

Change-Id: I4b793a9a72b84005a57cc1e3f6f89a483d7eda5c
Dirk Mueller 9 months ago
parent
commit
f1d30bce9b
3 changed files with 5 additions and 12 deletions
  1. 3
    10
      README.rst
  2. 1
    1
      lower-constraints.txt
  3. 1
    1
      requirements.txt

+ 3
- 10
README.rst View File

@@ -1,7 +1,7 @@
1 1
 ldappool
2 2
 ========
3 3
 
4
-A simple connector pool for pyldap.
4
+A simple connector pool for python-ldap.
5 5
 
6 6
 The pool keeps LDAP connectors alive and let you reuse them,
7 7
 drastically reducing the time spent to initiate a ldap connection.
@@ -13,7 +13,7 @@ The pool has useful features like:
13 13
 - configurable max lifetime for connectors
14 14
 - a context manager to simplify acquiring and releasing a connector
15 15
 
16
-**You need pyldap in order to use this library**
16
+**You need python-ldap in order to use this library**
17 17
 
18 18
 Quickstart
19 19
 ::::::::::
@@ -30,7 +30,7 @@ context manager with the *connection* method::
30 30
 
31 31
 
32 32
 The connector returned by *connection* is a LDAPObject, that's binded to the
33
-server. See https://github.com/pyldap/pyldap/ for details on how to use a connector.
33
+server. See https://pypi.org/project/python-ldap/ for details on how to use a connector.
34 34
 
35 35
 
36 36
 ConnectionManager options
@@ -58,10 +58,3 @@ The **connection** method takes two options:
58 58
   **default: None**
59 59
 - **passwd**: password used to connect. If None, uses the pool default's.
60 60
   **default: None**
61
-
62
-
63
-History
64
-:::::::
65
-
66
-Prior to v2.0.0 ``ldappool`` required ``python-ldap``. As of v2.0.0 this
67
-library now required ``pyldap``, a python 3 compatible fork of ``python-ldap``.

+ 1
- 1
lower-constraints.txt View File

@@ -19,7 +19,7 @@ pep257==0.7.0
19 19
 pep8==1.5.7
20 20
 pyflakes==0.8.1
21 21
 Pygments==2.2.0
22
-pyldap==2.4.20
22
+python-ldap==3.0.0
23 23
 python-mimeparse==1.6.0
24 24
 python-subunit==1.0.0
25 25
 pytz==2013.6

+ 1
- 1
requirements.txt View File

@@ -1,4 +1,4 @@
1 1
 # The order of packages is significant, because pip processes them in the order
2 2
 # of appearance. Changing the order has an impact on the overall integration
3 3
 # process, which may cause wedges in the gate later.
4
-pyldap>=2.4.20 # PSF
4
+python-ldap>=3.0.0 # PSF

Loading…
Cancel
Save