From patchwork Tue Dec 1 20:31:30 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leon Anavi X-Patchwork-Id: 106877 Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.21191.1796157112671695782 for ; Tue, 01 Dec 2026 12:31:52 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=DKNcoJF3; spf=pass (domain: konsulko.com, ip: 209.85.221.46, mailfrom: leon.anavi@konsulko.com) Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-4b52fcb410dso5668981f8f.1 for ; Tue, 01 Dec 2026 12:31:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1796157111; x=1796761911; 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=368J7ZCdST110DH0J5ZBT9aefGi9+Xwxg6lgFLW7ea0=; b=DKNcoJF3H0Li4EFK2tTj5GdLH3XA9FYapeRmcuKfZfLGHVcZlptuQS5/eShGPidlL2 mG76LS1SqsfkHEAVLVnEin/grbrOgzDo21IvzRCvRjTAxUu0dC6zhlHqklExyMMNHTbA slQdXtsnT3WGnDhxtSrwwfQlnpfSIC7oRv/1A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796157111; x=1796761911; 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=368J7ZCdST110DH0J5ZBT9aefGi9+Xwxg6lgFLW7ea0=; b=JkK9rZLVRNdb13uEsr7kYXw52lZDKZ7jZBqb/KptMqX7zdWKvJdG4XEJBB0U7ZyU13 z5DQPz7LHMZfIh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gWNCE2PqQdOwputhvjqvEEpbaRrI jpsVBXOY0BEatkmfI5aGm2Bj6+0X4QY2liDG5wRyl6LQMm1NduexG1A== X-Received: by 2002:a05:600c:2191:b0:4bb:7f4a:63eb with SMTP id 5b1f17b1804b1-4bb86147f3fmr662548315e9.9.1796157110960; Tue, 01 Dec 2026 12:31:50 -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.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2026 12:31:50 -0800 (PST) From: Leon Anavi To: openembedded-devel@lists.openembedded.org Cc: Leon Anavi Subject: [meta-python][PATCH 03/18] python3-cmd2: Upgrade 4.4.3 -> 4.4.4 Date: Tue, 1 Dec 2026 22:31:30 +0200 Message-ID: <20261201203145.3954930-3-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/133766 Upgrade to release 4.4.4 with the following bug fixes: - Tab completion of a match which needs quotes, such as a file name with a space, now takes one press of Tab instead of two. The opening quote is inserted and the completion carries on in the same key press. - A match chosen from the completion menu now closes its quote and adds a trailing space. Previously the quote was left open, and running the command failed with Invalid syntax: No closing quotation. A directory still leaves its quote open so the rest of the path can be completed. See the Quotes Added by Completion documentation for details. - Completions.allow_finalization used to be ignored when there were several matches. It now decides whether a match chosen from them closes its quote. If you have written a completer which offers matches the user keeps completing, like directories, alongside other matches, return allow_finalization=False for those results so the quote stays open. - On Windows, paths typed with forward slashes now complete properly. Shell command completion treats text such as ./my and C:/tools/my as a path instead of searching PATH for a command of that name. Path completion keeps the separators as they were typed, so the first Tab extends the part which several matching names share. - history --output-file and history --edit now write their files as UTF-8, which is what run_script reads. On a locale whose encoding is not UTF-8, such as Korean or Japanese Windows, a history with non-ASCII text was written in the locale's encoding. run_script then rejected the saved file as not being ASCII or UTF-8 text, and history --edit did not run the edited commands. - run_script now skips a UTF-8 byte order mark at the start of a script file, which some Windows editors and Windows PowerShell 5.1 write. Previously the mark became part of the first command, so that command was not recognized. - run_pyscript now reads a script the way Python does, instead of in the locale's encoding. It honors a byte order mark or a PEP 263 coding declaration, and otherwise reads the script as UTF-8. On a locale whose encoding is not UTF-8, a UTF-8 script with non-ASCII text used to fail with UnicodeDecodeError or run with garbled strings. A script which cannot be decoded is now reported as an error reading the script file. - A script saved in another encoding, such as the locale's, now needs a coding declaration like # -*- coding: cp949 -*-, as it does when Python runs it. - A window title set from another thread with set_window_title() no longer interleaves with the drawing of a prompt-toolkit application which a command runs itself, such as prompt_toolkit.prompt() or the prompt of the ipy command. The title is now written on that application's event loop, as it already was for cmd2's own prompts. This applies when the application shares this app's terminal output and runs in the AppSession which was current when the Cmd was created. - The save_help_text.py example script now writes its output file as UTF-8. On a locale whose encoding is not UTF-8, it could fail with UnicodeEncodeError on a character in the help text which that encoding lacks. Signed-off-by: Leon Anavi --- .../python/{python3-cmd2_4.4.3.bb => python3-cmd2_4.4.4.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-cmd2_4.4.3.bb => python3-cmd2_4.4.4.bb} (87%) diff --git a/meta-python/recipes-devtools/python/python3-cmd2_4.4.3.bb b/meta-python/recipes-devtools/python/python3-cmd2_4.4.4.bb similarity index 87% rename from meta-python/recipes-devtools/python/python3-cmd2_4.4.3.bb rename to meta-python/recipes-devtools/python/python3-cmd2_4.4.4.bb index 2cf423fdd4..612598c0e1 100644 --- a/meta-python/recipes-devtools/python/python3-cmd2_4.4.3.bb +++ b/meta-python/recipes-devtools/python/python3-cmd2_4.4.4.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f2a861642858e0858af9dd4e4716bae0" DEPENDS += "python3-setuptools-scm-native" -SRC_URI[sha256sum] = "6153a28f9b019f31c8fc784b18489edade5852609c913cf5fa36d179bd581a63" +SRC_URI[sha256sum] = "1d8cee304712dde897a46715ed7a96bfbfb25c3a0f91f553cc05faf2c3f9310f" inherit pypi python_setuptools_build_meta python3native