Bug 2464627

Summary: Cannot install diffoscope and rpmlint due to python3-file-magic / python3-magic conflicts
Product: [Fedora] Fedora Reporter: Loïc Yhuel <loic.yhuel>
Component: diffoscopeAssignee: Zbigniew Jędrzejewski-Szmek <zbyszek>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 44CC: edgar.hoch, fschwarz, jlebon, lantw44, zbyszek
Target Milestone: ---Keywords: Upgrades
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Loïc Yhuel 2026-05-02 06:16:30 UTC
diffoscope now depends on python3-magic, but rpmlint still depends on python3-file-magic, which conflicts with python3-magic.

This is exactly what the comment removed by https://src.fedoraproject.org/rpms/diffoscope/c/ef3db93c9f913d2ac899d6d78d4da73809b80cb9 referred to.

So either diffoscope should revert back to python3-file-magic, or rpmlint (and probably others) should switch to python3-magic.

Reproducible: Always




Additional Information:
# dnf install diffoscope
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: conflicting requests
  - package diffoscope-312-1.fc44.x86_64 from fedora requires python3.14dist(python-magic), but none of the providers can be installed
  - package diffoscope-317-1.fc44.x86_64 from updates requires python3.14dist(python-magic), but none of the providers can be installed
  - problem with installed package
  - installed package python3-file-magic-5.46-10.fc44.noarch conflicts with python3-magic provided by python3-magic-0.4.27-16.fc44.noarch from fedora
  - package python3-file-magic-5.46-9.fc44.noarch from fedora conflicts with python3-magic provided by python3-magic-0.4.27-16.fc44.noarch from fedora
  - package python3-file-magic-5.46-10.fc44.noarch from updates conflicts with python3-magic provided by python3-magic-0.4.27-16.fc44.noarch from fedora

Comment 1 Felix Schwarz 2026-05-02 10:18:14 UTC
Alternatively, we could maybe patch diffoscope to work with either package. This is what I did for showcert.