[Bug 266156] security/py-notus-scanner: cannot import name 'Path' from 'poetry.core.utils._compat'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 01 Sep 2022 12:26:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266156 Bug ID: 266156 Summary: security/py-notus-scanner: cannot import name 'Path' from 'poetry.core.utils._compat' Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: acm@FreeBSD.org Reporter: girgen@FreeBSD.org Assignee: acm@FreeBSD.org Flags: maintainer-feedback?(acm@FreeBSD.org) notus-scanner fails to build in poudriere with a fresh ports tree: ImportError: cannot import name 'Path' from 'poetry.core.utils._compat' (/usr/local/lib/python3.9/site-packages/poetry/core/utils/_compat.py) ------ NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> py39-notus-scanner-22.4.1 depends on file: /usr/local/bin/ccache - found ===> Returning to build of py39-notus-scanner-22.4.1 =========================================================================== =======================<phase: lib-depends >============================ =========================================================================== =>> Recording filesystem state for prebuild... done =======================<phase: configure >============================ ===> py39-notus-scanner-22.4.1 depends on package: py39-poetry2setup>0 - found ===> py39-notus-scanner-22.4.1 depends on package: py39-setuptools>=63.1.0 - found ===> py39-notus-scanner-22.4.1 depends on file: /usr/local/bin/python3.9 - found ===> py39-notus-scanner-22.4.1 depends on file: /usr/local/bin/ccache - found ===> Configuring for py39-notus-scanner-22.4.1 Traceback (most recent call last): File "/usr/local/bin/poetry2setup", line 33, in <module> sys.exit(load_entry_point('poetry2setup==1.0.0', 'console_scripts', 'poetry2setup')()) File "/usr/local/bin/poetry2setup", line 25, in importlib_load_entry_point return next(matches).load() File "/usr/local/lib/python3.9/importlib/metadata.py", line 86, in load module = import_module(match.group('module')) 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 986, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 680, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 850, in exec_module File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "/usr/local/lib/python3.9/site-packages/poetry2setup.py", line 3, in <module> from poetry.core.utils._compat import Path ImportError: cannot import name 'Path' from 'poetry.core.utils._compat' (/usr/local/lib/python3.9/site-packages/poetry/core/utils/_compat.py) *** Error code 1 Stop. make: stopped in /usr/ports/security/py-notus-scanner build of security/py-notus-scanner | py39-notus-scanner-22.4.1 ended at Thu Sep 1 14:16:37 CEST 2022 build time: 00:00:09 -- You are receiving this mail because: You are the assignee for the bug.