From d843d2a6c1f26aad83bc35fb2f6dcb8d2d3c4989 Mon Sep 17 00:00:00 2001 From: Josh Peak Date: Sun, 3 Nov 2019 18:15:08 +1100 Subject: [PATCH] Fix yarl version requirements (#489) --- docs/changelog.rst | 1 + setup.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index c14d598..e728107 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -6,6 +6,7 @@ Changelog - Improve documentation about custom matchers (@gward) - Fix exception when body is empty (@keithprickett) - Add `pytest-recording` to the documentation as an alternative Pytest plugin (@Stranger6667) + - Fix yarl and python3.5 version issue (@neozenith) - 2.1.0 - Add a `rewind` method to reset a cassette (thanks @khamidou) New error message with more details on why the cassette failed to play a request (thanks @arthurHamon2, @neozenith) Handle connect tunnel URI (thanks @jeking3) diff --git a/setup.py b/setup.py index 6dda795..4357d82 100644 --- a/setup.py +++ b/setup.py @@ -28,7 +28,8 @@ install_requires = [ "six>=1.5", 'contextlib2; python_version=="2.7"', 'mock; python_version=="2.7"', - 'yarl; python_version>="3.5"', + 'yarl; python_version>="3.6"', + 'yarl<1.4; python_version=="3.5"', ] excluded_packages = ["tests*"]