Skip to content

Commit cb09cd9

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 af68bfa commit cb09cd9

File tree

8 files changed

+31
-18
lines changed

8 files changed

+31
-18
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 5 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"
@@ -29,9 +28,6 @@ jobs:
2928
- "pypy3.9"
3029
image:
3130
- "ubuntu-22.04"
32-
include:
33-
- python-version: "3.6"
34-
image: "ubuntu-20.04"
3531
steps:
3632
- name: Checkout
3733
uses: "actions/checkout@v4"
@@ -43,7 +39,7 @@ jobs:
4339
- name: Disable AppArmor
4440
run: sudo aa-disable /usr/sbin/slapd
4541
- name: Set up Python ${{ matrix.python-version }}
46-
uses: actions/setup-python@v4
42+
uses: actions/setup-python@v5
4743
with:
4844
python-version: ${{ matrix.python-version }}
4945
allow-prereleases: true

.github/workflows/tox-fedora.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,18 @@ jobs:
99
tox_test:
1010
name: Tox env "${{matrix.tox_env}}" on Fedora
1111
steps:
12-
- uses: actions/checkout@v2
12+
- uses: actions/checkout@v4
1313
- name: Run Tox tests
1414
uses: fedora-python/tox-github-action@main
1515
with:
1616
tox_env: ${{ matrix.tox_env }}
1717
dnf_install: >
1818
@c-development openldap-devel python3-devel
1919
openldap-servers openldap-clients lcov clang-analyzer valgrind
20-
enchant
20+
enchant python3-setuptools
2121
strategy:
2222
matrix:
2323
tox_env:
24-
- py36
25-
- py37
2624
- py38
2725
- py39
2826
- py310
@@ -36,4 +34,4 @@ jobs:
3634
- doc
3735

3836
# Use GitHub's Linux Docker host
39-
runs-on: ubuntu-20.04
37+
runs-on: ubuntu-22.04

CHANGES

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
Released 3.4.5 2025-10-08
2+
3+
Fixes:
4+
* ReconnectLDAPObject now properly reconnects on UNAVAILABLE, CONNECT_ERROR
5+
and TIMEOUT exceptions (previously only SERVER_DOWN), fixing reconnection
6+
issues especially during server restarts
7+
* Fixed syncrepl.py to use named constants instead of raw decimal values
8+
for result types
9+
* Fixed error handling in SearchNoOpMixIn to prevent a undefined variable error
10+
11+
Tests:
12+
* Added comprehensive reconnection test cases including concurrent operation
13+
handling and server restart scenarios
14+
15+
Doc/
16+
* Updated installation docs and fixed various documentation typos
17+
* Added ReadTheDocs configuration file
18+
19+
20+
----------------------------------------------------------------
121
Released 3.4.4 2022-11-17
222

323
Fixes:

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: 3 additions & 4 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},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
@@ -20,7 +18,7 @@ python =
2018
pypy3.9: pypy3.9
2119

2220
[testenv]
23-
deps =
21+
deps = setuptools
2422
passenv = WITH_GCOV
2523
# - Enable BytesWarning
2624
# - Turn all warnings into exceptions.
@@ -99,6 +97,7 @@ deps =
9997
markdown
10098
sphinx
10199
sphinxcontrib-spelling
100+
setuptools
102101
commands =
103102
{envpython} setup.py check --restructuredtext --metadata --strict
104103
{envpython} -m markdown README -f {envtmpdir}/README.html

0 commit comments

Comments
 (0)