From nobody Mon Mar 11 13:27:47 2024 X-Original-To: stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ttcz132lKz5D00h for ; Mon, 11 Mar 2024 13:27:57 +0000 (UTC) (envelope-from pblok@bsd4all.org) Received: from mail.bsd4all.org (mail.bsd4all.org [88.99.169.216]) by mx1.freebsd.org (Postfix) with ESMTP id 4Ttcz110YFz4HVT for ; Mon, 11 Mar 2024 13:27:57 +0000 (UTC) (envelope-from pblok@bsd4all.org) Authentication-Results: mx1.freebsd.org; none Received: from mail.bsd4all.org (localhost [127.0.0.1]) by mail.bsd4all.org (Postfix) with ESMTP id D18B7E2F0; Mon, 11 Mar 2024 13:27:49 +0100 (CET) X-Virus-Scanned: amavisd-new at bsd4all.org Received: from mail.bsd4all.org ([127.0.0.1]) by mail.bsd4all.org (mail.bsd4all.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sS93DWA4SULT; Mon, 11 Mar 2024 13:27:49 +0100 (CET) Received: from smtpclient.apple (pony_ip [204.168.249.121]) by mail.bsd4all.org (Postfix) with ESMTPSA id D08FCE1FE; Mon, 11 Mar 2024 13:27:48 +0100 (CET) From: Peter Blok Message-Id: <785838D8-9173-4826-9780-806FBD943A66@bsd4all.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_7EAC0FB4-0E72-472D-A31A-BA3AB0A9FF86" List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.8\)) Subject: Re: Error building py-setuptools-scm in STABLE.10 Date: Mon, 11 Mar 2024 14:27:47 +0100 In-Reply-To: Cc: Filippo Moretti , Freebsd-stable List To: Daniel Braniss References: <843286264.2438054.1709996713562.ref@mail.yahoo.com> <843286264.2438054.1709996713562@mail.yahoo.com> X-Mailer: Apple Mail (2.3696.120.41.1.8) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE] X-Rspamd-Queue-Id: 4Ttcz110YFz4HVT --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 wrote: >=20 > same in stable 13.3 >=20 >> On 9 Mar 2024, at 17:05, Filippo Moretti > 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 >> 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 >> 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 >> 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 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:

same in stable 13.3

On 9 Mar 2024, at 17:05, Filippo Moretti = <filippomore@yahoo.com> wrote:

The following is the error while attempting the build os this = port
Filippo




=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'

ERROR Backend = subprocess exited when trying to invoke get_requires_for_build_wheel
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/py-setuptools-scm
[root@ROXY /usr/ports/devel/py-setuptools-scm]#





= --Apple-Mail=_7EAC0FB4-0E72-472D-A31A-BA3AB0A9FF86--