From d92bf8c35f7addf8fa7b1aaf7748e9c06bff3e1e Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Jan 26 2022 14:45:21 +0000 Subject: also remove mypy which is not strictly necessary to run the test suite This eases packaging python-responses for EPEL 9 as mypy is not available there. --- diff --git a/python-responses-remove-unpackaged-dependencies-and-flake.patch b/python-responses-remove-unpackaged-dependencies-and-flake.patch index 571a6ee..385459a 100644 --- a/python-responses-remove-unpackaged-dependencies-and-flake.patch +++ b/python-responses-remove-unpackaged-dependencies-and-flake.patch @@ -1,8 +1,8 @@ diff --git a/setup.py b/setup.py -index c30d9a1..d6f7e78 100644 +index c30d9a1..d3d4d49 100644 --- a/setup.py +++ b/setup.py -@@ -30,11 +30,6 @@ install_requires = [ +@@ -30,14 +30,8 @@ install_requires = [ tests_require = [ "pytest>=4.6,<5.0; python_version < '3.5'", "pytest>=4.6; python_version >= '3.5'", @@ -13,4 +13,7 @@ index c30d9a1..d6f7e78 100644 - "types-mock", "types-requests", "types-six", - "mypy; python_version >= '3.5'", +- "mypy; python_version >= '3.5'", + ] + + extras_require = {"tests": tests_require}