Description of problem: It's not possible to install python3-magic without using -x python3-file-magic because python3-file-magic has Obsoletes: python3-magic < 5.40-9.fc35. Version-Release number of selected component (if applicable): python-magic-0.4.22-3.fc35 How reproducible: Always Steps to Reproduce: 1. dnf install python3-magic Actual results: python3-file-magic-5.40-9.fc35.noarch gets installed. Expected results: python3-magic-0.4.22-3.fc35 gets installed.
This message is a reminder that Fedora Linux 35 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13. 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 '35'. 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 35 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.
Fedora Linux 35 entered end-of-life (EOL) status on 2022-12-13. Fedora Linux 35 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed.
Still an issue in rawhide.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle. Changing version to 38.
I just hit this now in https://bugzilla.redhat.com/show_bug.cgi?id=2251448. According to https://github.com/ahupp/python-magic/blob/master/COMPAT.md python-magic provides a compatibility interface for file-magic users that provides the same API as the latter.
I'm seeing this in rawhide: $ sudo dnf5 upgrade ... Problem: package rpmlint-2.5.0-1.fc40.noarch requires python3.12dist(python-magic), but none of the providers can be installed - package python3-file-magic-5.45-1.fc40.noarch conflicts with python3-magic < 5.45-1.fc40 provided by python3-magic-0.4.27-5.fc40.noarch - installed package python3-file-magic-5.45-1.fc40.noarch obsoletes python3-magic < 5.45-1.fc40 provided by python3-magic-0.4.27-5.fc40.noarch - cannot install the best update candidate for package rpmlint-2.4.0-11.fc40.noarch - cannot install the best update candidate for package python3-file-magic-5.45-1.fc40.noarch
Still an issue in Fedora 38: ``` $ sudo dnf install python3-magic Dependencies resolved. =============================================================================================== Package Architecture Version Repository Size =============================================================================================== Installing: python3-file-magic noarch 5.44-3.fc38 fedora 20 k Transaction Summary =============================================================================================== Install 1 Package ```
I went ahead and opened https://src.fedoraproject.org/rpms/file/pull-request/31 to drop the obsoletes from python3-file-magic.
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle. Changing version to 40.