From nobody Thu Dec 9 18:58:37 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 0211918C689F for ; Thu, 9 Dec 2021 18:58:38 +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 4J93GP1kNnz4TQR for ; Thu, 9 Dec 2021 18:58:37 +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 097D83CCE for ; Thu, 9 Dec 2021 18:58:37 +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 1B9IwamC072742 for ; Thu, 9 Dec 2021 18:58:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1B9IwawJ072741 for python@FreeBSD.org; Thu, 9 Dec 2021 18:58:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla 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, 09 Dec 2021 18:58:37 +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: commit-hook@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: 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=1639076317; 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=t2XeE7BNIR6FOuu+T4e9K+NQlUkz7lwJqhr5sX4vqMg=; b=Cw4qr4zo8KPFIlBUtgOdlMPHihk6Io9VS5ksCPWIZps4BgKIRMoEUFEDRqt8JBG2ithyJp rTx6jjzTpYva3jKBpJAdptk7UHg/w2jCtubZmlBiqTImIVpmpfFV7cMepsnL0oUsrLmiym LZ0sjezw7uBBNGhHZdy8jt1qn08BFs5pQQ7k9nHhXQBJoLsu3sHRLpLDLOppTARA+6C39A re5V66F5kL39latpS7zbh1ylBlc/nBp5I5LM/AmncZxvWTkHCBGrorg1bm8zWORyMl8mPP jP/05Rz9VSapapiuHZQbi3UBjcdYRP0/H5StBUcuswc5xxqQALodkA8GX+/pLw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639076317; a=rsa-sha256; cv=none; b=mGdM2O1QMK0ye1wyqtNKqeHsXtvlmnS8zyFO/JFFfWDQ0CIJ73ODEvj4SEK7sLJV87RH+p crQQuYmbFdpvdyvZeK/ki6ksh1ytBmFAU2CdqrMujYVMscr5iN5LVKOJ4HQXTu4nht3X/z AnkVjt69BrlXXY77i0H+tO/pkzlSKB+gmg7lf6VIflI23rZkT/Lt1sJ5N6/RfTE7h8McdM pD8gLuHq+QHzvoX9s+JUDA79HUJP8cwbk6Gy9X+lkTXg8ve7IX4kjJtWZj1ujTTLW0uTWt dITEtGZ75uAD32DLZCYpXWkdSmUqXcxNhWa4jGMXUUAU8adA77V0U2oC0mik4w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259981 --- Comment #11 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Dad7f115cddd949d6ffd41bd9889328c= 06f8906e4 commit ad7f115cddd949d6ffd41bd9889328c06f8906e4 Author: Kai Knoblich AuthorDate: 2021-12-09 18:49:49 +0000 Commit: Kai Knoblich CommitDate: 2021-12-09 18:49:49 +0000 devel/py-setuptools_scm: Turn py-packaging into a soft dependency * Since the 6.3.0 release, devel/py-packaging has been defined in the "setup.cfg" as an unconditional dependency. However this leads to problems if py-packaging is uninstalled but py-setuptools_scm persists, then the missing port can no longer be built. [1] Although py-setuptools_scm has a fallback to devel/py-setuptools when py-packaging is absent this fallback code is not executed. This is because py-setuptools, which checks the dependencies of py-setuptools_scm upon invocation and terminates as soon as these are not met. Fix this issue by converting py-packaging into an optional dependency for py-setuptools_scm so that the fallback code is really used if py-packaging is absent. But keep the latter one in the RUN_DEPENDS in order to continue to reflect the actual dependencies. * Also add py-packaging to BUILD_DEPENDS as defined in "pyproject.toml" although it's not strictly required to build the port. [2] * Bump PORTREVISION due package change. PR: 259981 Reported by: many [1], koobs [2] Tested by: se, myself devel/py-setuptools_scm/Makefile | 4 +++- devel/py-setuptools_scm/files/patch-setup.cfg (new) | 19 +++++++++++++++++= ++ 2 files changed, 22 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=