From nobody Sat Mar 02 07:34:35 2024 X-Original-To: freebsd-ports@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 4TmxYk3yCXz5CDpr for ; Sat, 2 Mar 2024 07:34:50 +0000 (UTC) (envelope-from xavier@groumpf.org) Received: from aragorn.amdh.fr (aragorn.groumpf.org [176.31.180.205]) by mx1.freebsd.org (Postfix) with ESMTP id 4TmxYj1q2gz46D4 for ; Sat, 2 Mar 2024 07:34:49 +0000 (UTC) (envelope-from xavier@groumpf.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=groumpf.org header.s=dkim header.b="M LnPrf0"; dmarc=none; spf=pass (mx1.freebsd.org: domain of xavier@groumpf.org designates 176.31.180.205 as permitted sender) smtp.mailfrom=xavier@groumpf.org Received: from numenor.groumpf.org (freebox-server.groumpf.org [82.64.247.11]) by aragorn.amdh.fr (Postfix) with ESMTP id D74B23E601AF for ; Sat, 2 Mar 2024 08:34:41 +0100 (CET) Received: from numenor.groumpf.org (localhost [127.0.0.1]) by numenor.groumpf.org (Postfix) with ESMTP id 8FFA21D5D1F for ; Sat, 2 Mar 2024 08:34:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groumpf.org; h= content-transfer-encoding:content-type:content-type:subject :subject:from:from:content-language:user-agent:mime-version:date :date:message-id:received:received; s=dkim; t=1709364876; x= 1710228877; bh=+dt1i0mZJ4PQREX/ehCNBCrMYs38KDi8GOE8yVt08FI=; b=M LnPrf0nu7oCwJVyd4bWaViBNst33Vr5aGUOxobOzWPepzH1QaC8vo0bxgGTIbrsC NApgDUu8mnk9EU3QPnni+x6nyIbLhaX6CwCKRe3OUtK9ArrCVb9eJJ++o/BHjep7 L0npxPIyd5yussRxOIjg2vBLIHWXkVXB7mC2FaAB+Ie9dn7nbPWWkaBVYQQegW8E ecKE2r3PWKE9yos12wpfDxzbxnGXcec8E32HEY/lRM1/XOXl2s/hY0irg+9/MZUr ZN1MM00yNKXaVOhSn8JtxsNaO5SWmX+3/xXVuZkOvm0kYCwpTb5VMZoPCzyDblh6 SZEOqDeH5tJ54EmDqsdMqay22oiImHi7foXgimaHZjda9D3tEPOaqxXGX36VlXOE TaJb/nKJP57LM2ozsVRM2uZtxmYsPAFNrR+nJVYSe4JX2wRze/a9Ac+O65PsKhgi /6OkCQSr+4w90k+uUkqqeVtUP8sIjIrsb6HAsMbJvF4OfWzkczve+S0AsRJt5492 RU8AmcBYaYPFfXfRmBGz9FqBB6WXz6uw/6XXF9HJ86B0DIzO3EzZvcvG4sGSJLiw FiMdHR5xLLUmshxSUXMqfQfHKyEQv8Aph9jiT10D68b7nWeJN6ezY4jGjLj2dyR8 NOZgzlPzA6A4wUpgEPrZ6eozDbWIkB7DSkMXbMlru8= Received: from numenor.groumpf.org ([127.0.0.1]) by numenor.groumpf.org (ns3.groumpf.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id hP3ptyGE-5d9 for ; Sat, 2 Mar 2024 08:34:36 +0100 (CET) Received: from [192.168.100.30] (imladris.groumpf.org [192.168.100.30]) by numenor.groumpf.org (Postfix) with ESMTPSA id D05BB1D5C61 for ; Sat, 2 Mar 2024 08:34:35 +0100 (CET) Message-ID: <154c7cec-2703-4a57-b2cf-0fc94a0f8ee9@groumpf.org> Date: Sat, 2 Mar 2024 08:34:35 +0100 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta Content-Language: fr, en-US To: FreeBSD Ports ML From: Xavier Humbert Subject: py-setuptools-scm error Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.39 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_SPF_ALLOW(-0.20)[+ip4:176.31.180.205]; R_DKIM_ALLOW(-0.20)[groumpf.org:s=dkim]; MIME_GOOD(-0.10)[text/plain]; RCVD_NO_TLS_LAST(0.10)[]; XM_UA_NO_VERSION(0.01)[]; TO_DN_ALL(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[groumpf.org]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[groumpf.org:+]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:16276, ipnet:176.31.0.0/16, country:FR]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MIME_TRACE(0.00)[0:+] X-Rspamd-Queue-Id: 4TmxYj1q2gz46D4 Hi, Now thet py-setuptools-scm 8 is out, tried to upgrade : [root@numenor ports]# portupgrade -vf -o devel/py-setuptools-scm py39-setuptools_scm-6.4.2 --->  Session started at: Sat, 02 Mar 2024 08:31:04 +0100 [Reading data from pkg(8) ... - 1757 packages found - done] ** Detected a package name change: py39-setuptools_scm (devel/py-setuptools_scm) -> 'py39-setuptools-scm' (devel/py-setuptools-scm) --->  Upgrade of devel/py-setuptools-scm started at: Sat, 02 Mar 2024 08:31:06 +0100 --->  Upgrading 'py39-setuptools_scm-6.4.2' to 'py39-setuptools-scm-8.0.4' (devel/py-setuptools-scm) --->  Build of devel/py-setuptools-scm started at: Sat, 02 Mar 2024 08:31:06 +0100 --->  Building '/usr/ports/devel/py-setuptools-scm' with make flags: -DDISABLE_CONFLICTS ===>  Cleaning for py39-setuptools-scm-8.0.4 ===>  License MIT accepted by the user ===>   py39-setuptools-scm-8.0.4 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by py39-setuptools-scm-8.0.4 for building ===>  Extracting for py39-setuptools-scm-8.0.4 => SHA256 Checksum OK for setuptools-scm-8.0.4.tar.gz. ===>  Patching for py39-setuptools-scm-8.0.4 ===>   py39-setuptools-scm-8.0.4 depends on package: py39-setuptools>0 - found ===>   py39-setuptools-scm-8.0.4 depends on package: py39-wheel>0 - found ===>   py39-setuptools-scm-8.0.4 depends on file: /usr/local/bin/python3.9 - found ===>   py39-setuptools-scm-8.0.4 depends on package: py39-tomli>0 - found ===>   py39-setuptools-scm-8.0.4 depends on package: py39-build>=0 - found ===>   py39-setuptools-scm-8.0.4 depends on package: py39-installer>=0 - found ===>  Configuring for py39-setuptools-scm-8.0.4 ===>  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_process.py", line 353, in     main()   File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.py", line 335, in main     json_out['return_val'] = hook(**hook_input['kwargs'])   File "/usr/local/lib/python3.9/site-packages/pyproject_hooks/_in_process/_in_process.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 = dist = klass(attrs)   File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 476, in __init__     _Distribution.__init__(   File "/usr/local/lib/python3.9/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=by_order):   File "/usr/local/lib/python3.9/site-packages/setuptools/dist.py", line 898, in     loaded = map(lambda e: e.load(), filtered)   File "/usr/local/lib/python3.9/site-packages/setuptools/_vendor/importlib_metadata/__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 Any idea to fix it ? Regards, Xavier -- Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer https://www.amdh.fr