Skip to content

Commit

Permalink
v2.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nateprewitt committed May 15, 2019
1 parent 68e581f commit aeda65b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions requests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ def check_compatibility(urllib3_version, chardet_version):
# Check urllib3 for compatibility.
major, minor, patch = urllib3_version # noqa: F811
major, minor, patch = int(major), int(minor), int(patch)
# urllib3 >= 1.21.1, <= 1.24
# urllib3 >= 1.21.1, <= 1.25
assert major == 1
assert minor >= 21
assert minor <= 24
assert minor <= 25

# Check chardet for compatibility.
major, minor, patch = chardet_version.split('.')[:3]
Expand Down
6 changes: 3 additions & 3 deletions requests/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
__title__ = 'requests'
__description__ = 'Python HTTP for Humans.'
__url__ = 'http://python-requests.org'
__version__ = '2.21.0'
__build__ = 0x022100
__version__ = '2.22.0'
__build__ = 0x022200
__author__ = 'Kenneth Reitz'
__author_email__ = '[email protected]'
__license__ = 'Apache 2.0'
__copyright__ = 'Copyright 2018 Kenneth Reitz'
__copyright__ = 'Copyright 2019 Kenneth Reitz'
__cake__ = u'\u2728 \U0001f370 \u2728'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def run_tests(self):
requires = [
'chardet>=3.0.2,<3.1.0',
'idna>=2.5,<2.9',
'urllib3>=1.21.1,<1.25',
'urllib3>=1.21.1,<1.26,!=1.25.0,!=1.25.1',

This comment has been minimized.

Copy link
@pradyunsg

pradyunsg Feb 1, 2020

Contributor

Why was this changed?

This comment has been minimized.

Copy link
@nateprewitt

nateprewitt Feb 1, 2020

Author Member

@pradyunsg 1.25 was released so we needed to update the pin. The first two releases had breaking changes for Requests though that were fixed in 1.25.2

This comment has been minimized.

Copy link
@sfdye

sfdye May 21, 2020

Is >=1.25.2 (e.g. the latest 1.25.9) compatible? The docs only mentioned 1.25.2

https://github.com/urllib3/urllib3/blob/master/CHANGES.rst

This comment has been minimized.

Copy link
@sigmavirus24

sigmavirus24 May 21, 2020

Contributor

@sfdye that's what this dependency says. If you have evidence to the contrary, open an issue

'certifi>=2017.4.17'

]
Expand Down

0 comments on commit aeda65b

Please sign in to comment.