From patchwork Tue Dec 1 20:31:31 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Anavi X-Patchwork-Id: 106878 Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.20825.1796157114689031267 for ; Tue, 01 Dec 2026 12:31:55 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=ndhbm8G3; spf=pass (domain: konsulko.com, ip: 209.85.221.45, mailfrom: leon.anavi@konsulko.com) Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-4a42b34e930so10842259f8f.2 for ; Tue, 01 Dec 2026 12:31:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1796157113; x=1796761913; 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=K+rRwR3pjdtJs89P1Sw6JCZpZDmkQdjyrsRNdSHSHTk=; b=ndhbm8G307Ds+TYcJYgcGPWNJkIue15zC1KIo9eWZObvFoGCO+XknPgXYHn/OEDbQN fnu1z/weDcFeoYuTXOB2Nb2ePyWy38BW3yNtBkOnhWSxGrDO0YLA0+lhyZAg8ckN/yJl VLWBvugfsEfI4gST8ggaX8XAu6w2YwPZklQ40= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796157113; x=1796761913; 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=K+rRwR3pjdtJs89P1Sw6JCZpZDmkQdjyrsRNdSHSHTk=; b=EKV1NJdEhaGlOoiml39+h+baK9wpSYPbWFdcYk7xILGlhUaDCacEI8zW4YOTckseu3 9qObfcRmfages++GMJ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wy rZP9bHxMNPYdl5OYTlVPXRF8DbvM6QmKYMEeLylWFKPK8SBPkr2NeuQ== X-Received: by 2002:a5d:63c5:0:b0:48b:4a2:8175 with SMTP id ffacd0b85a97d-4abb4e64383mr53272625f8f.43.1796157112863; Tue, 01 Dec 2026 12:31:52 -0800 (PST) Return-Path: Received: from tone.k.g (lan.nucleusys.com. [92.247.61.126]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab6b110d56sm73312377f8f.40.2026.12.01.12.31.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2026 12:31:52 -0800 (PST) From: Leon Anavi To: openembedded-devel@lists.openembedded.org Cc: Leon Anavi Subject: [meta-python][PATCH 04/18] python3-discovery: Upgrade 1.9.8 -> 1.9.9 Date: Tue, 1 Dec 2026 22:31:31 +0200 Message-ID: <20261201203145.3954930-4-leon.anavi@konsulko.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261201203145.3954930-1-leon.anavi@konsulko.com> References: <20261201203145.3954930-1-leon.anavi@konsulko.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 ; Tue, 01 Dec 2026 20:32:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/133767 Upgrade to release 1.9.9: Bug fixes: - An interpreter symlink is now resolved to the real interpreter when the standard library beside it is owned by another user. Environments built from system_executable no longer load a standard library that another local user controls. - DiskCache no longer takes its locks in a locks-v2 directory that is a symbolic link, belongs to another user, or is writable by others. Discovery logs a warning and queries the interpreter without the cache instead, so a lock directory left behind by another user can no longer block discovery or create lock files outside the cache. - Interpreters found under a relative UV_PYTHON_INSTALL_DIR are now returned with absolute paths, so they still resolve after the working directory changes. Security: - A relative path spec such as ../venv/bin/python is no longer joined to PATH entries or searched for among uv-managed installs, so its .. segments can no longer run a file outside PATH. - Discovery no longer fails with PermissionError, or misdetects file-system case sensitivity, when the shared temporary directory contains entries created by another user. - Interpreter discovery under a non-UTF-8 locale could run and return a different file than the one requested. Reported paths are now decoded with the file system encoding of the querying process, and cache entries are reused only under the encoding they were written with. - Resolving an environment to its base interpreter no longer searches a sibling of the base prefix for an interpreter, where another user could plant one. This happened when the environment's resolved directory only shares a string prefix with the environment, such as venv linked to venv-3.11 (#293). - Shim resolution no longer hangs when a .python-version file in a parent directory is replaced by a FIFO. Version files are now opened without blocking and skipped unless they are regular files. Signed-off-by: Leon Anavi --- .../{python3-discovery_1.9.8.bb => python3-discovery_1.9.9.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-discovery_1.9.8.bb => python3-discovery_1.9.9.bb} (87%) diff --git a/meta-python/recipes-devtools/python/python3-discovery_1.9.8.bb b/meta-python/recipes-devtools/python/python3-discovery_1.9.9.bb similarity index 87% rename from meta-python/recipes-devtools/python/python3-discovery_1.9.8.bb rename to meta-python/recipes-devtools/python/python3-discovery_1.9.9.bb index b45e64df54..7811864510 100644 --- a/meta-python/recipes-devtools/python/python3-discovery_1.9.8.bb +++ b/meta-python/recipes-devtools/python/python3-discovery_1.9.9.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=11610a9d8fd95649cf8159be12b98cb7" PYPI_PACKAGE = "python-discovery" -SRC_URI[sha256sum] = "5d66dd004e6972687438a799fa0895b7a900c1b7324a525196f1826bf7cebb03" +SRC_URI[sha256sum] = "6dfa5a9d3bb478eaf4f4e6afe55dc8367ec4bcca61715c7f5542d3c5b2df51e8" inherit pypi python_hatchling ptest-python-pytest