Disable requests[security] and remove 3.5 support references
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Nate Prewitt · committed by Nate Prewitt · parent 33cf965 · Browse files · 7 files·+14 added−8 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
7 files+14 added−8 removed
- other:+14 added−8 removed
Provenance
- Commit
f6c0619- Tree
fb5bbd3- Author
Nate Prewitt <Nate.Prewitt@gmail.com>- Committer
Nate Prewitt <nate.prewitt@gmail.com>- Parent
33cf965
7 files changed+14 added−8 removed
modified:.github/workflows/run-tests.yml+1 added-1 removed
7 unmodified lines89101112121314151615 unmodified lines7 unmodified lines
strategy: fail-fast: false matrix: python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9] python-version: [2.7, 3.6, 3.7, 3.8, 3.9] os: [ubuntu-18.04, macOS-latest, windows-latest] include: # pypy3 on Mac OS currently fails trying to compile # brotlipy. Moving pypy3 to only test linux.15 unmodified linesmodified:docs/community/faq.rst+1 added-1 removed
53 unmodified lines54 55 Python 3 Support?56 -----------------57 58-Yes! Requests officially supports Python 2.7 & 3.5+ and PyPy.58+Yes! Requests officially supports Python 2.7 & 3.6+ and PyPy.59 60 Python 2 Support?61 -----------------62 33 unmodified linesmodified:docs/index.rst+1 added-1 removed
66 unmodified lines67 - Connection Timeouts68 - Chunked Requests69 - ``.netrc`` Support70 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.72 73 74 The User Guide75 --------------61 unmodified linesmodified:HISTORY.md+7 added
22 unmodified lines23 ```24 25 Python2 still depends upon the `chardet` module.26 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+34 2.25.1 (2020-12-16)35 -------------------36 37 **Bugfixes**1697 unmodified linesmodified:README.md+1 added-1 removed
31 unmodified lines3233343536363738394038 unmodified lines31 unmodified lines```console$ python -m pip install requests```
Requests officially supports Python 2.7 & 3.5+.Requests officially supports Python 2.7 & 3.6+.
## Supported Features & Best–Practices
Requests is ready for the demands of building robust and reliable HTTP–speaking applications, for the needs of today.38 unmodified linesmodified:setup.py+2 added-3 removed
76 unmodified lines77 packages=packages,78 package_data={'': ['LICENSE', 'NOTICE']},79 package_dir={'requests': 'requests'},80 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.*",82 install_requires=requires,83 license=about['__license__'],84 zip_safe=False,85 classifiers=[4 unmodified lines90 'Programming Language :: Python',91 'Programming Language :: Python :: 2',92 'Programming Language :: Python :: 2.7',93 'Programming Language :: Python :: 3',94- 'Programming Language :: Python :: 3.5',94 'Programming Language :: Python :: 3.6',95 'Programming Language :: Python :: 3.7',96 'Programming Language :: Python :: 3.8',97 'Programming Language :: Python :: 3.9',2 unmodified lines100 ],101 cmdclass={'test': PyTest},102 tests_require=test_requirements,103 extras_require={105- 'security': ['pyOpenSSL >= 0.14', 'cryptography>=1.3.4'],104+ 'security': [],105 'socks': ['PySocks>=1.5.6, !=1.5.7'],106 'socks:sys_platform == "win32" and python_version == "2.7"': ['win_inet_pton'],107 'use_chardet_on_py3': ['chardet>=3.0.2,<5']108 },5 unmodified linesmodified:tox.ini+1 added-1 removed
1 [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}3 4 [testenv]5 deps = -rrequirements-dev.txt6 extras =12 unmodified lines