Description of problem: rpm allows removing python3-chardet, which is required by python3-requests. dnf correctly resolves the dependencies and asks for removal of other dependent packages. Version-Release number of selected component (if applicable): rpm-4.16.0-1.fc33.x86_64 How reproducible: Always. Steps to Reproduce: 1. dnf install python3-requests 2. rpm -e python3-chardet 3. rpm -V python3-requests Actual results: # rpm -q python3-requests python3-requests-2.24.0-3.fc33.noarch # rpm -e python3-chardet # rpm -V python3-requests Unsatisfied dependencies for python3-requests-2.24.0-3.fc33.noarch: (python3.9dist(chardet) < 4 with python3.9dist(chardet) >= 3.0.2) is needed by (installed) python3-requests-2.24.0-3.fc33.noarch Expected results: # rpm -e python3-chardet error: Failed dependencies: (python3.9dist(chardet) < 4 with python3.9dist(chardet) >= 3.0.2) is needed by (installed) python3-requests-2.24.0-3.fc33.noarch Additional info: I'm guessing it's a bug in rich dependencies processing in rpm.
The same problem exists for python3-requests and python3-urllib3 in F33.
> # rpm -e python3-chardet > # rpm -V python3-requests > Unsatisfied dependencies for python3-requests-2.24.0-3.fc33.noarch: > (python3.9dist(chardet) < 4 with python3.9dist(chardet) >= 3.0.2) is needed > by (installed) python3-requests-2.24.0-3.fc33.noarch Yup, clearly both cannot be right. @mls, if you can take a look at this at some point, I'd appreciate.
This has been fixed with the following commit: https://github.com/rpm-software-management/rpm/commit/aa57fb568c14b33265e1f9e44665b16818a2b539
This message is a reminder that Fedora 33 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '33'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 33 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
This seems to have been fixed on rawhide and F35. But it is still relevant on Fedora 34: <mock-chroot> sh-5.1# rpm -e python3-chardet <mock-chroot> sh-5.1# rpm -V python3-requests Unsatisfied dependencies for python3-requests-2.25.1-1.fc34.noarch: (python3.9dist(chardet) < 5 with python3.9dist(chardet) >= 3.0.2) is needed by (installed) python3-requests-2.25.1-1.fc34.noarch
Yup, this would be rpm 4.16.1 material, if we could only get around to cutting that release...
This message is a reminder that Fedora Linux 34 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '34'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 34 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
This is fixed in F35.