From patchwork Thu Mar 20 12:32:26 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Anavi X-Patchwork-Id: 59609 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 867D1C35FFF for ; Thu, 20 Mar 2025 12:32:38 +0000 (UTC) Received: from mail-ed1-f52.google.com (mail-ed1-f52.google.com [209.85.208.52]) by mx.groups.io with SMTP id smtpd.web11.6242.1742473952035819351 for ; Thu, 20 Mar 2025 05:32:32 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=KjjZjWz1; spf=pass (domain: konsulko.com, ip: 209.85.208.52, mailfrom: leon.anavi@konsulko.com) Received: by mail-ed1-f52.google.com with SMTP id 4fb4d7f45d1cf-5dca468c5e4so1322440a12.1 for ; Thu, 20 Mar 2025 05:32:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1742473950; x=1743078750; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=7fbM2GgaZsVSg6QRWsNSaobzr3x01pWnUkM4AK0Qoqg=; b=KjjZjWz1xeWb3nhzRiy9Mz9Xam8F4hiEu39haqHYQ3zePc55QXpfhCJapVLWMzNFpF aP8iToZ4PfrpN0nEetQ/xnSBuESI4oDnnBdWB8iF8gIrgOvviSoZYvY2r8Fu7jAwQaRS PN/h0OuKdhuXZuyz/Sz7aRE1zeY+3b4GcXaMo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742473950; x=1743078750; 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=7fbM2GgaZsVSg6QRWsNSaobzr3x01pWnUkM4AK0Qoqg=; b=Y/PDYB7zhvWI+9K9qFvPEUc2JAlq4FBkRRF3Q4SvLhxwszWxJscLrhEtt3TMW9slUn 508H6lXxQAplfZIyYOnef/uImQFd+goLKEBza3SSR35d//MPe3t6iE0LAgikWkz3PEMr 3voLoqcaaN6wdPHrRgbbsZJJYlI1XfPh86RDz0zMhCtQ+g/qFT6fvfjUz/x/g3/jsIrc 1JShaE3NRbgSDB0F/blw0GsZBxjdp5OMMXgx9xNlh2UxUnsdXcEpcjhPtDw/zcPzerfC rgvtjbcscSY+6gzsT+4WFHXx6Lq2BWtJOFxUoFsox5Gdad5U9D3Cm/bCh/1xqBlGwNFm KN+g== X-Gm-Message-State: AOJu0Yw+aj8T/giPceaXlCDC72xaNs8Kvo+Wb78MM9F2FS56UlSB0ha7 QD2XRGpM0mJZKBVhhVYORfI0WoqX1IdajVst0z2ZjhgQMQsIVyeZ2ziOgh882zviAvy8V+zENIJ k X-Gm-Gg: ASbGnctxo5ZrHB4XoCtJIFJ20wRUGyPmyLVP2hkMZszdgm4Q8SIbhVB0CE6x0EWSYPN /88Ah2S2ppAEpftX3ClwN91ydL+m4PsbBU8US/32rj+c8zDKAhi1AtmJhWizok+0JHxvNqAClJW vIXlI3FPwA/SUu/pPzz0YUADkPXZRX4lUFk1Po3NX0JxgTOObPMQEynQBdWj79qMAy1UuUH+P/d wWJBxGWQwJk9oizGwP9JazNH7B4KmNMHVBq7kNfpY8yZBJBuzazW+JxCnjqdp4VcCQqHflaV7Qi WVZst1s/lVprUE/h/MxBpp8JQ4Fb3Rl6Qpsj3g3ykVqgaER8oWRbrCWmgh3pRdLKVF3piQ== X-Google-Smtp-Source: AGHT+IEI4DBtlnKyDyTW6L2AxtR9iSnVL+tTSkY7RAXzbM6w9SUeSFdZg6mWI6OWGeF8UmLzw3wfww== X-Received: by 2002:a05:6402:2743:b0:5e4:9348:72d4 with SMTP id 4fb4d7f45d1cf-5eb80f73261mr6354467a12.24.1742473949932; Thu, 20 Mar 2025 05:32:29 -0700 (PDT) Received: from tone.k.g (lan.nucleusys.com. [92.247.61.126]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5e816afdfe6sm10714372a12.76.2025.03.20.05.32.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Mar 2025 05:32:29 -0700 (PDT) From: Leon Anavi To: openembedded-devel@lists.openembedded.org Cc: Leon Anavi Subject: [meta-python][PATCH 1/2] python3-pybind11: Upgrade 2.12.0 -> 2.13.6 Date: Thu, 20 Mar 2025 14:32:26 +0200 Message-Id: <20250320123227.2198743-1-leon.anavi@konsulko.com> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 20 Mar 2025 12:32:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/116135 Upgrade to release 2.13.6: - A new self._pybind11_conduit_v1_() method is automatically added to all py::class_-wrapped types, to enable type-safe interoperability between different independent Python/C++ bindings systems, including pybind11 versions with different PYBIND11_INTERNALS_VERSION's. Supported on pybind11 2.11.2, 2.12.1, and 2.13.6+. - Using __cpp_nontype_template_args instead of __cpp_nontype_template_parameter_class. - Properly translate C++ exception to Python exception when creating Python buffer from wrapped object. - Adds an answer (FAQ) for "What is a highly conclusive and simple way to find memory leaks?". Signed-off-by: Leon Anavi --- .../{python3-pybind11_2.12.0.bb => python3-pybind11_2.13.6.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-pybind11_2.12.0.bb => python3-pybind11_2.13.6.bb} (92%) diff --git a/meta-python/recipes-devtools/python/python3-pybind11_2.12.0.bb b/meta-python/recipes-devtools/python/python3-pybind11_2.13.6.bb similarity index 92% rename from meta-python/recipes-devtools/python/python3-pybind11_2.12.0.bb rename to meta-python/recipes-devtools/python/python3-pybind11_2.13.6.bb index 0403e406a4..ee5722fbcb 100644 --- a/meta-python/recipes-devtools/python/python3-pybind11_2.12.0.bb +++ b/meta-python/recipes-devtools/python/python3-pybind11_2.13.6.bb @@ -7,7 +7,7 @@ DEPENDS = "\ python3-ninja-native \ " -SRCREV = "3e9dfa2866941655c56877882565e7577de6fc7b" +SRCREV = "a2e59f0e7065404b44dfe92a28aca47ba1378dc4" SRC_URI = "\ git://github.com/pybind/pybind11.git;branch=stable;protocol=https \ " From patchwork Thu Mar 20 12:32:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Anavi X-Patchwork-Id: 59610 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85863C28B30 for ; Thu, 20 Mar 2025 12:32:38 +0000 (UTC) Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) by mx.groups.io with SMTP id smtpd.web10.6262.1742473952623006141 for ; Thu, 20 Mar 2025 05:32:32 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=Il8Du3re; spf=pass (domain: konsulko.com, ip: 209.85.208.54, mailfrom: leon.anavi@konsulko.com) Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-5dc89df7eccso1318414a12.3 for ; Thu, 20 Mar 2025 05:32:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1742473951; x=1743078751; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+WITULQYfsSkF0D5rf/asqIAqQ+K+b7f1vJhmD+951o=; b=Il8Du3regzkYoR51WIXDiOOXfFxhvK9xGkFbnfOqH++NIIBdfMijZ58MZ78nG/yC9b sBxBRY1FiHxvmmq2PwHU/wy4uIJLrBoNutHVtbE3dG9Z2+H6IS6jmfwzkLZT3OzCgMWY dr1NTs9GLq2vZ/9UlAPZVfXX4kslj5zUZNYcU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742473951; x=1743078751; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+WITULQYfsSkF0D5rf/asqIAqQ+K+b7f1vJhmD+951o=; b=QCA5g/iX/NLhBxh3Dkby+Jc6XBRX4RY//nbLyTNjOmqgJ/gDc4P1w1x/N8ythJ2NO8 RWTS0WSrTzmEscoc/14DgbunuM9T8WTnDgsp93QCcKT9N/R8BO9vQSvXZHvo5L4PfdhU ZTDD6o1RpEet+zn8S9FsQaCADFUpjzxDFhuD4iMPoWZOoPauQU6cpCnX+7LNt3bXZi1X dDF4+/HAwwj/e5jf6OmZhgpCwt8xw4e2zuuTTBnT9SJZ9OHHFhSDaSjT3CRB/ho+JP1P 6H+1VZWYQ2sqHYLB7gc9PEenmTSK/s2M8TOfA+++0QUd04zVZm7uXqoDuYMRDEKGmCwE 2jLw== X-Gm-Message-State: AOJu0YwMGem9JVN+POyMv96Bs5tY2cJshJ3nqbDHLb2+bCymAM5hPQrz U32jNHjmKNzo4hskPY2jhu3gRFuHwMEi0RvuUWPMdBMiYZs7P2p8Mjc1GbdxOrga1Ko67G9NdvS / X-Gm-Gg: ASbGncv7TSazK/18FVqtOyOV394hv+8LWHRun903POdUo+pKitTDDWabMMqvZvwccTu +/3mTlDgXnLnDRNHGV8L6T9HakivUjYkIqz34d5CZ3WCr4gSHuhWfHScXbno4TOiFWz4peoufrb +QgF8hs1G5DVSfPMvG7rSS2hJ7Y0uLyjY90HTlBQ8huqc4kupxDDqHh6Yf7EuoTqznE/lCjMo25 V5QzBHsS/sYhFAFg3GCpKfZZrkqUW8vXDnAIApz/PN8c9ru6CyKhzba48OOHuUJU0ySyvtqopwR n58OFsHlSLDj0PNVniI/6lKC+4zrYJ5SOaYqKYcroD8+Usc1sAYoNMLFSJY= X-Google-Smtp-Source: AGHT+IFcd/692Bn0kzikocNkGP2YFdjbNfbcM4JLfjlS6icRbs511IcjxzMU0/RWqv8chep0DimPSw== X-Received: by 2002:a05:6402:350b:b0:5e7:b02b:6430 with SMTP id 4fb4d7f45d1cf-5eb80fa46aamr5548089a12.23.1742473950639; Thu, 20 Mar 2025 05:32:30 -0700 (PDT) Received: from tone.k.g (lan.nucleusys.com. [92.247.61.126]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5e816afdfe6sm10714372a12.76.2025.03.20.05.32.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Mar 2025 05:32:30 -0700 (PDT) From: Leon Anavi To: openembedded-devel@lists.openembedded.org Cc: Leon Anavi Subject: [meta-python][PATCH 2/2] python3-pylint: Upgrade 3.3.4 -> 3.3.6 Date: Thu, 20 Mar 2025 14:32:27 +0200 Message-Id: <20250320123227.2198743-2-leon.anavi@konsulko.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250320123227.2198743-1-leon.anavi@konsulko.com> References: <20250320123227.2198743-1-leon.anavi@konsulko.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 20 Mar 2025 12:32:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/116136 Upgrade to release 3.3.6: - Fix a false positive for used-before-assignment when an inner function's return type annotation is a class defined at module scope. - Fix false positives for use-implicit-booleaness-not-comparison, use-implicit-booleaness-not-comparison-to-string and use-implicit-booleaness-not-comparison-to-zero when chained comparisons are checked. - Fix a false positive for invalid-getnewargs-ex-returned when the tuple or dict has been assigned to a name. - Remove getopt and optparse from the list of deprecated modules. - Fixed conditional import x.y causing false positive possibly-used-before-assignment. - Fix a crash when something besides a class is found in an except handler. - Fixed raising invalid-name when using camelCase for private methods with two leading underscores. Signed-off-by: Leon Anavi --- ...l-Keep-tool.setuptools.license-files.patch | 48 +++++++++++++++++++ ...ylint_3.3.4.bb => python3-pylint_3.3.6.bb} | 5 +- 2 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-pylint/0002-pyproject.toml-Keep-tool.setuptools.license-files.patch rename meta-python/recipes-devtools/python/{python3-pylint_3.3.4.bb => python3-pylint_3.3.6.bb} (88%) diff --git a/meta-python/recipes-devtools/python/python3-pylint/0002-pyproject.toml-Keep-tool.setuptools.license-files.patch b/meta-python/recipes-devtools/python/python3-pylint/0002-pyproject.toml-Keep-tool.setuptools.license-files.patch new file mode 100644 index 0000000000..28ed0c8951 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pylint/0002-pyproject.toml-Keep-tool.setuptools.license-files.patch @@ -0,0 +1,48 @@ +From 2a08adb0e90219626dac0b6d05a21265e460eae2 Mon Sep 17 00:00:00 2001 +From: Leon Anavi +Date: Thu, 20 Mar 2025 12:09:42 +0000 +Subject: [PATCH] pyproject.toml: Keep tool.setuptools.license-files + +Keep legacy license declaration and tool.setuptools.license-files +to avoid the following errors: + +| ValueError: invalid pyproject.toml config: `project.license`. +| configuration error: `project.license` must be valid exactly by one definition (2 matches found): + +| ValueError: invalid pyproject.toml config: `project`. +| configuration error: `project` must not contain {'license-files'} properties + +Upstream-Status: Inappropriate + +Signed-off-by: Leon Anavi +--- + pyproject.toml | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 0cf1ade57..7a4665ce0 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -8,8 +8,7 @@ name = "pylint" + description = "python code static checker" + readme = "README.rst" + keywords = [ "lint", "linter", "python", "static code analysis" ] +-license = "GPL-2.0-or-later" +-license-files = [ "LICENSE", "CONTRIBUTORS.txt" ] ++license = { text = "GPL-2.0-or-later" } + authors = [ + { name = "Python Code Quality Authority", email = "code-quality@python.org" }, + ] +@@ -65,6 +64,9 @@ scripts.pylint-config = "pylint:_run_pylint_config" + scripts.pyreverse = "pylint:run_pyreverse" + scripts.symilar = "pylint:run_symilar" + ++[tool.setuptools] ++license-files = [ "LICENSE", "CONTRIBUTORS.txt" ] ++ + [tool.setuptools.packages.find] + include = [ "pylint*" ] + +-- +2.39.5 + diff --git a/meta-python/recipes-devtools/python/python3-pylint_3.3.4.bb b/meta-python/recipes-devtools/python/python3-pylint_3.3.6.bb similarity index 88% rename from meta-python/recipes-devtools/python/python3-pylint_3.3.4.bb rename to meta-python/recipes-devtools/python/python3-pylint_3.3.6.bb index 92378d7fda..f70049c898 100644 --- a/meta-python/recipes-devtools/python/python3-pylint_3.3.4.bb +++ b/meta-python/recipes-devtools/python/python3-pylint_3.3.6.bb @@ -3,9 +3,10 @@ HOMEPAGE = "http://www.pylint.org/" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=c107cf754550e65755c42985a5d4e9c9" -SRCREV = "c2b01c3d0b6410d4c93eb1f32fb28f2116b1e68f" -SRC_URI += "git://github.com/pylint-dev/pylint;branch=main;protocol=https \ +SRCREV = "7ac5a4d4f77576df3a00e63f86ca86e0e1780b47" +SRC_URI += "git://github.com/pylint-dev/pylint;branch=maintenance/3.3.x;protocol=https \ file://0001-Adjust-test-expectations-for-ptest.patch \ + file://0002-pyproject.toml-Keep-tool.setuptools.license-files.patch \ file://run-ptest \ "