Skip to content

Commit 272d0c4

Browse files
hugovkgvanrossum
authored andcommitted
Running on Python 3.3 is no longer supported (#4152)
Closes #4036.
1 parent 6e7ccef commit 272d0c4

File tree

6 files changed

+12
-7
lines changed

6 files changed

+12
-7
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ language: python
33
# cache package wheels (1 cache per python version)
44
cache: pip
55
python:
6-
- "3.3"
76
- "3.4"
87
# Specifically request 3.5.1 because we need to be compatible with that.
98
- "3.5.1"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ See 'Development status' below.
6161
Requirements
6262
------------
6363

64-
You need Python 3.3 or later to run mypy. You can have multiple Python
64+
You need Python 3.4 or later to run mypy. You can have multiple Python
6565
versions (2.x and 3.x) installed on the same system without problems.
6666

6767
In Ubuntu, Mint and Debian you can install Python 3 like this:

docs/source/common_issues.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Can't install mypy using pip
1414

1515
If installation fails, you've probably hit one of these issues:
1616

17-
* Mypy needs Python 3.3 or later to run.
17+
* Mypy needs Python 3.4 or later to run.
1818
* You may have to run pip like this:
1919
``python3 -m pip install mypy``.
2020

docs/source/getting_started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Getting started
66
Installation
77
************
88

9-
Mypy requires Python 3.3 or later. Once you've `installed Python 3 <https://www.python.org/downloads/>`_,
9+
Mypy requires Python 3.4 or later. Once you've `installed Python 3 <https://www.python.org/downloads/>`_,
1010
you can install mypy with:
1111

1212
.. code-block:: text

docs/source/revision_history.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@ Revision history
33

44
List of major changes:
55

6+
- Upcoming
7+
* Publish ``mypy`` version 0.550 on PyPI.
8+
9+
* Running mypy now requires Python 3.4 or higher.
10+
However Python 3.3 is still valid for the target
11+
of the analysis (i.e. the ``--python-version`` flag).
12+
613
- October 2017
714
* Publish ``mypy`` version 0.540 on PyPI.
815

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
import os.path
66
import sys
77

8-
if sys.version_info < (3, 2, 0):
9-
sys.stderr.write("ERROR: You need Python 3.2 or later to use mypy.\n")
8+
if sys.version_info < (3, 4, 0):
9+
sys.stderr.write("ERROR: You need Python 3.4 or later to use mypy.\n")
1010
exit(1)
1111

1212
# This requires setuptools when building; setuptools is not needed
@@ -84,7 +84,6 @@ def run(self):
8484
'License :: OSI Approved :: MIT License',
8585
'Operating System :: POSIX',
8686
'Programming Language :: Python :: 3',
87-
'Programming Language :: Python :: 3.3',
8887
'Programming Language :: Python :: 3.4',
8988
'Programming Language :: Python :: 3.5',
9089
'Programming Language :: Python :: 3.6',

0 commit comments

Comments
 (0)