Community Packages

Please read this before reporting a bug:

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!

FS#69834 - [python-keyring] missing makedepend on python-toml

Attached to Project: Community Packages
Opened by Kevin Mihelich (kmihelich) - Sunday, 28 February 2021, 22:03 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 28 February 2021, 22:09 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Filipe LaĆ­ns (FFY00)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


Description: Checkdepends are being used as makedepends. When building without checks, the package fails to build. Missing a makedepend on python-pip.

Additional info:
* package version: 22.3.0-1
* log:
==> Starting build()...
WARNING: The wheel package is not available.
/usr/bin/python: No module named pip
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/setuptools/", line 75, in fetch_build_egg
File "/usr/lib/python3.9/", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpjwynj01d', '--quiet', 'toml']' returned non-zero exit status 1.

Steps to reproduce: Build in a clean chroot passing --nocheck to makepkg
This task depends upon

Comment by Eli Schwartz (eschwartz) - Sunday, 28 February 2021, 22:08 GMT
What, no, absolutely not.

The missing makedepends is on the toml module. Since it is missing, pip then tries to download and install it over the network, which is totally not ok. The solution is NEVER to install pip and let it do network things.