Skip to content

Commit f6c0619

Browse files
committed
Disable requests[security] and remove 3.5 support references
1 parent 33cf965 commit f6c0619

File tree

7 files changed

+14
-8
lines changed

7 files changed

+14
-8
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9]
12+
python-version: [2.7, 3.6, 3.7, 3.8, 3.9]
1313
os: [ubuntu-18.04, macOS-latest, windows-latest]
1414
include:
1515
# pypy3 on Mac OS currently fails trying to compile

HISTORY.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ dev
2424

2525
Python2 still depends upon the `chardet` module.
2626

27+
**Deprecations**
28+
29+
- The `requests[security]` extra has been converted to a no-op install.
30+
PyOpenSSL is no longer the recommended secure option for Requests.
31+
32+
- Requests has officially dropped support for Python 3.5.
33+
2734
2.25.1 (2020-12-16)
2835
-------------------
2936

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Requests is available on PyPI:
3333
$ python -m pip install requests
3434
```
3535

36-
Requests officially supports Python 2.7 & 3.5+.
36+
Requests officially supports Python 2.7 & 3.6+.
3737

3838
## Supported Features & Best–Practices
3939

docs/community/faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Chris Adams gave an excellent summary on
5555
Python 3 Support?
5656
-----------------
5757

58-
Yes! Requests officially supports Python 2.7 & 3.5+ and PyPy.
58+
Yes! Requests officially supports Python 2.7 & 3.6+ and PyPy.
5959

6060
Python 2 Support?
6161
-----------------

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Requests is ready for today's web.
6868
- Chunked Requests
6969
- ``.netrc`` Support
7070

71-
Requests officially supports Python 2.7 & 3.5+, and runs great on PyPy.
71+
Requests officially supports Python 2.7 & 3.6+, and runs great on PyPy.
7272

7373

7474
The User Guide

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def run_tests(self):
7878
package_data={'': ['LICENSE', 'NOTICE']},
7979
package_dir={'requests': 'requests'},
8080
include_package_data=True,
81-
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
81+
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*",
8282
install_requires=requires,
8383
license=about['__license__'],
8484
zip_safe=False,
@@ -91,7 +91,6 @@ def run_tests(self):
9191
'Programming Language :: Python :: 2',
9292
'Programming Language :: Python :: 2.7',
9393
'Programming Language :: Python :: 3',
94-
'Programming Language :: Python :: 3.5',
9594
'Programming Language :: Python :: 3.6',
9695
'Programming Language :: Python :: 3.7',
9796
'Programming Language :: Python :: 3.8',
@@ -102,7 +101,7 @@ def run_tests(self):
102101
cmdclass={'test': PyTest},
103102
tests_require=test_requirements,
104103
extras_require={
105-
'security': ['pyOpenSSL >= 0.14', 'cryptography>=1.3.4'],
104+
'security': [],
106105
'socks': ['PySocks>=1.5.6, !=1.5.7'],
107106
'socks:sys_platform == "win32" and python_version == "2.7"': ['win_inet_pton'],
108107
'use_chardet_on_py3': ['chardet>=3.0.2,<5']

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{27,35,36,37,38}-{default,use_chardet_on_py3}
2+
envlist = py{27,36,37,38,39}-{default,use_chardet_on_py3}
33

44
[testenv]
55
deps = -rrequirements-dev.txt

0 commit comments

Comments
 (0)