ckanext-scheming icon indicating copy to clipboard operation
ckanext-scheming copied to clipboard

set dependecy of pyyaml to version 5.4

Open sabinem opened this issue 4 years ago • 3 comments

sabinem avatar Oct 27 '21 12:10 sabinem

strict dependencies in install_requires causes cli commands to fail before they start if the version is ever changed. What is this change for? Can you use a version range instead?

wardi avatar Oct 27 '21 13:10 wardi

can be related to #305

ccancellieri avatar Nov 01 '21 13:11 ccancellieri

I may be wrong, but it shouldn't be possible. pip will not try to install a library if it has a minimum required python version specified. i.e, if pyyaml > 5.4 has python_requires > 3.0 flag, pip will never try to install it on python2. If this flag is missing, it's an issue of the dependency(pyyaml in this case) and must be solved in corresponding repository

smotornyuk avatar Feb 03 '22 14:02 smotornyuk