Skip to content

Commit 6e75fc4

Browse files
jdufresneencukou
authored andcommitted
Remove support for EOL Python 3.3
Python 3.3 is end of life. It is no longer receiving bug fixes including for security issues. It has been EOL since 2017-09-29. For a library focused on authentication, supporting environments that are not receiving security updates sends the wrong message. For additional details, see: https://devguide.python.org/#status-of-python-branches Reduces testing and maintenance resources. python-ldap#154
1 parent 3ae51ed commit 6e75fc4

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ matrix:
1818
env:
1919
- TOXENV=py27
2020
- WITH_GCOV=1
21-
- python: 3.3
22-
env:
23-
- TOXENV=py33
24-
- WITH_GCOV=1
2521
- python: 3.4
2622
env:
2723
- TOXENV=py34

Doc/installing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ Build prerequisites
120120
The following software packages are required to be installed
121121
on the local system when building python-ldap:
122122

123-
- `Python`_ version 2.7, or 3.3 or later including its development files
123+
- `Python`_ version 2.7, or 3.4 or later including its development files
124124
- C compiler corresponding to your Python version (on Linux, it is usually ``gcc``)
125125
- `OpenLDAP`_ client libs version 2.4.11 or later;
126126
it is not possible and not supported to build with prior versions.

setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
if sys.version_info[0] == 2 and sys.version_info[1] < 7:
1111
raise RuntimeError('This software requires Python 2.7 or 3.x.')
12-
if sys.version_info[0] >= 3 and sys.version_info < (3, 3):
13-
raise RuntimeError('The C API from Python 3.3+ is required.')
12+
if sys.version_info[0] >= 3 and sys.version_info < (3, 4):
13+
raise RuntimeError('The C API from Python 3.4+ is required.')
1414

1515
if sys.version_info[0] >= 3:
1616
from configparser import ConfigParser
@@ -91,7 +91,6 @@ class OpenLDAP2:
9191
'Programming Language :: Python :: 2',
9292
'Programming Language :: Python :: 2.7',
9393
'Programming Language :: Python :: 3',
94-
'Programming Language :: Python :: 3.3',
9594
'Programming Language :: Python :: 3.4',
9695
'Programming Language :: Python :: 3.5',
9796
'Programming Language :: Python :: 3.6',
@@ -168,6 +167,6 @@ class OpenLDAP2:
168167
'pyasn1_modules >= 0.1.5',
169168
],
170169
zip_safe=False,
171-
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*',
170+
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
172171
test_suite = 'Tests',
173172
)

tox.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@
55

66
[tox]
77
# Note: when updating Python versions, also change setup.py and .travis.yml
8-
envlist = py27,py33,py34,py35,py36,{py2,py3}-nosasltls,doc,coverage-report
8+
envlist = py27,py34,py35,py36,{py2,py3}-nosasltls,doc,coverage-report
99
minver = 1.8
1010

1111
[testenv]
1212
deps = coverage
1313
passenv = WITH_GCOV
1414
# - Enable BytesWarning
1515
# - Turn all warnings into exceptions.
16-
# - 'ignore:the imp module is deprecated' is required to ignore import of
17-
# 'imp' in distutils. Python 3.3 and 3.4 use PendingDeprecationWarning.
16+
# - 'ignore:the imp module is deprecated' is required to ignore import of 'imp'
17+
# in distutils. Python < 3.6 use PendingDeprecationWarning; Python >= 3.6 use
18+
# DeprecationWarning.
1819
commands = {envpython} -bb -Werror \
1920
"-Wignore:the imp module is deprecated:DeprecationWarning" \
2021
"-Wignore:the imp module is deprecated:PendingDeprecationWarning" \

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy