Date: Sat, 9 Mar 2024 15:05:13 +0000 (UTC) From: Filippo Moretti <filippomore@yahoo.com> To: Freebsd-stable List <stable@freebsd.org> Subject: Error building py-setuptools-scm in STABLE.10 Message-ID: <843286264.2438054.1709996713562@mail.yahoo.com> References: <843286264.2438054.1709996713562.ref@mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_2438053_798683948.1709996713561 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable The following is the error while attempting the build os this portFilippo =3D=3D=3D>=C2=A0 Building for py39-setuptools-scm-8.0.4 * Getting build dependencies for wheel... Traceback (most recent call last): =C2=A0 File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_pro= cess/_in_process.py", line 353, in <module> =C2=A0=C2=A0=C2=A0 main() =C2=A0 File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_pro= cess/_in_process.py", line 335, in main =C2=A0=C2=A0=C2=A0 json_out['return_val'] =3D hook(**hook_input['kwargs']) =C2=A0 File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_pro= cess/_in_process.py", line 118, in get_requires_for_build_wheel =C2=A0=C2=A0=C2=A0 return hook(config_settings) =C2=A0 File "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.p= y", line 177, in get_requires_for_build_wheel =C2=A0=C2=A0=C2=A0 return self._get_build_requires( =C2=A0 File "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.p= y", line 159, in _get_build_requires =C2=A0=C2=A0=C2=A0 self.run_setup() =C2=A0 File "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.p= y", line 174, in run_setup =C2=A0=C2=A0=C2=A0 exec(compile(code, __file__, 'exec'), locals()) =C2=A0 File "setup.py", line 1, in <module> =C2=A0 File "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py"= , line 87, in setup =C2=A0=C2=A0=C2=A0 return distutils.core.setup(**attrs) =C2=A0 File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/c= ore.py", line 139, in setup =C2=A0=C2=A0=C2=A0 _setup_distribution =3D dist =3D klass(attrs) =C2=A0 File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", li= ne 476, in __init__ =C2=A0=C2=A0=C2=A0 _Distribution.__init__( =C2=A0 File "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/d= ist.py", line 275, in __init__ =C2=A0=C2=A0=C2=A0 self.finalize_options() =C2=A0 File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", li= ne 899, in finalize_options =C2=A0=C2=A0=C2=A0 for ep in sorted(loaded, key=3Dby_order): =C2=A0 File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", li= ne 898, in <lambda> =C2=A0=C2=A0=C2=A0 loaded =3D map(lambda e: e.load(), filtered) =C2=A0 File "/usr/local/lib/python3.9/site-packages/setuptools/_vendor/impo= rtlib_metadata/__init__.py", line 196, in load =C2=A0=C2=A0=C2=A0 return functools.reduce(getattr, attrs, module) AttributeError: module 'setuptools_scm.integration' has no attribute 'infer= _version' ERROR Backend subprocess exited when trying to invoke get_requires_for_buil= d_wheel *** Error code 1 Stop. make: stopped in /usr/ports/devel/py-setuptools-scm [root@ROXY /usr/ports/devel/py-setuptools-scm]#=20 ------=_Part_2438053_798683948.1709996713561 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <html><head></head><body><div class=3D"yahoo-style-wrap" style=3D"font-fami= ly:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir= =3D"ltr" data-setdir=3D"false"><div dir=3D"ltr" data-setdir=3D"false">The f= ollowing is the error while attempting the build os this port</div><div dir= =3D"ltr" data-setdir=3D"false">Filippo<br></div><div><br></div><div><br></d= iv><div><br></div><div><br></div><div>=3D=3D=3D> Building for py39= -setuptools-scm-8.0.4<br>* Getting build dependencies for wheel...<br>Trace= back (most recent call last):<br> File "/usr/local/lib/python3.9/site= -packages/pyproject_hooks/_in_process/_in_process.py", line 353, in <mod= ule><br> main()<br> File "/usr/local/lib/python3= .9/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in = main<br> json_out['return_val'] =3D hook(**hook_input['kw= args'])<br> File "/usr/local/lib/python3.9/site-packages/pyproject_ho= oks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel<= br> return hook(config_settings)<br> File "/usr/loc= al/lib/python3.9/site-packages/setuptools/build_meta.py", line 177, in get_= requires_for_build_wheel<br> return self._get_build_requi= res(<br> File "/usr/local/lib/python3.9/site-packages/setuptools/buil= d_meta.py", line 159, in _get_build_requires<br> self.run= _setup()<br> File "/usr/local/lib/python3.9/site-packages/setuptools/= build_meta.py", line 174, in run_setup<br> exec(compile(c= ode, __file__, 'exec'), locals())<br> File "setup.py", line 1, in <= ;module><br> File "/usr/local/lib/python3.9/site-packages/setuptoo= ls/__init__.py", line 87, in setup<br> return distutils.c= ore.setup(**attrs)<br> File "/usr/local/lib/python3.9/site-packages/s= etuptools/_distutils/core.py", line 139, in setup<br> _se= tup_distribution =3D dist =3D klass(attrs)<br> File "/usr/local/lib/p= ython3.9/site-packages/setuptools/dist.py", line 476, in __init__<br> = _Distribution.__init__(<br> File "/usr/local/lib/python3= .9/site-packages/setuptools/_distutils/dist.py", line 275, in __init__<br>&= nbsp; self.finalize_options()<br> File "/usr/local/lib/py= thon3.9/site-packages/setuptools/dist.py", line 899, in finalize_options<br= > for ep in sorted(loaded, key=3Dby_order):<br> Fil= e "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 898, in= <lambda><br> loaded =3D map(lambda e: e.load(), fi= ltered)<br> File "/usr/local/lib/python3.9/site-packages/setuptools/_= vendor/importlib_metadata/__init__.py", line 196, in load<br> &n= bsp; return functools.reduce(getattr, attrs, module)<br>AttributeError: mod= ule 'setuptools_scm.integration' has no attribute 'infer_version'<br><br>ER= ROR Backend subprocess exited when trying to invoke get_requires_for_build_= wheel<br>*** Error code 1<br><br>Stop.<br>make: stopped in /usr/ports/devel= /py-setuptools-scm<br>[root@ROXY /usr/ports/devel/py-setuptools-scm]# <br><= br><br></div><br></div></div></body></html> ------=_Part_2438053_798683948.1709996713561--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?843286264.2438054.1709996713562>