Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Sep 2022 12:26:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 266156] security/py-notus-scanner: cannot import name 'Path' from 'poetry.core.utils._compat'
Message-ID:  <bug-266156-7788@https.bugs.freebsd.org/bugzilla/>

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

            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.
=3D=3D=3D>   py39-notus-scanner-22.4.1 depends on file: /usr/local/bin/ccac=
he - found
=3D=3D=3D>   Returning to build of py39-notus-scanner-22.4.1
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: lib-depends    >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D>> Recording filesystem state for prebuild... done
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: configure      >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D>   py39-notus-scanner-22.4.1 depends on package: py39-poetry2setu=
p>0 -
found
=3D=3D=3D>   py39-notus-scanner-22.4.1 depends on package: py39-setuptools>=
=3D63.1.0 -
found
=3D=3D=3D>   py39-notus-scanner-22.4.1 depends on file: /usr/local/bin/pyth=
on3.9 -
found
=3D=3D=3D>   py39-notus-scanner-22.4.1 depends on file: /usr/local/bin/ccac=
he - found
=3D=3D=3D>  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=3D=3D1.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 =3D 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_remo=
ved
  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

--=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-266156-7788>