Bug 2342812

Summary: python3-mistune08 conflicts with python3-mistune
Product: [Fedora] Fedora Reporter: Germano Massullo (Thetra) <germano.massullo>
Component: python-mistune08Assignee: Michel Lind <michel>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 41CC: epel-packagers-sig, mhroncok, michel, neil, nforro, python-packagers-sig
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-09 01:17:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2336242    

Description Germano Massullo (Thetra) 2025-01-29 14:46:37 UTC
python3-mistune08 conflicts with python3-mistune

When having on the system, python3-mistune08, it is impossible to install python3-notebook, due  conflicts with python3-mistune.

============
# dnf install python3-notebook
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: conflicting requests
  - package python3-notebook-7.3.1-1.fc41.noarch from updates requires (python3.13dist(jupyter-server) < 3~~ with python3.13dist(jupyter-server) >= 2.4), but none of the providers can be installed
  - package python3-notebook-7.2.2-1.fc41.noarch from fedora requires (python3.13dist(jupyter-server) < 3~~ with python3.13dist(jupyter-server) >= 2.4), but none of the providers can be installed
  - package python3-jupyter-server-2.14.2-2.fc41.noarch from fedora requires python3.13dist(nbconvert) >= 6.4.4, but none of the providers can be installed
  - package python3-nbconvert-7.16.4-4.fc41.noarch from fedora requires (python3.13dist(mistune) < 4~~ with python3.13dist(mistune) >= 2.0.3), but none of the providers can be installed
  - problem with installed package
  - installed package python3-mistune08-0.8.4-14.fc41.noarch conflicts with python3-mistune provided by python3-mistune-2.0.4-10.fc41.noarch from fedora
  - package python3-mistune08-0.8.4-14.fc41.noarch from fedora conflicts with python3-mistune provided by python3-mistune-2.0.4-10.fc41.noarch from fedora
You can try to add to command line:
  --allowerasing to allow removing of installed packages to resolve problems
  --skip-broken to skip uninstallable packages
============

The only way to be able to install python3-notebook is to 

# dnf swap python3-mistune08 python3-mistune

Reproducible: Always

Comment 1 Miro Hrončok 2025-01-29 19:03:32 UTC
*** Bug 2336242 has been marked as a duplicate of this bug. ***

Comment 2 Miro Hrončok 2025-01-29 19:06:58 UTC
I am afraid there isn't much the maintainer can do about this :/

python3-mistune08 was created as a "temporary" workaround for packages that do not work with python3-mistune. That would now be only python-m2r which is unfortunately archived upstream https://github.com/miyakogi/m2r 

That itself is used in:

$ repoquery -q --repo=rawhide{,-source} --whatrequires python3-m2r
python-pyrtlsdr-0:0.3.0-8.fc42.src
rebase-helper-0:0.29.2-1.fc41.src


I'll check if the requirement is used.

Comment 3 Miro Hrončok 2025-01-29 19:11:33 UTC
rebase-helper uses m2r.

python-pyrtlsdr does not: https://src.fedoraproject.org/rpms/python-pyrtlsdr/pull-request/4

Comment 4 Nikola Forró 2025-01-30 12:23:33 UTC
> rebase-helper uses m2r.

I've removed the m2r dependency [1] in rebase-helper-0.29.3-1.fc4{0,1,2}. I don't think we can retire python3-m2r and python3-mistune08 in F41 though, right?

[1] https://github.com/rebase-helper/rebase-helper/commit/08872ebbd34e5fc997496d2c4e43a07dfe266b44

Comment 5 Miro Hrončok 2025-01-30 12:37:45 UTC
(In reply to Nikola Forró from comment #4)
> I've removed the m2r dependency [1] in rebase-helper-0.29.3-1.fc4{0,1,2}.

Thanks!

> I don't think we can retire python3-m2r and python3-mistune08 in F41 though,
> right?

No, we cannot. But we can do it in Fedora 42+ at least. We can make python3-mistune Obsolete it.

Comment 6 Nikola Forró 2025-01-30 13:18:22 UTC
Ok, let me retire python3-m2r in Rawhide.

Comment 7 Miro Hrončok 2025-01-31 10:39:19 UTC
Let's retire python-mistune08 from rawhide?

Comment 8 Miro Hrončok 2025-01-31 10:44:50 UTC
https://src.fedoraproject.org/rpms/python-mistune/pull-request/14
https://src.fedoraproject.org/rpms/python-mistune/pull-request/15
https://src.fedoraproject.org/rpms/python-mistune/pull-request/16

This should fix the problem as reported even if we don't retire python-mistune08 (and it is required anyway on rawhide if we do).

Comment 9 Miro Hrončok 2025-01-31 10:47:56 UTC
Retirement PR: https://src.fedoraproject.org/rpms/python-mistune08/pull-request/5

Comment 10 Fedora Update System 2025-01-31 11:07:38 UTC
FEDORA-2025-5db35b99aa (python-mistune-3.0.2-4.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-5db35b99aa

Comment 11 Fedora Update System 2025-01-31 11:10:52 UTC
FEDORA-2025-5db35b99aa (python-mistune-3.0.2-4.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2025-01-31 11:22:12 UTC
FEDORA-2025-c28d3bee65 (python-mistune-2.0.4-11.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-c28d3bee65

Comment 13 Fedora Update System 2025-01-31 11:22:13 UTC
FEDORA-2025-deb0f052cb (python-mistune-2.0.4-9.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-deb0f052cb

Comment 14 Fedora Update System 2025-02-01 05:59:45 UTC
FEDORA-2025-c28d3bee65 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-c28d3bee65`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-c28d3bee65

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2025-02-01 17:44:34 UTC
FEDORA-2025-deb0f052cb has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-deb0f052cb`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-deb0f052cb

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Michel Lind 2025-02-03 13:34:50 UTC
(In reply to Miro Hrončok from comment #7)
> Let's retire python-mistune08 from rawhide?

Yes, let's do that

Comment 17 Michel Lind 2025-02-03 13:41:37 UTC
~
❯ fedrq whatrequires -X python3-mistune08

~
❯ fedrq whatrequires -X python3-mistune08 -b f41
python-m2r-0.3.1-9.fc41.src
python3-m2r-0.3.1-9.fc41.noarch

Confirmed. I just retired it in https://src.fedoraproject.org/rpms/python-mistune08/c/497018d761f6f5d1dcb745e669b5d24a2c820dfc?branch=rawhide

Comment 18 Fedora Update System 2025-02-09 01:17:07 UTC
FEDORA-2025-c28d3bee65 (python-mistune-2.0.4-11.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 19 Fedora Update System 2025-02-09 01:31:36 UTC
FEDORA-2025-deb0f052cb (python-mistune-2.0.4-9.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.