0001-Move-pytest-runner-to-tests_require.patch 936 B

1234567891011121314151617181920212223242526272829303132
  1. From 8f07768085fa4c8d21dbe27805b7238e67d3aea5 Mon Sep 17 00:00:00 2001
  2. From: James Hilliard <james.hilliard1@gmail.com>
  3. Date: Tue, 17 May 2022 15:52:58 -0600
  4. Subject: [PATCH] Move pytest-runner to tests_require
  5. This isn't a build requirement so it shouldn't be under
  6. setup_requires.
  7. Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
  8. [Upstream status:
  9. https://github.com/cenobites/flask-jsonrpc/pull/227]
  10. ---
  11. setup.py | 2 +-
  12. 1 file changed, 1 insertion(+), 1 deletion(-)
  13. diff --git a/setup.py b/setup.py
  14. index 197d6c9..f23c472 100755
  15. --- a/setup.py
  16. +++ b/setup.py
  17. @@ -42,8 +42,8 @@ setuptools.setup(
  18. 'async': ['Flask[async]>=1.0.0,<3.0'],
  19. 'dotenv': ['Flask[dotenv]>=1.0.0,<3.0'],
  20. },
  21. - setup_requires=['pytest-runner'],
  22. tests_require=[
  23. + 'pytest-runner',
  24. 'mock==4.0.3',
  25. 'coverage==6.3.2;python_version>"3.6"',
  26. 'coverage<6.2;python_version<="3.6"',
  27. --
  28. 2.36.0