Error compiling textproc/py-rich

From: Xavier Humbert <xavier_at_groumpf.org>
Date: Sat, 03 Jun 2023 15:07:58 UTC
Hi,

I'm unable to compile textproc/py-rich :

> [root@numenor py-rich]# make all
> ===>  Building for py39-rich-13.4.1
> * Getting build dependencies for wheel...
>
> Traceback (most recent call last):
>   File 
> "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_impl.py", 
> line 321, in _call_hook
>     raise BackendUnavailable(data.get('traceback', ''))
> pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call 
> last):
>   File 
> "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py", 
> line 77, in _build_backend
>     obj = import_module(mod_path)
>   File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in 
> import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
>   File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
>   File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
>   File "<frozen importlib._bootstrap>", line 972, in 
> _find_and_load_unlocked
>   File "<frozen importlib._bootstrap>", line 228, in 
> _call_with_frames_removed
>   File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
>   File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
>   File "<frozen importlib._bootstrap>", line 972, in 
> _find_and_load_unlocked
>   File "<frozen importlib._bootstrap>", line 228, in 
> _call_with_frames_removed
>   File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
>   File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
>   File "<frozen importlib._bootstrap>", line 984, in 
> _find_and_load_unlocked
> ModuleNotFoundError: No module named 'poetry.core'
>
> _*ERROR Backend 'poetry.core.masonry.api' is not available.*_
> *** Error code 1
>
I have these ports installed :

[root@numenor py-rich]# pkg info \*poetry\*
py39-poetry-1.3.2_2
py39-poetry-core-1.4.0_2
py39-poetry-plugin-export-1.3.1

Google doesn't help.

Thanks

Best regards

Xavier

-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
https://www.amdh.fr