From fffc5222c776caab315c8ea12ac2274c4052abe7 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Wed, 11 Nov 2020 15:27:32 +0200 Subject: [PATCH] setup.py: limit responses version for moto ``` c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\moto\core\models.py:17: in import responses c:\hostedtoolcache\windows\python\3.6.8\x64\lib\site-packages\responses.py:29: in from urllib3.connection import HTTPHeaderDict E ImportError: cannot import name 'HTTPHeaderDict' ``` --- setup.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d610b0ae78..aac5a8bf97 100644 --- a/setup.py +++ b/setup.py @@ -131,10 +131,13 @@ def run(self): "pydocstyle<4.0", "jaraco.windows==3.9.2", "mock-ssh-server>=0.8.2", - "moto==1.3.14.dev464", + "moto==1.3.16.dev110", # moto's indirect dependency that is causing problems with flufl.lock's # dependency (atpublic). See https://github.com/iterative/dvc/pull/4853 "aws-sam-translator<1.29.0", + # for moto's indirect dependency. + # See https://github.com/iterative/dvc/pull/4879 + "urllib3<1.26.0", "rangehttpserver==1.2.0", "beautifulsoup4==4.4.0", "flake8-bugbear",