Description of problem: Although I have Python 2 installed on my computer, it was never necessary to have TK installed. However, python27 package now tries to pull in tk package ~~~ Problem 1: package python27-2.7.16-9.fc32.x86_64 requires libtk8.6.so()(64bit), but none of the providers can be installed - cannot install the best update candidate for package python2-2.7.16-7.fc32.x86_64 - package tk-1:8.6.8-1.fc30.x86_64 is excluded ~~~ I think this is wrong. Actually the problem appears much bigger, comparing the python2 vs python27 requires. It seems that this is due to monolithical python27, while the python2 had quite some subpackage. Version-Release number of selected component (if applicable): python27-2.7.16-9.fc32.x86_64 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: TK is pulled in (at least that is the one visible dependency). Expected results: No additional library is pulled in when python27 replaces python2 Additional info:
tkinter requires tk. tkinter is part of the Python standard library. The monolithic package leads to this. The problem is same for any other monolithic Python package like python26, python27, python34, python35, python36, python37, python38 or even pypy-libs and pypy3-libs, and python3-debug. As there is a way to fix this (split tkinter into a subpackage), Python 2 is deprecated and we don't have any more energy to spend on this package, hence we turned it to be monolithic as described in https://fedoraproject.org/wiki/Changes/RetirePython2#The_python27_package
(In reply to Miro Hrončok from comment #1) > tkinter requires tk. tkinter is part of the Python standard library. The > monolithic package leads to this. The problem is same for any other > monolithic Python package like python26, python27, python34, python35, > python36, python37, python38 or even pypy-libs and pypy3-libs, and > python3-debug. > > As there is a way to fix this (split tkinter into a subpackage), Python 2 is > deprecated and we don't have any more energy to spend on this package Right, probably better spend some time on: https://bugzilla.redhat.com/show_bug.cgi?id=1737908 Since this is the only remaining package on my system requiring Python 2 😇 > hence > we turned it to be monolithic as described in > https://fedoraproject.org/wiki/Changes/RetirePython2#The_python27_package
Thanks for understanding.