Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2023 18:43:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 270549] devel/py-poetry-core: Does not install py files since switching to pep517
Message-ID:  <bug-270549-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270549

            Bug ID: 270549
           Summary: devel/py-poetry-core: Does not install py files since
                    switching to pep517
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: rhurlin@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

If I try to update textproc/py-rich, I get


=3D=3D=3D>  Building for py39-rich-13.3.3_1
* Getting build dependencies for wheel...

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_impl.py", l=
ine
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_pro=
cess.py",
line 77, in _build_backend
    obj =3D 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 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'poetry.core.masonry.api'

ERROR Backend 'poetry.core.masonry.api' is not available.


textproc/py-rich seems to expect the module 'poetry.core.masonry.api' belon=
ging
to devel/py-poetry-core(?), but this port does not install .py files anymor=
e.
This happens since the change from distutils to pep517 ...


BTW, there are newer versions of py-poetry-core at Github[1].

[1] https://github.com/python-poetry/poetry-core/releases/tag/1.5.2

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270549-7788>