FS#62630 - python-markdown module is using setuptools’ vendored version of packaging

Attached to Project: Community Packages
Opened by Triswansyah Yuliano (triswan) - Tuesday, 14 May 2019, 08:55 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 14 May 2019, 13:20 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hi sorry it's my first bug report, so please bear with me...

I ran retext application on updated ArchLinux, and got some errors
I reported the issue to retext maintainer and
It has something to do with python-markdown and I was asked to file a bug here,
so please check the issue out:
https://github.com/retext-project/retext/issues/458
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Tuesday, 14 May 2019, 13:20 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Bug caused by sudo pip
Comment by Chih-Hsuan Yen (yan12125) - Tuesday, 14 May 2019, 13:17 GMT
Hi could you paste versions of relevant packages (e.g., retext, python-markdown, ...)? I can't reproduce the issue as described in https://github.com/retext-project/retext/issues/458 or https://github.com/Python-Markdown/markdown/issues/825.

EDIT: As the problematic line ("from pkg_resources.extern import packaging") appears in markdown 3.1, and Arch Linux's python-markdown is still 3.0.1 [1], I guess you've updated markdown manually?

[1] https://www.archlinux.org/packages/community/any/python-markdown/
Comment by Eli Schwartz (eschwartz) - Tuesday, 14 May 2019, 13:19 GMT
Looking at the markdown project, this bug is only present in python-markdown 3.1, which is not packaged in archlinux.

In fact, I assume this bug is the reason why we do not package it. The bug prevents markdown from being built in the first place.

Please do not use sudo pip to install things on archlinux.

Loading...