Skip to content

Commit 07f4fe3

Browse files
committed
Remove Python 2.7 from the documentation
1 parent ad335eb commit 07f4fe3

File tree

4 files changed

+11
-29
lines changed

4 files changed

+11
-29
lines changed

README.rst

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -100,23 +100,10 @@ Dependencies
100100
* curtsies >= 0.3.0
101101
* greenlet
102102
* Sphinx != 1.1.2 (optional, for the documentation)
103-
* mock (optional, for the testsuite)
104103
* babel (optional, for internationalization)
105104
* watchdog (optional, for monitoring imported modules for changes)
106105
* jedi (optional, for experimental multiline completion)
107106

108-
Python 2 before 2.7.7
109-
---------------------
110-
If you are using Python 2 before 2.7.7, the following dependency is also
111-
required:
112-
113-
* requests[security]
114-
115-
cffi
116-
----
117-
If you have problems installing cffi, which is needed by OpenSSL, please take a
118-
look at `cffi docs`_.
119-
120107
bpython-urwid
121108
-------------
122109
``bpython-urwid`` requires the following additional packages:
@@ -188,7 +175,6 @@ may be interested to try.
188175
.. _ipython: https://ipython.org/
189176
.. _homepage: http://www.bpython-interpreter.org
190177
.. _full documentation: http://docs.bpython-interpreter.org/
191-
.. _cffi docs: https://cffi.readthedocs.org/en/release-0.8/#macos-x
192178
.. _issues tracker: http://github.com/bpython/bpython/issues/
193179
.. _pip: https://pip.pypa.io/en/latest/index.html
194180
.. _project homepage: http://bpython-interpreter.org

doc/sphinx/source/contributing.rst

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ the time of day.
1717
Getting your development environment set up
1818
-------------------------------------------
1919

20-
bpython supports Python 2.7, 3.6 and newer. The code is compatible with all
21-
supported versions without the need to run post processing like `2to3`.
20+
bpython supports Python 3.6 and newer. The code is compatible with all
21+
supported versions.
2222

2323
Using a virtual environment is probably a good idea. Create a virtual
2424
environment with
@@ -47,7 +47,7 @@ Next install your development copy of bpython and its dependencies:
4747
# install optional dependencies
4848
$ pip install watchdog urwid
4949
# development dependencies
50-
$ pip install sphinx mock nose
50+
$ pip install sphinx nose
5151
<modify a file in some way>
5252
# this runs your modified copy of bpython!
5353
$ bpython
@@ -60,14 +60,12 @@ Next install your development copy of bpython and its dependencies:
6060

6161
.. code-block:: bash
6262
63-
$ sudp apt-get install python-greenlet python-pygments python-requests
64-
$ sudo apt-get install python-watchdog python-urwid
65-
$ sudo apt-get install python-sphinx python-mock python-nose
63+
$ sudp apt install python3-greenlet python3-pygments python3-requests
64+
$ sudo apt install python3-watchdog python3-urwid
65+
$ sudo apt install python3-sphinx python3-nose
6666
67-
Remember to replace ``python`` with ``python3`` in every package name if
68-
you intend to develop with Python 3. You also need to run `virtualenv` with
69-
`--system-site-packages` packages, if you want to use the packages provided
70-
by your distribution.
67+
You also need to run `virtualenv` with `--system-site-packages` packages, if
68+
you want to use the packages provided by your distribution.
7169

7270
.. note::
7371

@@ -76,7 +74,7 @@ Next install your development copy of bpython and its dependencies:
7674

7775
.. code-block:: bash
7876
79-
$ sudo apt-get install gcc python-dev
77+
$ sudo apt install gcc python3-dev
8078
8179
As a first dev task, I recommend getting `bpython` to print your name every
8280
time you hit a specific key.

doc/sphinx/source/releases.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ A checklist to perform some manual tests before a release:
4545

4646
Check that all of the following work before a release:
4747

48-
* Runs under Python 2.7, 3.4, 3.5 and 3.6.
48+
* Runs under Python 3.6 - 3.9
4949
* Save
5050
* Rewind
5151
* Pastebin
@@ -59,4 +59,3 @@ Check that all of the following work before a release:
5959
* Command line arguments correctly passed to scripts
6060
* Delegate to standard Python appropriately
6161
* Update CHANGELOG
62-
* Update __version__

doc/sphinx/source/tips.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ equivalent file.
2121
Where the `~/python/bpython`-path is the path to where your bpython source code
2222
resides.
2323

24-
You can of course add multiple aliases, so you can run bpython with 2.7 and the
25-
3 series.
24+
You can of course add multiple aliases.
2625

2726
.. note::
2827

0 commit comments

Comments
 (0)