deleted file mode 100644
@@ -1,39 +0,0 @@
-From 68e4f05ece6b20e8a7d914d047185483373db759 Mon Sep 17 00:00:00 2001
-From: Jan Vermaete <jan.vermaete@gmail.com>
-Date: Mon, 10 Nov 2025 18:04:27 +0100
-Subject: [PATCH 1/1] test_main.py: skip two test when running as root
-
-Upstream-Status: Inappropriate [oe-specific]
-
-The patch will only work for Linux and not for Windows.
-And it's not common to run the tests of a Python module as root in the
-not Yocto world.
-
-Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
----
- tests/test_main.py | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/tests/test_main.py b/tests/test_main.py
-index 4496111..182bc33 100644
---- a/tests/test_main.py
-+++ b/tests/test_main.py
-@@ -61,6 +61,7 @@ def test_set_key_encoding(dotenv_path):
- assert dotenv_path.read_text(encoding=encoding) == "a='é'\n"
-
-
-+@pytest.mark.skipif(os.geteuid() == 0, reason="Skipping becuase user is root")
- def test_set_key_permission_error(dotenv_path):
- dotenv_path.chmod(0o000)
-
-@@ -167,6 +168,7 @@ def test_unset_encoding(dotenv_path):
- assert dotenv_path.read_text(encoding=encoding) == ""
-
-
-+@pytest.mark.skipif(os.geteuid() == 0, reason="Skipping becuase user is root")
- def test_set_key_unauthorized_file(dotenv_path):
- dotenv_path.chmod(0o000)
-
-2.47.3
-
similarity index 79%
rename from meta-python/recipes-devtools/python/python3-python-dotenv_1.2.1.bb
rename to meta-python/recipes-devtools/python/python3-python-dotenv_1.2.4.bb
@@ -4,9 +4,8 @@ LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e914cdb773ae44a732b392532d88f072"
RECIPE_MAINTAINER = "Tom Geelen <t.f.g.geelen@gmail.com>"
-SRC_URI[sha256sum] = "42667e897e16ab0d66954af0e60a9caa94f0fd4ecf3aaf6d2d260eec1aa36ad6"
+SRC_URI[sha256sum] = "f0d53e69935a851c0dcc78f3ab7aaccd8cabef0b92382b576b824212902873c0"
-SRC_URI += "file://0001-test_main.py-skip-two-test-when-running-as-root.patch"
inherit pypi python_setuptools_build_meta ptest-python-pytest
Drop the root skip patch; upstream skips the permission test as root now and removed the other test. Changes: - Breaking (1.2.2): set_key/unset_key and the CLI set/unset no longer follow symlinks unless follow_symlinks=True; the original file mode is preserved instead of being reset to 0600. Python 3.9 dropped. - 1.2.2: Python 3.14 (incl. free-threaded) support; dotenv run forwards flags to the command. - 1.2.3: strip leading UTF-8 BOM; set_key escapes backslashes; friendly error for dotenv run without a command. - 1.2.4: dotenv get no longer exits 1 for empty values; fix parsing of empty unquoted value followed by comment; dotenv run --no-override expansion precedence fixed. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> --- ...y-skip-two-test-when-running-as-root.patch | 39 ------------------- ....2.1.bb => python3-python-dotenv_1.2.4.bb} | 3 +- 2 files changed, 1 insertion(+), 41 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-python-dotenv/0001-test_main.py-skip-two-test-when-running-as-root.patch rename meta-python/recipes-devtools/python/{python3-python-dotenv_1.2.1.bb => python3-python-dotenv_1.2.4.bb} (79%)