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#67170 - [python-userpath] missing python-distro dependency

Attached to Project: Community Packages
Opened by Michael Mogenson (jmogens) - Wednesday, 01 July 2020, 19:14 GMT
Last edited by Filipe Laíns (FFY00) - Wednesday, 15 July 2020, 13:43 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Filipe Laíns (FFY00)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
python-userpath package should require python-distro as a dependency


Additional info:
* since version 1.30: https://github.com/ofek/userpath/blob/a763ba69a90368f69e3a054a8ceadb775ac78ff0/README.rst#130
* distro dependency listed here: https://github.com/ofek/userpath/blob/fab5c340568d2ad2d8db3f30c8f70d6def2dd34a/setup.py#L54

Steps to reproduce:

$ pacman -S python-userpath
$ userpath
Traceback (most recent call last):
File "/usr/bin/userpath", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3261, in <module>
def _initialize_master_working_set():
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3244, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 3273, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 583, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 900, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 786, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'distro' distribution was not found and is required by userpath
This task depends upon

Closed by  Filipe Laíns (FFY00)
Wednesday, 15 July 2020, 13:43 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-userpath 1.3.0-2
Comment by battuta (battuta) - Wednesday, 15 July 2020, 12:13 GMT
This also breaks `python-pipx`

Loading...