Skip to content

Commit c49250c

Browse files
committed
Remove mentions of Python 2 from docs & Makefile
1 parent 3ff7aa8 commit c49250c

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

Doc/installing.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Alpine
130130

131131
Packages for building::
132132

133-
# apk add build-base openldap-dev python2-dev python3-dev
133+
# apk add build-base openldap-dev python3-dev
134134

135135
CentOS
136136
------
@@ -145,12 +145,12 @@ Debian
145145

146146
Packages for building and testing::
147147

148-
# apt-get install build-essential python3-dev python2.7-dev \
148+
# apt-get install build-essential python3-dev \
149149
libldap2-dev libsasl2-dev slapd ldap-utils tox \
150150
lcov valgrind
151-
151+
152152
.. note::
153-
153+
154154
On older releases ``tox`` was called ``python-tox``.
155155

156156
Fedora
@@ -159,7 +159,7 @@ Fedora
159159
Packages for building and testing::
160160

161161
# dnf install "@C Development Tools and Libraries" openldap-devel \
162-
python2-devel python3-devel python3-tox \
162+
python3-devel python3-tox \
163163
lcov clang-analyzer valgrind
164164

165165
.. note::

Doc/sample_workflow.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ This will run tests on all supported versions of Python that you have
6161
installed, skipping the ones you don't.
6262
To run a subset of test environments, run for example::
6363

64-
(__venv__)$ tox -e py27,py36
64+
(__venv__)$ tox -e py36,py39
6565

6666
In addition to ``pyXY`` environments, we have extra environments
6767
for checking things independent of the Python version:
6868

6969
* ``doc`` checks syntax and spelling of the documentation
7070
* ``coverage-report`` generates a test coverage report for Python code.
71-
It must be used last, e.g. ``tox -e py27,py36,coverage-report``.
72-
* ``py2-nosasltls`` and ``py3-nosasltls`` check functionality without
71+
It must be used last, e.g. ``tox -e py36,py39,coverage-report``.
72+
* ``py3-nosasltls`` check functionality without
7373
SASL and TLS bindings compiled in.
7474

7575

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ lcov-clean:
3535
if [ -d build ]; then find build -name '*.gc??' -delete; fi
3636

3737
lcov-coverage:
38-
WITH_GCOV=1 tox -e py27,py36
38+
WITH_GCOV=1 tox -e py36
3939

4040
$(LCOV_INFO): build
4141
lcov --capture --directory build --output-file $(LCOV_INFO)

0 commit comments

Comments
 (0)