Date: Mon, 11 Mar 2024 14:27:47 +0100 From: Peter Blok <pblok@bsd4all.org> To: Daniel Braniss <danny@cs.huji.ac.il> Cc: Filippo Moretti <filippomore@yahoo.com>, Freebsd-stable List <stable@freebsd.org> Subject: Re: Error building py-setuptools-scm in STABLE.10 Message-ID: <785838D8-9173-4826-9780-806FBD943A66@bsd4all.org> In-Reply-To: <F9D123DC-B2CE-4F7C-A186-6C0ED5FA88A5@cs.huji.ac.il> References: <843286264.2438054.1709996713562.ref@mail.yahoo.com> <843286264.2438054.1709996713562@mail.yahoo.com> <F9D123DC-B2CE-4F7C-A186-6C0ED5FA88A5@cs.huji.ac.il>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_7EAC0FB4-0E72-472D-A31A-BA3AB0A9FF86 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii I removed py39-setuptools_scm , did a pkg autoremove, followed by a = fresh build of py-setuptools-scm and it completed ok > On 11 Mar 2024, at 07:30, Daniel Braniss <danny@cs.huji.ac.il> wrote: >=20 > same in stable 13.3 >=20 >> On 9 Mar 2024, at 17:05, Filippo Moretti <filippomore@yahoo.com = <mailto:filippomore@yahoo.com>> wrote: >>=20 >> The following is the error while attempting the build os this port >> Filippo >>=20 >>=20 >>=20 >>=20 >> =3D=3D=3D> Building for py39-setuptools-scm-8.0.4 >> * Getting build dependencies for wheel... >> Traceback (most recent call last): >> File = "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_pr= ocess.py", line 353, in <module> >> main() >> File = "/usr/local/lib/python39/site-packages/pyproject_hooks/_in_process/_in_pro= cess.py", line 335, in main >> json_out['return_val'] =3D hook(**hook_input['kwargs']) >> File = "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_pr= ocess.py", line 118, in get_requires_for_build_wheel >> return hook(config_settings) >> File = "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.py", line = 177, in get_requires_for_build_wheel >> return self._get_build_requires( >> File = "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.py", line = 159, in _get_build_requires >> self.run_setup() >> File = "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.py", line = 174, in run_setup >> exec(compile(code, __file__, 'exec'), locals()) >> File "setup.py", line 1, in <module> >> File = "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line = 87, in setup >> return distutils.core.setup(**attrs) >> File = "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/core.py", = line 139, in setup >> _setup_distribution =3D dist =3D klass(attrs) >> File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", = line 476, in __init__ >> _Distribution.__init__( >> File = "/usr/local/lib/python39/site-packages/setuptools/_distutils/dist.py", = line 275, in __init__ >> self.finalize_options() >> File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", = line 899, in finalize_options >> for ep in sorted(loaded, key=3Dby_order): >> File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", = line 898, in <lambda> >> loaded =3D map(lambda e: e.load(), filtered) >> File = "/usr/local/lib/python3.9/site-packages/setuptools/_vendor/importlib_metad= ata/__init__.py", line 196, in load >> return functools.reduce(getattr, attrs, module) >> AttributeError: module 'setuptools_scm.integration' has no attribute = 'infer_version' >>=20 >> ERROR Backend subprocess exited when trying to invoke = get_requires_for_build_wheel >> *** Error code 1 >>=20 >> Stop. >> make: stopped in /usr/ports/devel/py-setuptools-scm >> [root@ROXY /usr/ports/devel/py-setuptools-scm]#=20 >>=20 >>=20 >>=20 >=20 --Apple-Mail=_7EAC0FB4-0E72-472D-A31A-BA3AB0A9FF86 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">I = removed py39-setuptools_scm , did a pkg autoremove, followed by a fresh = build of py-setuptools-scm and it completed ok<br class=3D""><div><br = class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">On 11 = Mar 2024, at 07:30, Daniel Braniss <<a = href=3D"mailto:danny@cs.huji.ac.il" class=3D"">danny@cs.huji.ac.il</a>>= wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><meta= http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii" = class=3D""><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: = space; line-break: after-white-space;" class=3D"">same in stable 13.3<br = class=3D""><div class=3D""><br class=3D""><blockquote type=3D"cite" = class=3D""><div class=3D"">On 9 Mar 2024, at 17:05, Filippo Moretti = <<a href=3D"mailto:filippomore@yahoo.com" = class=3D"">filippomore@yahoo.com</a>> wrote:</div><br = class=3D"Apple-interchange-newline"><div class=3D""><div class=3D""><div = class=3D"yahoo-style-wrap" style=3D"font-family:Helvetica Neue, = Helvetica, Arial, sans-serif;font-size:13px;"><div dir=3D"ltr" = data-setdir=3D"false" class=3D""><div dir=3D"ltr" data-setdir=3D"false" = class=3D"">The following is the error while attempting the build os this = port</div><div dir=3D"ltr" data-setdir=3D"false" class=3D"">Filippo<br = class=3D""></div><div class=3D""><br class=3D""></div><div class=3D""><br = class=3D""></div><div class=3D""><br class=3D""></div><div class=3D""><br = class=3D""></div><div class=3D"">=3D=3D=3D> Building for = py39-setuptools-scm-8.0.4<br class=3D"">* Getting build dependencies for = wheel...<br class=3D"">Traceback (most recent call last):<br = class=3D""> File = "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_pr= ocess.py", line 353, in <module><br class=3D""> = main()<br class=3D""> File = "/usr/local/lib/python39/site-packages/pyproject_hooks/_in_process/_in_pro= cess.py", line 335, in main<br class=3D""> = json_out['return_val'] =3D hook(**hook_input['kwargs'])<br = class=3D""> File = "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_pr= ocess.py", line 118, in get_requires_for_build_wheel<br = class=3D""> return hook(config_settings)<br = class=3D""> File = "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.py", line = 177, in get_requires_for_build_wheel<br class=3D""> = return self._get_build_requires(<br class=3D""> File = "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.py", line = 159, in _get_build_requires<br class=3D""> = self.run_setup()<br class=3D""> File = "/usr/local/lib/python3.9/site-packages/setuptools/build_meta.py", line = 174, in run_setup<br class=3D""> exec(compile(code, = __file__, 'exec'), locals())<br class=3D""> File "setup.py", line = 1, in <module><br class=3D""> File = "/usr/local/lib/python3.9/site-packages/setuptools/__init__.py", line = 87, in setup<br class=3D""> return = distutils.core.setup(**attrs)<br class=3D""> File = "/usr/local/lib/python3.9/site-packages/setuptools/_distutils/core.py", = line 139, in setup<br class=3D""> _setup_distribution = =3D dist =3D klass(attrs)<br class=3D""> File = "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 476, = in __init__<br class=3D""> _Distribution.__init__(<br = class=3D""> File = "/usr/local/lib/python39/site-packages/setuptools/_distutils/dist.py", = line 275, in __init__<br class=3D""> = self.finalize_options()<br class=3D""> File = "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 899, = in finalize_options<br class=3D""> for ep in = sorted(loaded, key=3Dby_order):<br class=3D""> File = "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 898, = in <lambda><br class=3D""> loaded =3D map(lambda = e: e.load(), filtered)<br class=3D""> File = "/usr/local/lib/python3.9/site-packages/setuptools/_vendor/importlib_metad= ata/__init__.py", line 196, in load<br class=3D""> = return functools.reduce(getattr, attrs, module)<br = class=3D"">AttributeError: module 'setuptools_scm.integration' has no = attribute 'infer_version'<br class=3D""><br class=3D"">ERROR Backend = subprocess exited when trying to invoke get_requires_for_build_wheel<br = class=3D"">*** Error code 1<br class=3D""><br class=3D"">Stop.<br = class=3D"">make: stopped in /usr/ports/devel/py-setuptools-scm<br = class=3D"">[root@ROXY /usr/ports/devel/py-setuptools-scm]# <br = class=3D""><br class=3D""><br class=3D""></div><br = class=3D""></div></div></div></div></blockquote></div><br = class=3D""></div></div></blockquote></div><br class=3D""></body></html>= --Apple-Mail=_7EAC0FB4-0E72-472D-A31A-BA3AB0A9FF86--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?785838D8-9173-4826-9780-806FBD943A66>