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
pull/1763/head
grossmj 4 years ago
parent 2c9afbb217
commit c0adc88592

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

Loading…
Cancel
Save