Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 816411

Summary: dev-python/pyproject2setuppy fails to process dev-python/pdm-pep517
Product: Gentoo Linux Reporter: anonymous <fakih18716>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: RESOLVED WONTFIX    
Severity: normal CC: python, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description anonymous 2021-10-05 11:44:08 UTC
I'm trying to construct dev-python/pdm-pep517::crocket-overlay which is required by net-misc/aria2p::crocket-overlay.

Aria2p is a terminal frontend to aria2c download manager daemon.

This is the error.

 * Package:    dev-python/pdm-pep517-0.8.4
 * Repository: crocket-overlay
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_9 userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * python3_9: running distutils-r1_run_phase distutils-r1_python_compile
python3.9 -m pyproject2setuppy build -j 8
Traceback (most recent call last):
  File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3.9/site-packages/pyproject2setuppy/__main__.py", line 55, in <module>
    main()
  File "/usr/lib/python3.9/site-packages/pyproject2setuppy/__main__.py", line 48, in main
    raise NotImplementedError(
NotImplementedError: Build backend pdm.pep517.api unknown

Reproducible: Always
Comment 1 anonymous 2021-10-05 12:03:43 UTC
*** Bug 816414 has been marked as a duplicate of this bug. ***
Comment 2 anonymous 2021-10-05 12:05:12 UTC
See how beautiful https://github.com/pawamoy/aria2p is.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-02-27 08:36:38 UTC
pp2sp is dead.  DISTUTILS_USE_PEP517 should handle PDM just fine.
Comment 4 anonymous 2022-02-28 04:24:30 UTC
DISTUTILS_USE_PEP517=pdm?
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-28 04:32:46 UTC
(In reply to crocket from comment #4)
> DISTUTILS_USE_PEP517=pdm?

https://projects.gentoo.org/python/guide/distutils.html#pep-517-build-systems

yep!