From nobody Thu Nov 25 17:59:16 2021 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 E05EB18BD022 for ; Thu, 25 Nov 2021 17:59:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J0QcP3jwZz3sHT for ; Thu, 25 Nov 2021 17:59:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 08F5421CCD for ; Thu, 25 Nov 2021 17:59:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1APHxGvm004970 for ; Thu, 25 Nov 2021 17:59:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1APHxGmU004969 for python@FreeBSD.org; Thu, 25 Nov 2021 17:59:16 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 259981] devel/py-setuptools_scm: Fix incorrect *_DEPENDS, causing devel/py-pyparsing (and others) Fails to configure: The 'packaging>=20.0' distribution was not found Date: Thu, 25 Nov 2021 17:59:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: kai@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: kai@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback+ X-Bugzilla-Changed-Fields: flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637863157; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=obvxHQfANtxxhWrPKrDRXym5y2p0D5XC+SGGmPw6b9k=; b=BST0cteZYDV1ZMPrIOn0/OZ/xB0EMnt4Ij/Xfx6xb+iCuh7m+P5AYr4hQ3vTnYdntgs1LG gxzbTR7aeovMPA7aKgV7LX8uyWn/KObMvqmYWu9BmJEKlaU9D80+5zHvYlVuuR0HEGgtah Sy0CsHEtAcdQPiFVRFbHDDDF94+IoBd+8T/agMjRVbtikSjw8g9KTrn5IbisXxz6sgIKZm drFVT0xGvQT5O/7A+8eVH0p4NJvl72Ff1ybZ5LOdcIZ3nQgLPg5TCxaBcMaYnbSEDEANJX mkSZl4owR4FKwkGHU8tL+uick09i7Uie42yMbW5DfQX95hBQsXTTa5nK48gk9Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637863157; a=rsa-sha256; cv=none; b=SZ0h+RG3OCNSHLBVQjYXbJcRaFg9M5YdlHj/NealpS9l8l+CO3825qvUx9VV8JLEkNlyWl oh9dZG2tWFRZINsVlCKVuAqpBxih01gy3es0mAZpuObANKyz8pqgptg8/oJrqd8XYhyduh XeQnuCYRV0wf3AgfbQHn3Vx2MHq7OQNwAkfJZ6H3N4wy2yPPl2XG5bEpYrxNICJ4uIg6Lv HsfUTQu3hFhdNjpACQI/dcC2UhJWwJgorgWF/ErO3SPJBmP6jxEb5Xz349092gili6puyK YBXglLX5fn4Ez6erlMTutVSSsil+u9PUZBkSCVc77kUb+aawpBGjmgfsqnBiKA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259981 Kai Knoblich changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|maintainer-feedback?(kai@Fr |maintainer-feedback+ |eeBSD.org) | --- Comment #5 from Kai Knoblich --- The problem occurs in environments where devel/py-setuptools_scm is install= ed and devel/py-packaging is also updated together with other Python ports dur= ing an upgrade run via portmaster. The old version of devel/py-packaging will be removed at some point and the= new version will be installed too late which will then leads to the issue descr= ibed in comment #2. This is because devel/py-packaging is required for run time [1] by devel/py-setuptools_scm and the latter one is very interlocked with devel/py-setuptools. It's executed together almost every time a Python por= t is built and will fail if a dependency is missing during run time. The issue can be reproduced via: - Install/Build devel/py-pyparsing 3.0.4 - Install/Build devel/py-packaging 21.2_1 - Install/Build devel/py-setuptools_scm - Apply patches to update devel/py-packaging to 21.3 and devel/py-pyparsing= to 3.0.6 - Try to upgrade the ports with portmaster The whole problem will most likely recur the next time devel/py-packaging is updated. Probably a long-term solution would be if portmaster treats ports like devel/py-setuptools* and their dependencies with higher priority over other Ports during an upgrade run. (In reply to Kubilay Kocak from comment #3) I'll add devel/py-packaging to BUILD_DEPENDS as it is in "pyproject.toml" a= nd you have already mentioned it although it's not the solution to the problem reported with devel/py-pyparsing as described above. -- [1] https://github.com/pypa/setuptools_scm/blob/v6.3.2/setup.cfg#L30 --=20 You are receiving this mail because: You are on the CC list for the bug.=