FS#70026 - [python-cairosvg] python-pytest-runner is a makedepend, not a checkdepend

Attached to Project: Community Packages
Opened by Kevin Mihelich (kmihelich) - Wednesday, 17 March 2021, 01:49 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 09 May 2023, 00:23 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
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

Description: python-pytest-runner is a makedepend, not a checkdepend. The build fails without it when building without checks.


Additional info:
* package version(s)
* log:
==> Starting build()...
/usr/lib/python3.9/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'console-scripts' will not be supported in future versions. Please use the underscore name 'console_scripts' instead
warnings.warn(
/usr/lib/python3.9/site-packages/setuptools/dist.py:634: UserWarning: Usage of dash-separated 'python-tag' will not be supported in future versions. Please use the underscore name 'python_tag' instead
warnings.warn(
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/installer.py", line 75, in fetch_build_egg
subprocess.check_call(cmd)
File "/usr/lib/python3.9/subprocess.py", 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/tmpyzyhb731', '--quiet', 'pytest-runner']' returned non-zero exit status 1.

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

Closed by  Toolybird (Toolybird)
Tuesday, 09 May 2023, 00:23 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-cairosvg 2.5.2-2
Comment by Eli Schwartz (eschwartz) - Wednesday, 17 March 2021, 02:37 GMT
This could be fixed by sed in prepare(), too. Actually I have no idea why they list it in setup_requires. :/

Loading...