Bug 2464627 - Cannot install diffoscope and rpmlint due to python3-file-magic / python3-magic conflicts
Summary: Cannot install diffoscope and rpmlint due to python3-file-magic / python3-mag...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: diffoscope
Version: 44
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Zbigniew Jędrzejewski-Szmek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-02 06:16 UTC by Loïc Yhuel
Modified: 2026-09-25 18:10 UTC (History)
6 users (show)

Fixed In Version: diffoscope-330-1.fc46
Clone Of:
Environment:
Last Closed: 2026-09-25 18:10:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.

Comment 2 Jelle van der Waa 2026-09-25 18:01:27 UTC
diffoscope is compatible with both python3-magic and python3-file-magic but prefers python3-magic. We can switch back to depending on python3-file-magic it works without issues (and python3-file-magic is actually maintained).

Comment 3 Fedora Update System 2026-09-25 18:06:39 UTC
FEDORA-2026-a9558b633a (diffoscope-330-1.fc46) has been submitted as an update to Fedora 46.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-a9558b633a

Comment 4 Fedora Update System 2026-09-25 18:10:34 UTC
FEDORA-2026-a9558b633a (diffoscope-330-1.fc46) has been pushed to the Fedora 46 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.