-
-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3.6 installation from PyPI broken #165
Comments
I guess the intention was to drop 3.6 support prior to 3.0.0, judging by f47dde3. |
3 tasks
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 |
Great, thank you! |
v3.2.1 released |
3 tasks
runcom
added a commit
to runcom/osbuild-composer
that referenced
this issue
Apr 5, 2023
Basically use the latest 3.2.1 version because of kislyuk/yq#165 Signed-off-by: Antonio Murdaca <runcom@linux.com>
thozza
pushed a commit
to osbuild/osbuild-composer
that referenced
this issue
Apr 24, 2023
Basically use the latest 3.2.1 version because of kislyuk/yq#165 Signed-off-by: Antonio Murdaca <runcom@linux.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 e507357 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.)The text was updated successfully, but these errors were encountered: