Circular dependency for devel/poetry ?
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Apr 2023 09:41:52 UTC
Hi, Trying to buil dpoetry, or py-poetry complains that it can find itself : [root@numenor ports]# cd devel/poetry [root@numenor poetry]# make all ===> poetry-python-tool-1.3.2_1 depends on package: py39-CacheControl>=0.12.9 - found ===> poetry-python-tool-1.3.2_1 depends on package: py39-cleo>0 - found ===> poetry-python-tool-1.3.2_1 depends on package: py39-crashtest>=0.4.1 - found ===> poetry-python-tool-1.3.2_1 depends on package: py39-dulwich>0 - found ===> poetry-python-tool-1.3.2_1 depends on package: py39-filelock>=3.8.0 - found ===> poetry-python-tool-1.3.2_1 depends on package: py39-html5lib>=1.0 - found ===> poetry-python-tool-1.3.2_1 depends on package: py39-importlib-metadata>=4.4 - found ===> poetry-python-tool-1.3.2_1 depends on package: py39-jsonschema>=4.10.0 - found ===> poetry-python-tool-1.3.2_1 depends on package: py39-keyring>=23.9.0 - found ===> poetry-python-tool-1.3.2_1 depends on package: py39-lockfile>=0.12.2 - found ===> poetry-python-tool-1.3.2_1 depends on package: py39-packaging>=20.4 - found ===> poetry-python-tool-1.3.2_1 depends on package: py39-pexpect>=4.7.0 - found ===> poetry-python-tool-1.3.2_1 depends on package: py39-pkginfo>=1.5 - found ===> poetry-python-tool-1.3.2_1 depends on package: py39-platformdirs>=2.5.2 - found ===> poetry-python-tool-1.3.2_1 depends on package: py39-poetry-core>0 - found ===> poetry-python-tool-1.3.2_1 depends on package: py39-poetry-plugin-export>=1.2.0 - not found ===> Building for py39-poetry-plugin-export-1.2.0 * 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 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' ERROR Backend 'poetry.core.masonry.api' is not available. *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/py-poetry-plugin-export *** Error code 1 Stop. make: stopped in /usr/ports/devel/poetry [root@numenor poetry]# cd ../py-poetry [root@numenor py-poetry]# make all ===> Building for py39-poetry-1.3.2_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 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' ERROR Backend 'poetry.core.masonry.api' is not available. *** Error code 1 Stop. make: stopped in /usr/ports/devel/py-poetry How can this be resolved ? FreeBSD STABLE-13, ports from HEAD Thanks Xavier -- Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer https://www.amdh.fr