Closed zaneb closed 1 year ago
I guess the intention was to drop 3.6 support prior to 3.0.0, judging by f47dde37a8bd93c73fa7d302950f4041cb358085.
Sorry about that, yes, I forgot to update python_requires.
I have no specific reason to depend on tomlkit 0.11.7 (which is the first version that requires 3.7). I will publish yq-3.2.1 that will relax the dependency version constraint to tomlkit >= 0.11.6
as you recommended.
Great, thank you!
v3.2.1 released
yq
can no longer be installed from PyPI without version pinning using Python 3.6, because version 3.2.0 reports that it supports Python>=3.6
, but since e507357e3aa72b1fdf0b27f1f9bbb87bf3bd1378 it depends ontomlkit >= 0.11.7
which only supports Python >=3.7.Installation fails with this error:
I believe this would have worked if 3.2.0 had reported that it only supported python >=3.7 - pip would have installed the latest version that still supported 3.6 (i.e. 3.1.1). However, now that 3.2.0 has been published, I don't think a 3.2.1 that requires Python 3.7 will help, because 3.2.0 will still be the latest one that reports being installable on 3.6. I don't think it's possible to retrospectively update the python version requirements (please do not unpublish the 3.2.0 release).
The only solution I know of is for a 3.2.1 release that either requires only
tomlkit >= 0.11.6
or reverts to the oldtoml
dependency. (This could be followed by a 3.3.0 release that requirestomlkit>=0.11.7
and only supports Python 3.7 if necessary.)