Skip to content

Commit 1202d14

Browse files
committed
Remove 2.6 from documentation and setup
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
1 parent e09e009 commit 1202d14

File tree

6 files changed

+12
-15
lines changed

6 files changed

+12
-15
lines changed

.travis.install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if [[ $RUN == nosetests ]]; then
1717
pip install jedi
1818
# translation specific dependencies
1919
pip install babel
20-
# Python 2.6 specific dependencies
20+
# Python 2.7 specific dependencies
2121
if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then
2222
# dependencies for crasher tests
2323
pip install Twisted urwid

bpython/repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ def startup(self):
436436
with io.open(filename, 'rt', encoding=encoding) as f:
437437
source = f.read()
438438
if not py3:
439-
# Python 2.6 and early 2.7.X need bytes.
439+
# Early Python 2.7.X need bytes.
440440
source = source.encode(encoding)
441441
self.interp.runsource(source, filename, 'exec', encode=False)
442442

doc/sphinx/source/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ the time of day.
1717
Getting your development environment set up
1818
-------------------------------------------
1919

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

2323
Using a virtual environment is probably a good idea. Create a virtual

doc/sphinx/source/releases.rst

Lines changed: 1 addition & 1 deletion
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.6, 2.7, 3.3, 3.4 and 3.5.
48+
* Runs under Python 2.7, 3.3, 3.4 and 3.5.
4949
* Save
5050
* Rewind
5151
* Pastebin

doc/sphinx/source/tips.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ 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.6, 2.7
25-
and the 3 series.
24+
You can of course add multiple aliases, so you can run bpython with 2.7 and the
25+
3 series.
2626

2727
.. note::
2828

setup.py

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -221,13 +221,12 @@ def initialize_options(self):
221221
'watch': ['watchdog'],
222222
'jedi': ['jedi'],
223223
# need requests[security] for SNI support (only before 2.7.7)
224-
':python_version == "2.6" or '
225-
'python_full_version == "2.7.0" or ' \
226-
'python_full_version == "2.7.1" or ' \
227-
'python_full_version == "2.7.2" or ' \
228-
'python_full_version == "2.7.3" or ' \
229-
'python_full_version == "2.7.4" or ' \
230-
'python_full_version == "2.7.5" or ' \
224+
':python_full_version == "2.7.0" or '
225+
'python_full_version == "2.7.1" or '
226+
'python_full_version == "2.7.2" or '
227+
'python_full_version == "2.7.3" or '
228+
'python_full_version == "2.7.4" or '
229+
'python_full_version == "2.7.5" or '
231230
'python_full_version == "2.7.6"': [
232231
'pyOpenSSL',
233232
'pyasn1',
@@ -254,8 +253,6 @@ def initialize_options(self):
254253
}
255254

256255
tests_require = []
257-
if sys.version_info[0] == 2 and sys.version_info[1] < 7:
258-
tests_require.append('unittest2')
259256
if (sys.version_info[0] == 2 or
260257
(sys.version_info[0] == 3 and sys.version_info[0] < 3)):
261258
tests_require.append('mock')

0 commit comments

Comments
 (0)