Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 799383 - dev-python/pyproject2setuppy make it work with maturin
Summary: dev-python/pyproject2setuppy make it work with maturin
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2021-06-30 19:06 UTC by Alessandro Barbieri
Modified: 2021-10-05 11:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2021-06-30 19:06:52 UTC
I'm trying to package orjson and they use pyproject.toml with maturin
The current pyproject2setuppy fail
at compiling with

python3.9 -m pyproject2setuppy build -j 12                                                                                                                                                                                                  
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 52, in <module>                                                                                                                                               
    main()                                                                                                                                                                                                                                  
  File "/usr/lib/python3.9/site-packages/pyproject2setuppy/__main__.py", line 45, in main                                                                                                                                                   
    raise NotImplementedError(                                                                                                                                                                                                              
NotImplementedError: Build backend maturin unknown

at installing with

>>> Install dev-python/orjson-3.5.3 into /var/tmp/portage/dev-python/orjson-3.5.3/image
python3.9 -m pyproject2setuppy install --skip-build --root=/var/tmp/portage/dev-python/orjson-3.5.3/image
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 52, in <module>
    main()        
  File "/usr/lib/python3.9/site-packages/pyproject2setuppy/__main__.py", line 45, in main
    raise NotImplementedError(
NotImplementedError: Build backend maturin unknown
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-06-30 19:28:48 UTC
I currently have less than zero interest in Rust.
Comment 2 crocket 2021-10-05 11:36:49 UTC
When I try to build dev-python/pdm-pep517::crocket-overlay, I get this error.

NotImplementedError: Build backend pdm.pep517.api unknown