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
This commit is contained in:
grossmj 2020-04-27 12:54:17 +09:30
parent 2c9afbb217
commit c0adc88592

View File

@ -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