From patchwork Sat Dec 5 08:12:36 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ankur Tyagi X-Patchwork-Id: 107508 Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.2613.1796458382147389975 for ; Sat, 05 Dec 2026 00:13:02 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20260707 header.b=B4Bkd2ZW; spf=pass (domain: gmail.com, ip: 209.85.214.180, mailfrom: ankur.tyagi85@gmail.com) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-2f01f296937so13083975ad.3 for ; Sat, 05 Dec 2026 00:13:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796458381; x=1797063181; 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:content-type; bh=tS68lIab2q7mPAIuONgJsvYeOtGAAYMhrceKVmCiq98=; b=B4Bkd2ZWP2GlA5E9q3UTMNRorH4K/0i7dugqCPfIX5gZiGnYCQ1XxqlOYejjNk6gKC MGvxXdVKhHD1ZWj6BVWIgI2falww/VIuXOKLridGNsX1m6GIS5f1XrzdhYW50gBLLmXX SKkgoE/ud7nxsGjAwkyN3sXvlpTxbu3I2wLgDfgA8n11nR8PDEZpe7uEZcGQIZ9UCG1m JYaPVjbY4yI4tL+tlLR5/7EQaXnxdFFl9NLqVtAEJNd5tXpn5Fyf0fmcaVW4oTpigeLt qUlNFHFOePfJ9Bnw0k4JhiljWC1q8Q3MjQcunXfV/B2bRGWH/esmlOSWj2fuhVwlKnBR Cl/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796458381; x=1797063181; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=tS68lIab2q7mPAIuONgJsvYeOtGAAYMhrceKVmCiq98=; b=CJwOz0WzdULhl/GqWZoSmI7oW5oS8QbQgUlxt11c9byaFO7QkAptbTKwjWTZCxaIcj yWSUA3qbHyMDiTunz2hhMFoQZAK8yvuyG0s9MhvGpjunI/aCQM++VOPd0mciWckm/qYR b9DjUHaZqX+WC9PcGlqo6AxH5bstrq10pTPj19Zjc+axXb0WA8so57q5Si8c9PWE5cpH XUHZP8noTjAvni5psD+bW3Br3E00l1cMrdwdaJdvTAu4choZkEkFO9eN96OPUlESVNXt gswAv7BfKQvn32wVyi3LLHT6dmlDdTzzQ/h1uTCiioMklZqy3kq51PHnnc0J6re5AhO1 Y31w== X-Gm-Message-State: AB4q+uFewt3/gkBRx98qnPNxrzEFHnw/FDaotON3iV7KCLmwxhE1NO7J rLWjzM5Tmjchfx4a3z5Moxv+B3Tcy0nb897VIM147EpAims5mrOH5INBJCKUZ1Zi X-Gm-Gg: AZFdTZdWpEU3iQoeeJAtir6ZExvzSVEO6YmO3YBSqJl1FALUzNj5C9Ib3T/vpDYccY0 AJ5vRWUBbc3P7v/d6Sneh04dBoS+25iVe70iqARL4UvOJfY90ebam4vY9ORIat1gfSQ3xJ4K2VI 3J+F5wWaWQl6zS/u2Wv2g8RdokTA0y9mehfLatMsfWs7Brbh7uUYrg9Jf+cgqiqbXSDEW3lBTva Bcw4a8UU27w4cM2DQMCiYraot+0UXgZzn/GgAI9yX1VWBPTdEqfFEhgToRUbGNFwucoboYDJtVe jsuf06bqTSSWXIhrTcaD79SJJQsSI7AaJWIViqjq5pN6Y/TIh+1FVN1BsQivHdzJGdRszPrK/qT 3nvk9zD6uIK5Wn4MOCfFU+g+JJJFzfnqjgFZMGtM9reU8E/f+OD6EQ7ebyvqxZdquzXwb9qPCr/ cmKMJpchrJwI2QaCHHI1pEHCc3VbQmefSsuzrGCDtzQN8fyGITd1Hg2OJlMsjvEmVaP86ynyOj1 S+ZkLkdu71pnaFSOHR9Wvj+I0sFQZQVFkxtEBAszam6G+QY5Rp1q80SKw6XHP0PDNkAxiz0L7bk rfA+VUg2ZMC21tBMkW50021b7wmCuEn07lToircUzraubfK3b2aO0AriKVaY3LJ4AfkXo+yzjaF 5jstrcyZNpJR4w5tOAYZQniTr X-Received: by 2002:a17:903:2283:b0:2f1:3a0e:e66a with SMTP id d9443c01a7336-2f1ba245327mr44814075ad.61.1796458381549; Sat, 05 Dec 2026 00:13:01 -0800 (PST) Return-Path: Received: from NVAPF55DW0D-IPD.. ([147.161.219.8]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2f1b791a308sm24187445ad.28.2026.12.05.00.12.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Dec 2026 00:13:01 -0800 (PST) From: ankur.tyagi85@gmail.com To: openembedded-devel@lists.openembedded.org Cc: Khem Raj , Ankur Tyagi Subject: [oe][meta-oe][blacksail][PATCH 3/3] mercurial: Upgrade 7.2.4 -> 7.2.5 Date: Sat, 5 Dec 2026 21:12:36 +1300 Message-ID: <20261205081236.3691247-3-ankur.tyagi85@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261205081236.3691247-1-ankur.tyagi85@gmail.com> References: <20261205081236.3691247-1-ankur.tyagi85@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Sat, 05 Dec 2026 08:13:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/134113 From: Khem Raj Security and bug fix release: - Upgrade the vendored zstd to 1.6.0 for CVE-2026-124851; upgrade Rust extension dependencies with advisories (RUSTSEC-2026-0391, RUSTSEC-2026-0395 to RUSTSEC-2026-0406) - New storage.revlog.validate-incoming-content option, enabled by server.validate, to check incoming revisions against their node id - rebase keeps the filelog ancestry of both sides of a merge; fix a dirstate crash on files of 2 GiB or more, HTTP pushes hanging on mid-request authentication and stale branchmap v3 heads - Several fixes for experimental changegroup v4 / delta-info - setup.py accepts ssl.HAS_TLSv1_3 in addition to ssl.HAS_TLSv1_2 Refresh 0001-ssl-do-not-treat-ssl.HAS_TLSv1_2-as-authoritative-wi.patch: drop its setup.py hunk, which is fixed upstream by the HAS_TLSv1_3 check; the sslutil.py part is still needed for OpenSSL 4. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj (cherry picked from commit e397c4650408dda229c8069928ae1855bd0c431e) Signed-off-by: Ankur Tyagi --- ...-ssl.HAS_TLSv1_2-as-authoritative-wi.patch | 26 +++---------------- ...{mercurial_7.2.4.bb => mercurial_7.2.5.bb} | 2 +- 2 files changed, 5 insertions(+), 23 deletions(-) rename meta-oe/recipes-devtools/mercurial/{mercurial_7.2.4.bb => mercurial_7.2.5.bb} (96%) diff --git a/meta-oe/recipes-devtools/mercurial/mercurial/0001-ssl-do-not-treat-ssl.HAS_TLSv1_2-as-authoritative-wi.patch b/meta-oe/recipes-devtools/mercurial/mercurial/0001-ssl-do-not-treat-ssl.HAS_TLSv1_2-as-authoritative-wi.patch index e21376768b..265bed49cd 100644 --- a/meta-oe/recipes-devtools/mercurial/mercurial/0001-ssl-do-not-treat-ssl.HAS_TLSv1_2-as-authoritative-wi.patch +++ b/meta-oe/recipes-devtools/mercurial/mercurial/0001-ssl-do-not-treat-ssl.HAS_TLSv1_2-as-authoritative-wi.patch @@ -25,12 +25,14 @@ Only trust ssl.HAS_TLSv1_2 with OpenSSL < 4.0 and assume TLS 1.2 is available otherwise. TLS 1.0 and TLS 1.1 are deliberately not assumed: they are disabled in the default OpenSSL 4.0 configuration. +The setup.py check was fixed upstream in 7.2.5 (it now also accepts +ssl.HAS_TLSv1_3), so only sslutil.py needs patching. + Upstream-Status: Pending Signed-off-by: Khem Raj --- mercurial/sslutil.py | 13 ++++++++++++- - setup.py | 9 ++++++++- - 2 files changed, 20 insertions(+), 2 deletions(-) + 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/mercurial/sslutil.py b/mercurial/sslutil.py index fd8333e..f278b26 100644 @@ -61,23 +63,3 @@ index fd8333e..f278b26 100644 supportedprotocols.add(b'tls1.2') if getattr(ssl, 'HAS_TLSv1_3', False): supportedprotocols.add(b'tls1.3') -diff --git a/setup.py b/setup.py -index ca70bc0..18d958a 100644 ---- a/setup.py -+++ b/setup.py -@@ -12,7 +12,14 @@ import sys - import sysconfig - import tempfile - --if not ssl.HAS_TLSv1_2: -+# OpenSSL 4.0 removed the version specific TLSv1_2_method() API, so CPython -+# reports ssl.HAS_TLSv1_2 as False when built against it (see CPython issue -+# gh-146207). TLS 1.2 itself is still fully supported there and remains -+# selectable through ssl.SSLContext.minimum_version, so the flag can only be -+# trusted with older OpenSSL releases. -+has_tlsv1_2 = ssl.HAS_TLSv1_2 or ssl.OPENSSL_VERSION_INFO[0] >= 4 -+ -+if not has_tlsv1_2: - error = """ - The `ssl` module does not advertise support for TLS 1.2. - Please make sure that your Python installation was compiled against an OpenSSL diff --git a/meta-oe/recipes-devtools/mercurial/mercurial_7.2.4.bb b/meta-oe/recipes-devtools/mercurial/mercurial_7.2.5.bb similarity index 96% rename from meta-oe/recipes-devtools/mercurial/mercurial_7.2.4.bb rename to meta-oe/recipes-devtools/mercurial/mercurial_7.2.5.bb index de398d52a5..b707c3ae74 100644 --- a/meta-oe/recipes-devtools/mercurial/mercurial_7.2.4.bb +++ b/meta-oe/recipes-devtools/mercurial/mercurial_7.2.5.bb @@ -12,7 +12,7 @@ inherit python3native python3targetconfig SRC_URI = "https://www.mercurial-scm.org/release/${BP}.tar.gz \ file://0001-ssl-do-not-treat-ssl.HAS_TLSv1_2-as-authoritative-wi.patch \ " -SRC_URI[sha256sum] = "85839e0f39e6cb893a88932aa36ef661759f3c5c5de4551ad26bd9df53cb71a2" +SRC_URI[sha256sum] = "717da551ddd9feb301454cd9a24623122c15d5d1929a55b71afd8ae0c0b9e239" # Constrain the version to digits-and-dots, otherwise the auto-derived regex # also matches the X.Yrc0 pre-releases in the same directory and picks those.