Skip to content

Commit

Permalink
Update requests dependency to the version of 2.22.0 or higher (#584)
Browse files Browse the repository at this point in the history
* Update `requests` dependency to the version of 2.22.0 or higher.
   Responses has long had a dependency on urllib>=1.25.10 and requests < 2.22
   do not work with urllib3>=1.25.
* CHANGES
  • Loading branch information
beliaev-maksim committed Sep 6, 2022
1 parent 6144ef5 commit 7318ddd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
0.22.0
------

* Update `requests` dependency to the version of 2.22.0 or higher. See #584.
* [BETA] Added possibility to record responses to TOML files via `@_recorder.record(file_path="out.toml")` decorator.
* Fix type for the `mock`'s patcher object. See #556
* Fix type annotation for `CallList`
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ A utility library for mocking out the ``requests`` Python library.

.. note::

Responses requires Python 3.7 or newer, and requests >= 2.0
Responses requires Python 3.7 or newer, and requests >= 2.22.0


Table of Contents
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
setup_requires = []

install_requires = [
"requests>=2.0,<3.0",
"requests>=2.22.0,<3.0",
"urllib3>=1.25.10",
"toml",
"types-toml",
Expand Down

0 comments on commit 7318ddd

Please sign in to comment.