Skip to content

Commit bf666e9

Browse files
committed
Prepare a new release
Disable Python 3.6, 3.7 CI workflow as it's supported on Ubuntu 22.04 Update GH Workflows.
1 parent 464fdda commit bf666e9

File tree

10 files changed

+39
-20
lines changed

10 files changed

+39
-20
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
python-version:
23-
- "3.7"
2423
- "3.8"
2524
- "3.9"
2625
- "3.10"
@@ -31,9 +30,6 @@ jobs:
3130
- "pypy3.10"
3231
image:
3332
- "ubuntu-22.04"
34-
include:
35-
- python-version: "3.6"
36-
image: "ubuntu-20.04"
3733
steps:
3834
- name: Checkout
3935
uses: "actions/checkout@v4"

.github/workflows/tox-fedora.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,16 @@ jobs:
2121
strategy:
2222
matrix:
2323
tox_env:
24-
- py36
25-
- py37
2624
- py38
2725
- py39
2826
- py310
2927
- py311
3028
- py312
3129
- py313
32-
- c90-py36
33-
- c90-py37
3430
- py3-nosasltls
3531
- py3-trace
3632
- pypy3
3733
- doc
3834

3935
# Use GitHub's Linux Docker host
40-
runs-on: ubuntu-20.04
36+
runs-on: ubuntu-22.04

CHANGES

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
Released 3.4.5 2025-10-10
2+
3+
Security fixes:
4+
* CVE-2025-61911 (GHSA-r7r6-cc7p-4v5m): Enforce ``str`` input in
5+
``ldap.filter.escape_filter_chars`` with ``escape_mode=1``; ensure proper
6+
escaping. (thanks to lukas-eu)
7+
* CVE-2025-61912 (GHSA-p34h-wq7j-h5v6): Correct NUL escaping in
8+
``ldap.dn.escape_dn_chars`` to ``\00`` per RFC 4514. (thanks to aradona91)
9+
10+
Fixes:
11+
* ReconnectLDAPObject now properly reconnects on UNAVAILABLE, CONNECT_ERROR
12+
and TIMEOUT exceptions (previously only SERVER_DOWN), fixing reconnection
13+
issues especially during server restarts
14+
* Fixed syncrepl.py to use named constants instead of raw decimal values
15+
for result types
16+
* Fixed error handling in SearchNoOpMixIn to prevent a undefined variable error
17+
18+
Tests:
19+
* Added comprehensive reconnection test cases including concurrent operation
20+
handling and server restart scenarios
21+
22+
Doc/
23+
* Updated installation docs and fixed various documentation typos
24+
* Added ReadTheDocs configuration file
25+
26+
Infrastructure:
27+
* Add testing and document support for Python 3.13
28+
29+
----------------------------------------------------------------
130
Released 3.4.4 2022-11-17
231

332
Fixes:

Lib/ldap/cidict.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def strlist_minus(a,b):
8585
a,b are supposed to be lists of case-insensitive strings.
8686
"""
8787
warnings.warn(
88-
"strlist functions are deprecated and will be removed in 3.5",
88+
"strlist functions are deprecated and will be removed in 4.0",
8989
category=DeprecationWarning,
9090
stacklevel=2,
9191
)
@@ -105,7 +105,7 @@ def strlist_intersection(a,b):
105105
Return intersection of two lists of case-insensitive strings a,b.
106106
"""
107107
warnings.warn(
108-
"strlist functions are deprecated and will be removed in 3.5",
108+
"strlist functions are deprecated and will be removed in 4.0",
109109
category=DeprecationWarning,
110110
stacklevel=2,
111111
)
@@ -125,7 +125,7 @@ def strlist_union(a,b):
125125
Return union of two lists of case-insensitive strings a,b.
126126
"""
127127
warnings.warn(
128-
"strlist functions are deprecated and will be removed in 3.5",
128+
"strlist functions are deprecated and will be removed in 4.0",
129129
category=DeprecationWarning,
130130
stacklevel=2,
131131
)

Lib/ldap/ldapobject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ class ReconnectLDAPObject(SimpleLDAPObject):
833833
834834
This class also implements the pickle protocol.
835835
836-
.. versionadded:: 3.5
836+
.. versionadded:: 3.4.5
837837
The exceptions :py:exc:`ldap.SERVER_DOWN`, :py:exc:`ldap.UNAVAILABLE`, :py:exc:`ldap.CONNECT_ERROR` and
838838
:py:exc:`ldap.TIMEOUT` (configurable via :py:attr:`_reconnect_exceptions`) now trigger a reconnect.
839839
"""

Lib/ldap/pkginfo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
meta attributes for packaging which does not import any dependencies
33
"""
4-
__version__ = '3.4.4'
4+
__version__ = '3.4.5'
55
__author__ = 'python-ldap project'
66
__license__ = 'Python style'

Lib/ldapurl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
See https://www.python-ldap.org/ for details.
55
"""
66

7-
__version__ = '3.4.4'
7+
__version__ = '3.4.5'
88

99
__all__ = [
1010
# constants

Lib/ldif.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
See https://www.python-ldap.org/ for details.
55
"""
6-
__version__ = '3.4.4'
6+
__version__ = '3.4.5'
77

88
__all__ = [
99
# constants

Lib/slapdtest/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
See https://www.python-ldap.org/ for details.
55
"""
66

7-
__version__ = '3.4.4'
7+
__version__ = '3.4.5'
88

99
from slapdtest._slapdtest import SlapdObject, SlapdTestCase, SysLogHandler
1010
from slapdtest._slapdtest import requires_ldapi, requires_sasl, requires_tls

tox.ini

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@
55

66
[tox]
77
# Note: when updating Python versions, also change setup.py and .github/worlflows/*
8-
envlist = py{36,37,38,39,310,311,312},c90-py{36,37},py3-nosasltls,doc,py3-trace,pypy3.9
8+
envlist = py{38,39,310,311,312,313},py3-nosasltls,doc,py3-trace,pypy3.9
99
minver = 1.8
1010

1111
[gh-actions]
1212
python =
13-
3.6: py36
14-
3.7: py37
1513
3.8: py38, doc, py3-nosasltls
1614
3.9: py39, py3-trace
1715
3.10: py310

0 commit comments

Comments
 (0)