Skip to content

Remove support for EOL Python 3.3 #154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ matrix:
env:
- TOXENV=py27
- WITH_GCOV=1
- python: 3.3
env:
- TOXENV=py33
- WITH_GCOV=1
- python: 3.4
env:
- TOXENV=py34
Expand Down
2 changes: 1 addition & 1 deletion Doc/installing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Build prerequisites
The following software packages are required to be installed
on the local system when building python-ldap:

- `Python`_ version 2.7, or 3.3 or later including its development files
- `Python`_ version 2.7, or 3.4 or later including its development files
- C compiler corresponding to your Python version (on Linux, it is usually ``gcc``)
- `OpenLDAP`_ client libs version 2.4.11 or later;
it is not possible and not supported to build with prior versions.
Expand Down
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

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

if sys.version_info[0] >= 3:
from configparser import ConfigParser
Expand Down Expand Up @@ -91,7 +91,6 @@ class OpenLDAP2:
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
Expand Down Expand Up @@ -168,6 +167,6 @@ class OpenLDAP2:
'pyasn1_modules >= 0.1.5',
],
zip_safe=False,
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*',
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
test_suite = 'Tests',
)
7 changes: 4 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@

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

[testenv]
deps = coverage
passenv = WITH_GCOV
# - Enable BytesWarning
# - Turn all warnings into exceptions.
# - 'ignore:the imp module is deprecated' is required to ignore import of
# 'imp' in distutils. Python 3.3 and 3.4 use PendingDeprecationWarning.
# - 'ignore:the imp module is deprecated' is required to ignore import of 'imp'
# in distutils. Python < 3.6 use PendingDeprecationWarning; Python >= 3.6 use
# DeprecationWarning.
commands = {envpython} -bb -Werror \
"-Wignore:the imp module is deprecated:DeprecationWarning" \
"-Wignore:the imp module is deprecated:PendingDeprecationWarning" \
Expand Down
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