From nobody Sat Jul 06 17:55:08 2024 X-Original-To: python@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 4WGdMW014mz5PGZn for ; Sat, 06 Jul 2024 17:55:19 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from mx-2023-1.gwdg.de (mx-2023-1.gwdg.de [134.76.10.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WGdMV0D1Yz50HP; Sat, 6 Jul 2024 17:55:18 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gwdg.de header.s=2023-rsa header.b=plOPn2cJ; dmarc=pass (policy=none) header.from=gwdg.de; spf=pass (mx1.freebsd.org: domain of rhurlin@gwdg.de designates 134.76.10.21 as permitted sender) smtp.mailfrom=rhurlin@gwdg.de DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gwdg.de; s=2023-rsa; h=Content-Transfer-Encoding:Content-Type:Reply-To:Subject:From:To :MIME-Version:Date:Message-ID:Sender:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=gXKxu3KSpbFRS1p9yHIq0ZAf9DNUSqwA8xELdWzaE0Q=; b=plOPn2cJuNVaw8F9i26QJjXE1D 8xNQLcWQs5k9nsrtZvO+JdwOA+t5+4qQcnmrtmfA63YHQv8ZL44FpmoumVQ/+SFACKG/+pUbLia7V SR5TMFJB/Pt4r04DHnSWfosteJ+AD7jlwEQMGMYIlPVor1B9gMEW6rUF7ENQRQpL13Ge9dTGrGLnF 01D7aLR9D5NsHKNFM4z3Qy7knxeWmF+X3OV2gfWgLf9xrDWNJi6yXuQ1Ur3oYy2XNcWL3akoPOhrF UfY+A/w9cr2zYvEgejoH7idKXbpMy5ujGO0Nefyd224J/3h59nF4JGmk1bTQqJ2/oWBF+eDXT1Cwl DuczEMzg==; Received: from xmailer.gwdg.de ([134.76.10.29]:55849) by mailer.gwdg.de with esmtp (GWDG Mailer) (envelope-from ) id 1sQ9cy-002T43-0W; Sat, 06 Jul 2024 19:55:16 +0200 Received: from mbx19-gwd-03.um.gwdg.de ([10.108.142.56] helo=email.gwdg.de) by mailer.gwdg.de with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (GWDG Mailer) (envelope-from ) id 1sQ9cy-000MbI-0M; Sat, 06 Jul 2024 19:55:16 +0200 Received: from [192.168.178.23] (10.250.9.199) by MBX19-GWD-03.um.gwdg.de (10.108.142.56) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.2.1544.11; Sat, 6 Jul 2024 19:55:09 +0200 Message-ID: Date: Sat, 6 Jul 2024 19:55:08 +0200 List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-python@freebsd.org Sender: owner-freebsd-python@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: , Content-Language: en-US, de-DE From: Rainer Hurling Subject: devel/py-setuptools-scm does not build, if devel/py-setuptools_scm7 installed Reply-To: Rainer Hurling Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.250.9.199] X-ClientProxiedBy: MBX19-SUB-08.um.gwdg.de (10.108.142.73) To MBX19-GWD-03.um.gwdg.de (10.108.142.56) X-Virus-Scanned: (clean) by clamav X-Spam-Level: - X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.06 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[gwdg.de:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.97)[-0.966]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DMARC_POLICY_ALLOW(-0.50)[gwdg.de,none]; RCVD_IN_DNSWL_MED(-0.40)[134.76.10.21:from,134.76.10.29:received]; R_SPF_ALLOW(-0.20)[+ip4:134.76.10.0/23]; RWL_MAILSPIKE_VERYGOOD(-0.20)[134.76.10.21:from]; R_DKIM_ALLOW(-0.20)[gwdg.de:s=2023-rsa]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_COUNT_THREE(0.00)[3]; REPLYTO_DN_EQ_FROM_DN(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gwdg.de:+]; HAS_XOIP(0.00)[]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; MLMMJ_DEST(0.00)[python@freebsd.org]; ASN(0.00)[asn:207592, ipnet:134.76.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; FREEFALL_USER(0.00)[rhurlin]; HAS_REPLYTO(0.00)[rhurlin@FreeBSD.org] X-Rspamd-Queue-Id: 4WGdMV0D1Yz50HP This happens to devel/py-setuptools-scm, if devel/py-setuptools_scm7 is installed: ===> Building for py311-setuptools-scm-8.0.4 * Getting build dependencies for wheel... Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in main() File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 357, in main json_out["return_val"] = hook(**hook_input["kwargs"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py", line 134, in get_requires_for_build_wheel return hook(config_settings) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/setuptools/build_meta.py", line 177, in get_requires_for_build_wheel return self._get_build_requires( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/setuptools/build_meta.py", line 159, in _get_build_requires self.run_setup() File "/usr/local/lib/python3.11/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.11/site-packages/setuptools/__init__.py", line 87, in setup return distutils.core.setup(**attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 139, in setup _setup_distribution = dist = klass(attrs) ^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/setuptools/dist.py", line 476, in __init__ _Distribution.__init__( File "/usr/local/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 275, in __init__ self.finalize_options() File "/usr/local/lib/python3.11/site-packages/setuptools/dist.py", line 899, in finalize_options for ep in sorted(loaded, key=by_order): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/setuptools/dist.py", line 898, in loaded = map(lambda e: e.load(), filtered) ^^^^^^^^ File "/usr/local/lib/python3.11/importlib/metadata/__init__.py", line 204, 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 Vice versa, if devel/py-setuptools-scm is installed, devel/py-setuptools_scm7 has a conflict: Installing py311-setuptools_scm7-7.1.0... pkg-static: py311-setuptools_scm7-7.1.0 conflicts with py311-setuptools-scm-8.0.4 (installs files into the same place). Problematic file: /usr/local/lib/python3.11/site-packages/setuptools_scm/__init__.py *** Error code 1 Any ideas? I really need both installed because of dependencies, scm v7.1.0 and v8.0.4. Thanks for any hint. Best wishes, Rainer