From patchwork Mon Sep 2 19:21:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Fl=C3=A1vio_Tapaj=C3=B3s?= X-Patchwork-Id: 1979746 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WyJXS2j7Jz1yXY for ; Tue, 3 Sep 2024 05:21:42 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 70D28400DA; Mon, 2 Sep 2024 19:21:39 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id bXM6ULrnRsxc; Mon, 2 Sep 2024 19:21:38 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 21569400ED Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 21569400ED; Mon, 2 Sep 2024 19:21:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id AE5431BF20B for ; Mon, 2 Sep 2024 19:21:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 9C2FF80E65 for ; Mon, 2 Sep 2024 19:21:36 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 0dYuUsd7fIxC for ; Mon, 2 Sep 2024 19:21:35 +0000 (UTC) Received-SPF: None (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::433; helo=mail-pf1-x433.google.com; envelope-from=flavio.tapajos@newtesc.com.br; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org 8687D80E63 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 8687D80E63 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by smtp1.osuosl.org (Postfix) with ESMTPS id 8687D80E63 for ; Mon, 2 Sep 2024 19:21:33 +0000 (UTC) Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-71430e7eaf8so3600013b3a.1 for ; Mon, 02 Sep 2024 12:21:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725304892; x=1725909692; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ay0mAXvW5CYOPTiOzsX9oAyqkdRUd45/fapT1v19cX0=; b=nGPLbI91OvdNGw7y4p8X09SoWuaOiLI4HqMbMBpnLjeBYDaMMjkz3ZrKfLtKpKw66m QJNLvQu5kfKniX36+zWV+rFXWwKDgwFYeFwZKEXKEpcO1EzJ98iXlDLOYJwOrGUnXckf 4boVUU5hY+3CdS+ABQcHCjyJ2/QhoSRn5uIJeDLAISutNu9oz/2P2RVFVdmeElWEd0x/ 3y5FB6Hn2vgShT+No34wOuqcXmz6MZLwbMVMBnGJe6kanIBCfxoXxB02D3xYMU0OzP9w yFP9+eEYpGsg5U4/C8irgGdkeC+RFFUv0bhviXE86WUEcLVKcMmEYz2lsumcA9XaD3r/ AimQ== X-Gm-Message-State: AOJu0YyrHNqtLFfjUMDzAngs1nyTzPiIZmanPYJeTRv9rVKw95z3Cujx w0SVp+DLgWPU7SIrpzZ2yaaph9m3d4F9VkNomZk9ZHfvVB0YIfa6ldL6LAmRLbpKAYjj87xQ3G4 dpOU= X-Google-Smtp-Source: AGHT+IHZiyKyEqSrg5WUQ9oe2EQ3DSzUIbBc9VYx579oA8R2rFKbEtAJWVZMjSmk5y0TeR1wjSoRIQ== X-Received: by 2002:a05:6a20:d492:b0:1cc:eadd:754c with SMTP id adf61e73a8af0-1cceadd7daamr12199873637.50.1725304892340; Mon, 02 Sep 2024 12:21:32 -0700 (PDT) Received: from niltesque.newtesc.com.br ([189.113.44.122]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-715e575cd80sm7179127b3a.203.2024.09.02.12.21.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Sep 2024 12:21:31 -0700 (PDT) From: =?utf-8?q?Fl=C3=A1vio_Tapaj=C3=B3s?= To: buildroot@buildroot.org Date: Mon, 2 Sep 2024 16:21:22 -0300 Message-ID: <20240902192122.150821-1-flavio.tapajos@newtesc.com.br> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=newtesc-com-br.20230601.gappssmtp.com; s=20230601; t=1725304892; x=1725909692; darn=buildroot.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ay0mAXvW5CYOPTiOzsX9oAyqkdRUd45/fapT1v19cX0=; b=gYfFmW985Vq99AVgBS6LFNlAV6NrlR29YxJbO0/4obKwJsfGAN3YqwJeP46rRpCmBw PrEbnO8dANz8trudQgNO/bcrEQKo7C379cuNmV4OCCx0tQqebJoKlSSa/ZMyQTuCORLI 1bbMWWyXINIyIuqYgLU++yQbnCTUA7+vAASY4CcaL7O71DmJMbWpua2fyUNvRjUru71Z ZDE3p2UvCjAxJKZAm2XwPqZccuOHVMqp2ATIq5ciuDLr1Cb+S7WIcaIftg7SF1OFVDp2 ZXnAx1ACey4IfTpT4IcVw1ImsEHo0l4/i2w99OO5lOTjKCE5Qkm48AVBPIowC+zKSXY0 w7iw== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=none (p=none dis=none) header.from=newtesc.com.br X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=newtesc-com-br.20230601.gappssmtp.com header.i=@newtesc-com-br.20230601.gappssmtp.com header.a=rsa-sha256 header.s=20230601 header.b=gYfFmW98 Subject: [Buildroot] [PATCH 1/1] package/python-sqlalchemy: fix build issue with setuptools > 69.3 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?q?Fl=C3=A1vio_Tapaj=C3=B3s?= , James Hilliard , Asaf Kahlon Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" This commit adds upstream patch that unpins setuptools: https://gerrit.sqlalchemy.org/c/sqlalchemy/sqlalchemy/+/5478 https://github.com/sqlalchemy/sqlalchemy/discussions/11818 Fixes: http://autobuild.buildroot.org/results/c531b6e63c5121138e8e8a1c5d1501d9d7e1391e/ Signed-off-by: Flávio Tapajós --- .../2.0.32/0001-unpin-setuptools.patch | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 package/python-sqlalchemy/2.0.32/0001-unpin-setuptools.patch diff --git a/package/python-sqlalchemy/2.0.32/0001-unpin-setuptools.patch b/package/python-sqlalchemy/2.0.32/0001-unpin-setuptools.patch new file mode 100644 index 0000000000..92dd1826a7 --- /dev/null +++ b/package/python-sqlalchemy/2.0.32/0001-unpin-setuptools.patch @@ -0,0 +1,72 @@ +From bf33cb4ffa5f058b4bb9e50efaa43038f37cc6e1 Mon Sep 17 00:00:00 2001 +From: Mike Bayer +Date: Mon, 2 Sep 2024 09:13:27 -0400 +Subject: [PATCH] unpin setuptools +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +This removes the pin that was placed in 2607262110bdc5c5dc96fc19ddca895a15a58e4e + +The pin for ``setuptools<69.3`` in ``pyproject.toml`` has been +removed. This pin was to prevent a sudden change to :pep:`625` in +setuptools from taking place which changes the file name of SQLAlchemy's +source distribution on pypi to be an all lower case name, which is very +likely to cause problems with various build environments that expected a +particular naming style. However, the presence of this pin is now holding +back environments that otherwise want to use a newer setuptools, so we've +decided to move forward with this change, with the assumption that build +environments will have largely accommodated the setuptools change by +now. + +References: #11818 +Change-Id: I0cd9ab0512004669a8f0aa0cb7f560d89a2da2bd + +Upstream: https://gerrit.sqlalchemy.org/plugins/gitiles/sqlalchemy/sqlalchemy/+/cf82be60f811ed6bdc1a8c4221148d97dd6b704d +Signed-off-by: Flávio Tapajós +--- + doc/build/changelog/unreleased_20/11818.rst | 16 ++++++++++++++++ + pyproject.toml | 4 +--- + 2 files changed, 17 insertions(+), 3 deletions(-) + create mode 100644 doc/build/changelog/unreleased_20/11818.rst + +diff --git a/doc/build/changelog/unreleased_20/11818.rst b/doc/build/changelog/unreleased_20/11818.rst +new file mode 100644 +index 000000000..c75a6c64b +--- /dev/null ++++ b/doc/build/changelog/unreleased_20/11818.rst +@@ -0,0 +1,16 @@ ++.. change:: ++ :tags: change, general ++ :tickets: 11818 ++ ++ The pin for ``setuptools<69.3`` in ``pyproject.toml`` has been ++ removed. This pin was to prevent a sudden change to :pep:`625` in ++ setuptools from taking place which changes the file name of SQLAlchemy's ++ source distribution on pypi to be an all lower case name, which is very ++ likely to cause problems with various build environments that expected a ++ particular naming style. However, the presence of this pin is now holding ++ back environments that otherwise want to use a newer setuptools, so we've ++ decided to move forward with this change, with the assumption that build ++ environments will have largely accommodated the setuptools change by ++ now. ++ ++ +diff --git a/pyproject.toml b/pyproject.toml +index 0f53594df..f75bf3192 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,9 +1,7 @@ + [build-system] + build-backend = "setuptools.build_meta" + requires = [ +- # avoid moving to https://github.com/pypa/setuptools/issues/3593 +- # until we're ready +- "setuptools>=61.0,<69.3", ++ "setuptools>=61.0", + "cython>=0.29.24; platform_python_implementation == 'CPython'", # Skip cython when using pypy + ] + +-- +2.46.0 +