From c0adc885929de742f19d2c030d05f5cccdf562c6 Mon Sep 17 00:00:00 2001 From: grossmj Date: Mon, 27 Apr 2020 12:54:17 +0930 Subject: [PATCH] Use Environmental Markers to force jsonschema version. Fixes https://github.com/GNS3/gns3-gui/issues/2849 Version 3.2.0 with Python >= 3.8 Version 2.6.0 with Python < 3.8 --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 39b84933..57fbb793 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ yarl==1.3.0 # yarl 1.4+ requires Python 3.6+ (needed by aiohttp and aiohttp-cors) -jsonschema==3.2.0 -jsonschema==2.6.0; sys.platform == 'win32' or sys.platform == 'darwin' # pyup: ignore (force jsonschema 2.6.0 on Windows and macOS) +jsonschema==3.2.0; python_version >= '3.8' # pyup: ignore +jsonschema==2.6.0; python_version < '3.8' # pyup: ignore aiohttp==3.6.2 aiohttp-cors==0.7.0 aiofiles==0.4.0