Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#75780 - [python-mistune1][pcbdraw]: conflicts with python-mistune

Attached to Project: Community Packages
Opened by bill-auger (bill-auger) - Saturday, 03 September 2022, 04:47 GMT
Last edited by Antonio Rojas (arojas) - Monday, 03 October 2022, 20:47 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To David Runge (dvzrv)
Filipe LaĆ­ns (FFY00)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

is it normal to have some high-level applications which can not coexist ?

perhaps this is not a bug? - im not certain - the situation is not common

$ sudo pacman -Sy spyder pcbdraw
....
warning: removing 'python-mistune' from target list because it conflicts with 'python-mistune1'
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'python-mistune>=2' required by jupyter-nbconvert

$ pacman -Si python-mistune{,1} | grep Conflicts
Conflicts With : None
Conflicts With : python-mistune
This task depends upon

Closed by  Antonio Rojas (arojas)
Monday, 03 October 2022, 20:47 GMT
Reason for closing:  Won't fix
Additional comments about closing:  python-mistune1 dropped to AUR
Comment by bill-auger (bill-auger) - Saturday, 03 September 2022, 04:51 GMT
or if those packages were already install, someone else reported that pacman could not upgrade the system

$ sudo pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
:: python-mistune and python-mistune1 are in conflict. Remove python-mistune1? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing python-mistune1 breaks dependency 'python-mistune1' required by pcbdraw
Comment by David Runge (dvzrv) - Saturday, 03 September 2022, 07:53 GMT
@bill-auger: Thanks for the ticket.

The situation is a bit... well.. problematic due to how pcbdraw pins an older python-mistune. I have opened an upstream ticket for this as there hasn't been any movement from its maintainer either so far:
https://github.com/yaqwsx/PcbDraw/issues/103

By now pcbdraw is the last application requiring python-mistune1. If you want to make this go away, you could help upstream by providing a fix that introduces a newer version of mistune (>= 2.0.0) and eases the version constraint.
Comment by bill-auger (bill-auger) - Saturday, 03 September 2022, 19:02 GMT
ok so generally, that situation is to be avoided, and is bug-worthy if people stumble on it?

i generally tell people, that anytime `pacman -Syu` gives an error, that is almost always a bug, worth reporting
Comment by Phillip Samuel (pintert3) - Sunday, 25 September 2022, 19:39 GMT
pcbdraw was recently updated to version 1, in which mistune was updated. However, the new pcbdraw comes with added dependencies currently not in the repos, although I packaged some of them in the aur
Comment by Phillip Samuel (pintert3) - Sunday, 25 September 2022, 20:26 GMT
the particular new dependencies are python-engineering-notation and python-svgpathtools

Loading...