Skip to content

Commit 03957eb

Browse files
committed
v2.25.0
1 parent 320a10d commit 03957eb

4 files changed

Lines changed: 25 additions & 6 deletions

File tree

HISTORY.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,24 @@ dev
66

77
- \[Short description of non-trivial change.\]
88

9+
10+
2.25.0 (2020-11-11)
11+
------------------
12+
13+
**Improvements**
14+
15+
- Added support for NETRC environment variable. (#5643)
16+
17+
**Dependencies**
18+
19+
- Requests now supports urllib3 v1.26.
20+
21+
**Deprecations**
22+
23+
- Requests v2.25.x will be the last release series with support for Python 3.5.
24+
- The `requests[security]` extra is officially deprecated and will be removed
25+
in Requests v2.26.0.
26+
927
2.24.0 (2020-06-17)
1028
-------------------
1129

requests/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ def check_compatibility(urllib3_version, chardet_version):
5757
# Check urllib3 for compatibility.
5858
major, minor, patch = urllib3_version # noqa: F811
5959
major, minor, patch = int(major), int(minor), int(patch)
60-
# urllib3 >= 1.21.1, <= 1.25
60+
# urllib3 >= 1.21.1, <= 1.26
6161
assert major == 1
6262
assert minor >= 21
63-
assert minor <= 25
63+
assert minor <= 26
6464

6565
# Check chardet for compatibility.
6666
major, minor, patch = chardet_version.split('.')[:3]

requests/__version__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
__title__ = 'requests'
66
__description__ = 'Python HTTP for Humans.'
77
__url__ = 'https://requests.readthedocs.io'
8-
__version__ = '2.24.0'
9-
__build__ = 0x022400
8+
__version__ = '2.25.0'
9+
__build__ = 0x022500
1010
__author__ = 'Kenneth Reitz'
1111
__author_email__ = 'me@kennethreitz.org'
1212
__license__ = 'Apache 2.0'

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def run_tests(self):
4444
requires = [
4545
'chardet>=3.0.2,<4',
4646
'idna>=2.5,<3',
47-
'urllib3>=1.21.1,<1.26,!=1.25.0,!=1.25.1',
47+
'urllib3>=1.21.1,<1.27',
4848
'certifi>=2017.4.17'
4949

5050
]
@@ -74,7 +74,7 @@ def run_tests(self):
7474
author_email=about['__author_email__'],
7575
url=about['__url__'],
7676
packages=packages,
77-
package_data={'': ['LICENSE', 'NOTICE'], 'requests': ['*.pem']},
77+
package_data={'': ['LICENSE', 'NOTICE']},
7878
package_dir={'requests': 'requests'},
7979
include_package_data=True,
8080
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
@@ -94,6 +94,7 @@ def run_tests(self):
9494
'Programming Language :: Python :: 3.6',
9595
'Programming Language :: Python :: 3.7',
9696
'Programming Language :: Python :: 3.8',
97+
'Programming Language :: Python :: 3.9',
9798
'Programming Language :: Python :: Implementation :: CPython',
9899
'Programming Language :: Python :: Implementation :: PyPy'
99100
],

0 commit comments

Comments
 (0)