You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
751 B

  1. From 9484e13c7da927119fe82794bb5571cec144b6d7 Mon Sep 17 00:00:00 2001
  2. From: Naor Livne <naorlivne@gmail.com>
  3. Date: Fri, 1 Jan 2021 14:31:14 +0200
  4. Subject: [PATCH 1/2] bump idna has version 3.0 was released
  5. Fixes issue (https://github.com/psf/requests/issues/5710):
  6. pkg_resources.ContextualVersionConflict: (idna 3.0 (/usr/lib/python3.9/site-packages), Requirement.parse('idna<3,>=2.5'), {'requests'})
  7. Origin of this patch:
  8. https://github.com/psf/requests/pull/5711
  9. ---
  10. setup.py | 2 +-
  11. 1 file changed, 1 insertion(+), 1 deletion(-)
  12. --- a/setup.py
  13. +++ b/setup.py
  14. @@ -43,7 +43,7 @@ packages = ['requests']
  15. requires = [
  16. 'chardet>=3.0.2,<5',
  17. - 'idna>=2.5,<3',
  18. + 'idna>=2.5,<4',
  19. 'urllib3>=1.21.1,<1.27',
  20. 'certifi>=2017.4.17'