Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jun 2023 17:07:58 +0200
From:      Xavier Humbert <xavier@groumpf.org>
To:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Error compiling textproc/py-rich
Message-ID:  <e6426b38-ba4a-56fb-c3ff-d68427e9e696@groumpf.org>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------oqnmaVjhhRhugF0Pj10kjwWL
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

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

--------------oqnmaVjhhRhugF0Pj10kjwWL
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><font face="monospace">Hi,</font></p>
    <p><font face="monospace">I'm unable to compile textproc/py-rich :</font></p>
    <p>
      <blockquote type="cite"><font face="monospace">[root@numenor
          py-rich]# make all<br>
          ===&gt;  Building for py39-rich-13.4.1<br>
          * Getting build dependencies for wheel...<br>
          <br>
          Traceback (most recent call last):<br>
            File
          "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_impl.py",
          line 321, in _call_hook<br>
              raise BackendUnavailable(data.get('traceback', ''))<br>
          pyproject_hooks._impl.BackendUnavailable: Traceback (most
          recent call last):<br>
            File
"/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py",
          line 77, in _build_backend<br>
              obj = import_module(mod_path)<br>
            File "/usr/local/lib/python3.9/importlib/__init__.py", line
          127, in import_module<br>
              return _bootstrap._gcd_import(name[level:], package,
          level)<br>
            File "&lt;frozen importlib._bootstrap&gt;", line 1030, in
          _gcd_import<br>
            File "&lt;frozen importlib._bootstrap&gt;", line 1007, in
          _find_and_load<br>
            File "&lt;frozen importlib._bootstrap&gt;", line 972, in
          _find_and_load_unlocked<br>
            File "&lt;frozen importlib._bootstrap&gt;", line 228, in
          _call_with_frames_removed<br>
            File "&lt;frozen importlib._bootstrap&gt;", line 1030, in
          _gcd_import<br>
            File "&lt;frozen importlib._bootstrap&gt;", line 1007, in
          _find_and_load<br>
            File "&lt;frozen importlib._bootstrap&gt;", line 972, in
          _find_and_load_unlocked<br>
            File "&lt;frozen importlib._bootstrap&gt;", line 228, in
          _call_with_frames_removed<br>
            File "&lt;frozen importlib._bootstrap&gt;", line 1030, in
          _gcd_import<br>
            File "&lt;frozen importlib._bootstrap&gt;", line 1007, in
          _find_and_load<br>
            File "&lt;frozen importlib._bootstrap&gt;", line 984, in
          _find_and_load_unlocked<br>
          ModuleNotFoundError: No module named 'poetry.core'<br>
          <br>
          <u><b>ERROR Backend 'poetry.core.masonry.api' is not
              available.</b></u><br>
          *** Error code 1<br>
          <br>
        </font></blockquote>
      <font face="monospace">I have these ports installed :</font></p>
    <p><font face="monospace">[root@numenor py-rich]# pkg info
        \*poetry\*<br>
        py39-poetry-1.3.2_2<br>
        py39-poetry-core-1.4.0_2<br>
        py39-poetry-plugin-export-1.3.1<br>
      </font></p>
    <p><font face="monospace">Google doesn't help.</font></p>
    <p><font face="monospace">Thanks</font></p>
    <p><font face="monospace">Best regards</font></p>
    <p><font face="monospace">Xavier<br>
      </font></p>
    <pre class="moz-signature" cols="72">-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
<a class="moz-txt-link-freetext" href="https://www.amdh.fr">https://www.amdh.fr</a>;
</pre>
  </body>
</html>

--------------oqnmaVjhhRhugF0Pj10kjwWL--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e6426b38-ba4a-56fb-c3ff-d68427e9e696>