Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2ad18e0

Browse files
authored
v2.30.0
1 parentf2629e9 commit2ad18e0

File tree

4 files changed

+19
-7
lines changed

4 files changed

+19
-7
lines changed

‎HISTORY.md‎

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

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

9+
2.30.0 (2023-05-03)
10+
-------------------
11+
12+
**Dependencies**
13+
- ⚠️ Added support for urllib3 2.0. ⚠️
14+
15+
This may contain minor breaking changes so we advise careful testing and
16+
reviewinghttps://urllib3.readthedocs.io/en/latest/v2-migration-guide.html
17+
prior to upgrading.
18+
19+
Users who wish to stay on urllib3 1.x can pin to`urllib3<2`.
20+
921
2.29.0 (2023-04-26)
1022
-------------------
1123

‎requests/__init__.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ def check_compatibility(urllib3_version, chardet_version, charset_normalizer_ver
6666
# Check urllib3 for compatibility.
6767
major,minor,patch=urllib3_version# noqa: F811
6868
major,minor,patch=int(major),int(minor),int(patch)
69-
# urllib3 >= 1.21.1, <= 1.26
70-
assertmajor==1
71-
assertminor>=21
72-
assertminor<=26
69+
# urllib3 >= 1.21.1
70+
assertmajor>=1
71+
ifmajor==1:
72+
assertminor>=21
7373

7474
# Check charset_normalizer for compatibility.
7575
ifchardet_version:

‎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.29.0"
9-
__build__=0x022900
8+
__version__="2.30.0"
9+
__build__=0x023000
1010
__author__="Kenneth Reitz"
1111
__author_email__="me@kennethreitz.org"
1212
__license__="Apache 2.0"

‎setup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def run_tests(self):
6161
requires= [
6262
"charset_normalizer>=2,<4",
6363
"idna>=2.5,<4",
64-
"urllib3>=1.21.1,<1.27",
64+
"urllib3>=1.21.1,<3",
6565
"certifi>=2017.4.17",
6666
]
6767
test_requirements= [

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp