FS#72481 - [python-feedparser] depedenncy sgmllib3k is required

Attached to Project: Arch Linux
Opened by Xuanrui Qi (xuanrui) - Tuesday, 19 October 2021, 17:03 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 23 October 2021, 15:35 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jelle van der Waa (jelly)
Felix Yan (felixonmars)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

The file sgml.py contains the line

import sgmllib

which imports sgmllib, which in Python 3 is only provided by the package sgmllib3k. Without sgmllib3k it won't work.
This task depends upon

Closed by  Jelle van der Waa (jelly)
Saturday, 23 October 2021, 15:35 GMT
Reason for closing:  Fixed
Comment by Torus (T0t0) - Wednesday, 20 October 2021, 02:04 GMT
After updating python-feedparser, Quodlibet no longer launches.

```
E: 0.353: util.importhelper.load_dir_modules: sgml.py:30:<module>: ModuleNotFoundError: No module named 'sgmllib'
E: 0.614: errorreport.main.errorhook: sgml.py:30:<module>: ModuleNotFoundError: No module named 'sgmllib'
```

To solve this problem, I had to install the AUR package 'python-sgmllib3k'.

NB: The package 'python-sgmllib' is no longer available in the repositories :/
Comment by Lex Black (TrialnError) - Wednesday, 20 October 2021, 18:24 GMT
Ah, that explains the issue I currently experience. It failed because it wanted to install python-sgmllib3k, but conflicted with the previously available python-sgmllib (Error: already existing in filesystem).
If one got replaced with another, shouldn't this have been a case for replace?

Loading...