Skip to content

Commit a387f32

Browse files
committed
setup.py: remove python 3.4 and 3.5 support
The reason of this removal is the type hinting syntax introduced in python 3.6, which is added in the previous commit. Python 3.5 reached end of life in September of 2020, no longer receiving security fixes so users using it are encouraged to move forward.
1 parent ee0b1f6 commit a387f32

File tree

5 files changed

+33
-7
lines changed

5 files changed

+33
-7
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ubuntu-latest
2525
strategy:
2626
matrix:
27-
python-version: ['3.5', '3.6', '3.7', '3.8', '3.9', '3.10-dev']
27+
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10-dev']
2828

2929
steps:
3030
- uses: actions/checkout@v2

CHANGES.rst

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,30 @@
22
Release Notes
33
=============
44

5+
.. _Release Notes_1.0.1-6:
6+
7+
1.0.1-6
8+
=======
9+
10+
.. _Release Notes_1.0.1-6_New Features:
11+
12+
New Features
13+
------------
14+
15+
- Type hints updated to conform to 'mypy' type checking tool.
16+
Also, py.typed file is added as package data according to PEP 561.
17+
18+
19+
.. _Release Notes_1.0.1-6_Deprecation Notes:
20+
21+
Deprecation Notes
22+
-----------------
23+
24+
- Python 3.4 and 3.5 versions have been deprecated in order to support type
25+
hints in the source code. Users using 3.5 and earlier releases encouraged
26+
to upgrade to later versions. Node that 3.5 reached EOL in September of 2020.
27+
28+
529
.. _Release Notes_1.0.1:
630

731
1.0.1
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
deprecations:
3+
- |
4+
Python 3.4 and 3.5 versions have been deprecated in order to support type
5+
hints in the source code. Users using 3.5 and earlier releases encouraged
6+
to upgrade to later versions. Please node that 3.5 reached EOL in September
7+
of 2020 and no longer receives security fixes.

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717
entry_points={"pytest11": ["pytest_httpserver = pytest_httpserver.pytest_plugin"]},
1818
long_description=DESCRIPTION,
1919
long_description_content_type="text/markdown",
20-
python_requires=">=3.4",
20+
python_requires=">=3.6",
2121
install_requires=[
22-
"typing;python_version<'3.5'",
2322
"werkzeug"
2423
],
2524
extras_require={
@@ -54,8 +53,6 @@
5453
"Operating System :: OS Independent",
5554
"Programming Language :: Python",
5655
"Programming Language :: Python :: 3",
57-
"Programming Language :: Python :: 3.4",
58-
"Programming Language :: Python :: 3.5",
5956
"Programming Language :: Python :: 3.6",
6057
"Programming Language :: Python :: 3.7",
6158
"Programming Language :: Python :: 3.8",

tox.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
[tox]
22
envlist =
3-
py34
4-
py35
53
py36
64
py36-env
75
py37

0 commit comments

Comments
 (0)