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: NEW
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-06-02 15:34 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
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.


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