From patchwork Sun Jan 18 16:27:35 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyorgy Sarvari X-Patchwork-Id: 79010 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 DF145C9832F for ; Sun, 18 Jan 2026 16:27:44 +0000 (UTC) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.17245.1768753663383484443 for ; Sun, 18 Jan 2026 08:27:43 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lD3ngWC4; spf=pass (domain: gmail.com, ip: 209.85.221.47, mailfrom: skandigraun@gmail.com) Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-4308d81fdf6so1913782f8f.2 for ; Sun, 18 Jan 2026 08:27:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768753661; x=1769358461; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=RTdhscGz/iC5ItNGxfFbd03I1lBx5qSUHWiB+dkaTlo=; b=lD3ngWC4ZrBu3JC3izBFfxSTkM/XCUJuOn2gaLTj0TKoyvdy+gwgrqb9mCpkfvoCLA J6u8apM2x6y7YFC1uSNx22TaHWvrWS2q6fKT1RvjJhT647w8HpTxhTBFMW0rLrdPJ7Hl r+2xDMCF9KBKnsbZPJI1y5KnuNCR2TkwreaOejr1mom/2fpfQ5FRLjoKMhHrLAJMsTZw ftRZzoK/jtLaWD4whDu5/52SuYn/Yjps+YOxr1DhNcLBW64CDKeVbDC/17BF7DBY6HPO wu4AL6XAFYeG007sTBbSmDoUvPnY5auK+xEO+wk6iSnezONeZAJAbn8xhidlDI+ow5Op 5NRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768753661; x=1769358461; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=RTdhscGz/iC5ItNGxfFbd03I1lBx5qSUHWiB+dkaTlo=; b=CoHovvKmSOCDbjHAcIqMuTLxxHkagKIahf+CJeqI11mh8QFgk5KEfQT1GhokNSgQyx SdlH7SM8O4AExswe1LDUOxbYp9S5n3zYKxc63jMHfXjkDgIBBFBo7DMxFPn6TVGdDAs4 77mUnrh3w5k4VQp85jGg5t2XotlOQizxSNmI9FTqNkxOKWq0oKfARhdX3RUvHW9cEAN1 rQDY2kr3ziSW5ureMxnv7J1wrXnXONtFXJ5BxGQaRTA3qR4SJ7vjz+QqwjsDfuFXt9Jo SQ1rAECy9PN5zUSDhAHcWnRvu6sn3rFbByw07cvEsGFB03KeWNwJv0ULdzEwJGmtJJ3n rssA== X-Gm-Message-State: AOJu0YyFFHyMjSDFFcxBsItuqXFjNeK6MQNok9Lk1egR3WDNkikQTIV4 3pAsmkEDt+I34A+UeJTy/kgeDd5xPBN/J1tA3ZSIOGzov8hBm9dkk3TNMVfQpg== X-Gm-Gg: AY/fxX5dq/l3I+hS8YYuv28hLIatbil00T52EStk2XtIJeimQcFZDG+m8bFRmRpO5zm 559f133TbEpaXrKj6NPSsdTKHR9jJZig7vJdJZOd4hdSz50cd5DOwfvhf0KQqEpUXxekARYgO5+ Wh+8yNEaKBCf4KEVr4IYmKQ5fY93ypYqrJTnQSqR+GagAFi3tRdMQAiJQiFgxVMcHaKOy9MiM9G yowWzQdB6ws1TFnUCo7jyfJulG2N+e3islhr+o0Ka3KRLCtJFzJ4jKZfwNJgbrwYcmGi+sxaauS LHhJyYkOzBc4/Lm1i9zbqrPl3K/5wf9q1zNeUYeJn6cVMmuTgB2xhHhmfvnydBEh3lq0ZBjazCK c6vS5J8agKV5BeDIMnEE+hh3nejCqFEvBhcRwhw+Q1u7g1uIO8ms9MKtnsX3KlzWP4ehogoN23v X1Pps57ZppNwAykLhXXjc= X-Received: by 2002:a05:600c:b93:b0:480:1db1:b44d with SMTP id 5b1f17b1804b1-4801e34cab5mr120996105e9.27.1768753661229; Sun, 18 Jan 2026 08:27:41 -0800 (PST) Received: from desktop ([51.154.145.205]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4801fe47dddsm61402165e9.13.2026.01.18.08.27.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Jan 2026 08:27:40 -0800 (PST) From: Gyorgy Sarvari To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH v2 1/5] python3-tblib: add recipe Date: Sun, 18 Jan 2026 17:27:35 +0100 Message-ID: <20260118162739.3764017-1-skandigraun@gmail.com> X-Mailer: git-send-email 2.52.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 18 Jan 2026 16:27:44 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/123572 Serialization library for Exceptions and Tracebacks. It is a runtime dependency for python3-django ptests. The ptests for this recipe run under a second. Sample output: root@qemux86-64:~# ptest-runner START: ptest-runner 2026-01-15T19:37 BEGIN: /usr/lib/python3-tblib/ptest PASS: tests/test_issue30.py:test_30 PASS: tests/test_issue65.py:test_65 PASS: tests/test_perf.py:test_perf [...many passing lines...] PASS: tests/test_tblib.py:test_parse_traceback PASS: tests/test_tblib.py:test_large_line_number PASS: tests/test_tblib.py:test_pytest_integration ============================================================================ Testsuite summary DURATION: 1 END: /usr/lib/python3-tblib/ptest 2026-01-15T19:37 STOP: ptest-runner TOTAL: 1 FAIL: 0 Signed-off-by: Gyorgy Sarvari --- .../ptest-packagelists-meta-python.inc | 1 + .../python/python3-tblib_3.2.2.bb | 22 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-tblib_3.2.2.bb diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index d83ac85f1b..3b21c7cfa2 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -104,6 +104,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-soupsieve \ python3-sqlparse \ python3-starlette \ + python3-tblib \ python3-tenacity \ python3-tomli-w \ python3-tomlkit \ diff --git a/meta-python/recipes-devtools/python/python3-tblib_3.2.2.bb b/meta-python/recipes-devtools/python/python3-tblib_3.2.2.bb new file mode 100644 index 0000000000..ae3ba730c5 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-tblib_3.2.2.bb @@ -0,0 +1,22 @@ +SUMMARY = "Serialization library for Exceptions and Tracebacks." +HOMEPAGE = "https://github.com/ionelmc/python-tblib" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=810c4c43873f8d9331fb067a6473a960" + +inherit pypi python_setuptools_build_meta ptest-python-pytest + +SRC_URI[sha256sum] = "e9a652692d91bf4f743d4a15bc174c0b76afc750fe8c7b6d195cc1c1d6d2ccec" + +do_install_ptest:append(){ + install -m 0644 ${S}/pytest.ini ${D}${PTEST_PATH} + # The tests are comparing exception outputs with expected ones, and it doesn't + # expect carets in the exception. + sed -i 's/pytest/PYTHONNODEBUGRANGES=1 pytest/' ${D}${PTEST_PATH}/run-ptest +} + +RDEPENDS:${PN}-ptest += " \ + python3-misc \ + python3-pytest-benchmark \ + python3-statistics \ + python3-twisted \ +" From patchwork Sun Jan 18 16:27:36 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyorgy Sarvari X-Patchwork-Id: 79009 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 E0741CA5FE4 for ; Sun, 18 Jan 2026 16:27:44 +0000 (UTC) Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.17249.1768753663642969258 for ; Sun, 18 Jan 2026 08:27:43 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fd6V09ly; spf=pass (domain: gmail.com, ip: 209.85.221.44, mailfrom: skandigraun@gmail.com) Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-4308d81fdf6so1913785f8f.2 for ; Sun, 18 Jan 2026 08:27:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768753662; x=1769358462; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=e80O+Kljk546OSkaE5Dqdo0U2XskGWvbvhGc64C6UAg=; b=fd6V09lyJrcPCTGP1WJ5oUtlafyxlCLiQYjJ6eLLBOLDCDiJhLkyfo5sfJSZbIWY1B b2AcJnBD2DGHxxdmN8efs3CDI0e88gl67FYlTBh58O0zJGm4cB5GlalhbiMkw/lXMGo/ bckwZvm+t3pRfHQQMFXEFz18j25BEsSHMIH17g4kkoYbvQFfjFD9c/2TjSSzDy3dDQPD YFsrpLoi5D9UoDhVC+WV1eForvo/OfGqwqoqs8yGU8fVCbK1ufqFWy9GAY1/2lKfoy+w MldNZ6e/EgrpoFw6ijTZYjWfLGr9qJWnohqLomVRS/zCGNdTP7+FWmGYTPaDqwZseXhF jv2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768753662; x=1769358462; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=e80O+Kljk546OSkaE5Dqdo0U2XskGWvbvhGc64C6UAg=; b=GDf249W1BRKKQNSmwW4RN1fmI6+9NZGHN+PUDUcDqyiTR8mF+X3e7pXDvEd1nfHxrk EMQ8bEanibHxGGssgatbVxWsiYMsHDJ41kksbocd5U9zTLIrDH/0PuAmXq/newsn6gwu bUsnkIkBZR4w3xnnF5RpkMtbOyFpeOW46gdDLAQH9cqy1p6JrrJoRcFSxsEBx+RYeiiX x/tqILTQ5GPEzC2uCT7UqlGeZN87f4U+lG7SMVJRpf2cT+5+gtlK62iKgB3QGhsczU+h b9OCmeKNvGXN/gnhsmPxjXEuNVzs3XcCFz4fJMSOLMf/dK5v275XId185iDyZhRRBjcz FjHw== X-Gm-Message-State: AOJu0Yy5zJ13xa2FDj0qDcFcLZoPHc0rV3JcHVZ+0iEgcZaFGaczw4vC uaE6Qu3DQ+9Ix7JhSTrvPkqT6/SCEFG/L8yZ//yxZmMqA2tHrPoZl6OGWayg5w== X-Gm-Gg: AY/fxX6eWrUKBXJBqV9dsGEHQgdxi8YqJm7vGlFxAOV1BOjyyvvjvMKs1RZxIHGoCne LgIgS1VxlrgpxOftMNyRunf1gYQH4dfDI6Majqf7JuEsgiuGYoXFg6KfIYNj1uE/jHeh/nEbUJG aPjIzvDjCSp/cTXJD7RdTcv34OcksOcYXCvyGgqToeeEChUFOm0nGcls+n9VYhmeWHe0H0gxfL7 QByXpxUTBBdOW6UCnLt97BfYfufalsXULLF59k+cUBIM3LzvTkyaSvpT2OLuGBu/TMUatpJog5M DObuLUKKdDwGT3Zc9r34a9ITPRXIpVGcony7yU3eePNYisM30IhsamhfPPPR4sS7QfBNrLaHe3o aJ6FhjjRoiNkLfFo60vImdORuGRGplJrSe9n9rTQBemLzYh5oxFoVzLfUwAU+TXZI5zA8n1RJF5 /sg42toHTI0R3ZRG0kEvg= X-Received: by 2002:a05:600c:8109:b0:480:2548:6f9c with SMTP id 5b1f17b1804b1-4802548706dmr74285885e9.6.1768753662016; Sun, 18 Jan 2026 08:27:42 -0800 (PST) Received: from desktop ([51.154.145.205]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4801fe47dddsm61402165e9.13.2026.01.18.08.27.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Jan 2026 08:27:41 -0800 (PST) From: Gyorgy Sarvari To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH v2 2/5] python3-django: drop recipe for version 4.2 Date: Sun, 18 Jan 2026 17:27:36 +0100 Message-ID: <20260118162739.3764017-2-skandigraun@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260118162739.3764017-1-skandigraun@gmail.com> References: <20260118162739.3764017-1-skandigraun@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 18 Jan 2026 16:27:44 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/123573 Though the version is not EOL yet, it doesn't support the Python that comes with oe-core. The last version is supports is 3.12[1], however oe-core comes with Python 3.13. [1]: https://docs.djangoproject.com/en/6.0/faq/install/ Signed-off-by: Gyorgy Sarvari --- .../python/python3-django_4.2.27.bb | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-django_4.2.27.bb diff --git a/meta-python/recipes-devtools/python/python3-django_4.2.27.bb b/meta-python/recipes-devtools/python/python3-django_4.2.27.bb deleted file mode 100644 index 86425ca724..0000000000 --- a/meta-python/recipes-devtools/python/python3-django_4.2.27.bb +++ /dev/null @@ -1,14 +0,0 @@ -require python3-django.inc -inherit python_setuptools_build_meta - -SRC_URI[sha256sum] = "b865fbe0f4a3d1ee36594c5efa42b20db3c8bbb10dff0736face1c6e4bda5b92" - -RDEPENDS:${PN} += "\ - python3-sqlparse \ - python3-asgiref \ -" - -# Set DEFAULT_PREFERENCE so that the LTS version of django is built by -# default. To build the 4.x branch, -# PREFERRED_VERSION_python3-django = "4.2.%" can be added to local.conf -DEFAULT_PREFERENCE = "-1" From patchwork Sun Jan 18 16:27:37 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyorgy Sarvari X-Patchwork-Id: 79012 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 C0CB0C9832F for ; Sun, 18 Jan 2026 16:27:54 +0000 (UTC) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.17247.1768753664642813277 for ; Sun, 18 Jan 2026 08:27:44 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=H7+07hZ4; spf=pass (domain: gmail.com, ip: 209.85.128.43, mailfrom: skandigraun@gmail.com) Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-47eddddcdcfso16665015e9.1 for ; Sun, 18 Jan 2026 08:27:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768753663; x=1769358463; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=ty/S48qEDIk7Hb7wboEU35laqm6BuKQEpJ5NRRsVnYw=; b=H7+07hZ4Jx+V9vrfTApvJhwrbtAP81t7plA92A0YZUOKOguePpPQ4jfXhGpV6QSAvu CK4SCv3z2dmVfDCv7iWPPF5rq5Koj0ozp9dOAyCs0WGT7LLAHnv/2sAFjUFxLw4oMuFq JlKnjCss4dr/jgTZoMczwyxA13zYMmoicOyc6vFnk50b7LndL4NEbcVAfPuKbWYnB3WQ 1i/W1iyhjkeDrV5PmrrfH3iRWJMsOvF4j+AutZArq2Y3/Up+akotff/bH+HhcAkHcBti WOIJsGV0gp+t30Ex/0NYGMHaBj/02b68F4faDgFbOv/rckF4PmgH2zh+2l6NrGGhHNHL +S2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768753663; x=1769358463; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=ty/S48qEDIk7Hb7wboEU35laqm6BuKQEpJ5NRRsVnYw=; b=WVGfUbL7iWlwiYcIR5f2KKZEWyJgAPssI2HA3XjKhuDszCSjyfVg2N0M+2vxHRhqjj QrEjdl6fbr3HR5yn23+hIdNBeY4BEEqK6SZ9hPJWV7JICC+pEm7nuR5KWKSKV1Zi4+hp ps+ip2kQfSQuc0T0TpqKuqr/LxiOAOC4PHNt6TepEBSoWcDu3B8ASFIevmr6FQM8sEe6 xRaslb0LaiZ0uiClsSV6e5CGlKA+lPYQJ24SWKN9mRVuwDr6kGGG1BIw4t/DINayZSf5 vw2+wIgIht8jG1w/xjEg6dvoUUKF/5xTW67dLajprKSwcdFaGWtMtwbTocnjoJaKlTho QslA== X-Gm-Message-State: AOJu0YzAJHHhNWwJHGGeU5txrP7I8KxGHtYn9Q0g5YcWTJ7IU2GMH3s0 skNFioULDjGf2oe0DU6HMtrDLRiv/SKNV9OjMdTdZPWZXASmSAssG1c76KxGAA== X-Gm-Gg: AY/fxX7pu0p0h5pfFamVrXdLdN/mvLt8mF6gd4+ubL8EuxBb+6dVcvutKZKteh344dE us3v6MZK/2hYn1W6HgfN5EbeDMzICC1eBUNban9OyWW9m/drBbUIQT7jYFHNRGZOsSmBLOPz/eI H9VnZVhDPrZRHoKnz9lc4WqTM4wiyT+3+p5ei2L6xr2eWdy+2YQZoQypy5JT3Wm8/sRKeStHEWR jqQN1hb3wMRMjZpN8CZH/tpOSESY8wmOL5h99RusOe/MBipGrpuldOnfxOiPqMCgf1ZpfmStLpu ijVxrauTr0R+buxFW9QSXlOWq1O/Z5Huoc8cjynP2p3SlvO5/js96FAXhMlFOlrz9vMGa5aaJ6i QCV9qBv9jacfRBL4xBFXLXIvXHySWRyZ+yaIrGc4ArdxmgrN96BShhw9HjfypwMbdlSBxpV2peL LP2iTV21a+ X-Received: by 2002:a05:600c:e41a:b0:46e:4b79:551 with SMTP id 5b1f17b1804b1-48024b8a77bmr84835695e9.31.1768753662832; Sun, 18 Jan 2026 08:27:42 -0800 (PST) Received: from desktop ([51.154.145.205]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4801fe47dddsm61402165e9.13.2026.01.18.08.27.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Jan 2026 08:27:42 -0800 (PST) From: Gyorgy Sarvari To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH v2 3/5] python3-django: add ptest support Date: Sun, 18 Jan 2026 17:27:37 +0100 Message-ID: <20260118162739.3764017-3-skandigraun@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260118162739.3764017-1-skandigraun@gmail.com> References: <20260118162739.3764017-1-skandigraun@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 18 Jan 2026 16:27:54 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/123574 Execute the standard, non-selenium tests. The execution is on the slower side: on my idle machine, KVM enabled it takes a bit more than 2.5 minutes to execute it (executing tests with 4 threads parallel, 1/core, the default configuration). If the machine is under load, it easily grows to over 10 minutes. Added two backported patches for Django 5.2 to fix some tests that would otherwise fail: 0001-Fix-test_strip_tags-test.patch: tag stripping tests failed due to changed Python behavior 0001-fix-test_msgfmt_error_including_non_ascii-test.patch: tests were updated to work with msgfmt 0.25 Most of the skipped tests require some specific database backend (Postgres, MySQL, Oracle...) or are Selenium tests. The output is very long (the suite contains way over 15k tests), so I omit the example output here. The current summary (for v5.2.9): Ran 18121 tests in 140.891s OK (skipped=1394, expected failures=5) Signed-off-by: Gyorgy Sarvari --- .../ptest-packagelists-meta-python.inc | 1 + .../images/meta-python-image-ptest.bb | 1 + .../python/python3-django.inc | 32 +++++++- .../0001-Fix-test_strip_tags-test.patch | 76 +++++++++++++++++++ ...sgfmt_error_including_non_ascii-test.patch | 71 +++++++++++++++++ .../python/python3-django/run-ptest | 19 +++++ .../python/python3-django_5.2.9.bb | 3 + 7 files changed, 202 insertions(+), 1 deletion(-) create mode 100644 meta-python/recipes-devtools/python/python3-django/0001-Fix-test_strip_tags-test.patch create mode 100644 meta-python/recipes-devtools/python/python3-django/0001-fix-test_msgfmt_error_including_non_ascii-test.patch create mode 100644 meta-python/recipes-devtools/python/python3-django/run-ptest diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index 3b21c7cfa2..d62f138798 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -129,6 +129,7 @@ PTESTS_FAST_META_PYTHON = "\ PTESTS_SLOW_META_PYTHON = "\ python3-arrow \ + python3-django \ python3-ecdsa \ python3-fastapi \ python3-google-auth \ diff --git a/meta-python/recipes-core/images/meta-python-image-ptest.bb b/meta-python/recipes-core/images/meta-python-image-ptest.bb index 794b9d1e4d..c5eb0b6403 100644 --- a/meta-python/recipes-core/images/meta-python-image-ptest.bb +++ b/meta-python/recipes-core/images/meta-python-image-ptest.bb @@ -32,6 +32,7 @@ QB_MEM:virtclass-mcextend-python3-scrypt = "-m 2048" # Needs atleast 5G to avoid OOMs QB_MEM:virtclass-mcextend-python3-fastjsonschema = "-m 5120" QB_MEM:virtclass-mcextend-python3-pillow = "-m 2048" +QB_MEM:virtclass-mcextend-python3-django = "-m 3072" TEST_SUITES = "ping ssh parselogs ptest" diff --git a/meta-python/recipes-devtools/python/python3-django.inc b/meta-python/recipes-devtools/python/python3-django.inc index c6475d2079..317793abba 100644 --- a/meta-python/recipes-devtools/python/python3-django.inc +++ b/meta-python/recipes-devtools/python/python3-django.inc @@ -6,7 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=f09eb47206614a4954c51db8a94840fa" PYPI_PACKAGE = "django" UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" -inherit pypi +inherit pypi ptest + +SRC_URI += "file://run-ptest" FILES:${PN} += "${datadir}/django" @@ -31,3 +33,31 @@ RDEPENDS:${PN} += "\ " CVE_PRODUCT = "django" + +do_install_ptest(){ + install -d ${D}${PTEST_PATH}//docs/_ext + install -m 0644 ${S}/docs/_ext/github_links.py ${D}${PTEST_PATH}/docs/_ext + + cp -r ${S}/tests ${D}${PTEST_PATH} + sed -i 's,/usr/bin/env python,/usr/bin/env python3,' ${D}${PTEST_PATH}/tests/runtests.py + ln -sr ${D}${libdir}/python3.*/site-packages/django ${D}${PTEST_PATH}/django +} + +RDEPENDS:${PN}-ptest += " \ + gettext \ + python3-asgiref \ + python3-bcrypt \ + python3-compile \ + python3-docutils \ + python3-fcntl \ + python3-jinja2 \ + python3-misc \ + python3-numpy \ + python3-pillow \ + python3-pyyaml \ + python3-sqlite3 \ + python3-statistics \ + python3-tblib \ + python3-zoneinfo \ + tzdata \ +" diff --git a/meta-python/recipes-devtools/python/python3-django/0001-Fix-test_strip_tags-test.patch b/meta-python/recipes-devtools/python/python3-django/0001-Fix-test_strip_tags-test.patch new file mode 100644 index 0000000000..f77c3b963a --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-django/0001-Fix-test_strip_tags-test.patch @@ -0,0 +1,76 @@ +From 7b80b2186300620931009fd62c2969f108fe7a62 Mon Sep 17 00:00:00 2001 +From: Jacob Walls +Date: Thu, 11 Dec 2025 08:44:19 -0500 +Subject: [PATCH] Refs #36499 -- Adjusted test_strip_tags following Python + behavior change for incomplete entities. + +Upstream-Status: Backport [https://github.com/django/django/commit/7b80b2186300620931009fd62c2969f108fe7a62] +Signed-off-by: Gyorgy Sarvari +--- + tests/utils_tests/test_html.py | 25 ++++++++++++++++++++----- + 1 file changed, 20 insertions(+), 5 deletions(-) + +diff --git a/tests/utils_tests/test_html.py b/tests/utils_tests/test_html.py +index 7412c2624c73..ee115aaf1cf2 100644 +--- a/tests/utils_tests/test_html.py ++++ b/tests/utils_tests/test_html.py +@@ -1,3 +1,4 @@ ++import math + import os + import sys + from datetime import datetime +@@ -124,7 +125,7 @@ + # old and new results. The check below is temporary until all supported + # Python versions and CI workers include the fix. See: + # https://github.com/python/cpython/commit/6eb6c5db +- min_fixed = { ++ min_fixed_security = { + (3, 14): (3, 14), + (3, 13): (3, 13, 6), + (3, 12): (3, 12, 12), +@@ -132,7 +133,21 @@ + (3, 10): (3, 10, 19), + (3, 9): (3, 9, 24), + } +- htmlparser_fixed = sys.version_info >= min_fixed[sys.version_info[:2]] ++ # Similarly, there was a fix for terminating incomplete entities. See: ++ # https://github.com/python/cpython/commit/95296a9d ++ min_fixed_incomplete_entities = { ++ (3, 14): (3, 14, 1), ++ (3, 13): (3, 13, 10), ++ (3, 12): (3, 12, math.inf), # not fixed in 3.12. ++ } ++ major_version = sys.version_info[:2] ++ htmlparser_fixed_security = sys.version_info >= min_fixed_security.get( ++ major_version, major_version ++ ) ++ htmlparser_fixed_incomplete_entities = ( ++ sys.version_info ++ >= min_fixed_incomplete_entities.get(major_version, major_version) ++ ) + items = ( + ( + "

See: 'é is an apostrophe followed by e acute

", +@@ -159,16 +174,19 @@ + # https://bugs.python.org/issue20288 + ("&gotcha&#;<>", "&gotcha&#;<>"), + ("ript>test</script>", "ript>test"), +- ("&h", "alert()h"), ++ ( ++ "&h", ++ "alert()&h;" if htmlparser_fixed_incomplete_entities else "alert()h", ++ ), + ( + ">" if htmlparser_fixed else ">" if htmlparser_fixed_security else ">br>br>br>X", "XX"), + ("<" * 50 + "a>" * 50, ""), + ( + ">" + "" if htmlparser_fixed else ">" + "" if htmlparser_fixed_security else ">" + " +Date: Fri, 6 Jun 2025 04:58:29 +0800 +Subject: [PATCH] Fixed #36421 -- Made test_msgfmt_error_including_non_ascii + compatible with msgfmt 0.25. + +Upstream-Status: Backport [https://github.com/django/django/commit/1960ecd879ce351226b36e7ac0aa25616241b6f6] +Signed-off-by: Gyorgy Sarvari +--- + tests/i18n/test_compilation.py | 25 +++++++++++++++++++++++-- + 1 file changed, 23 insertions(+), 2 deletions(-) + +diff --git a/tests/i18n/test_compilation.py b/tests/i18n/test_compilation.py +index 4b0bb9f6bb16..3a57dbf0765f 100644 +--- a/tests/i18n/test_compilation.py ++++ b/tests/i18n/test_compilation.py +@@ -1,5 +1,6 @@ + import gettext as gettext_module + import os ++import re + import stat + import unittest + from io import StringIO +@@ -8,10 +9,12 @@ + from unittest import mock + + from django.core.management import CommandError, call_command, execute_from_command_line +-from django.core.management.utils import find_command ++from django.core.management.utils import find_command, popen_wrapper + from django.test import SimpleTestCase, override_settings + from django.test.utils import captured_stderr, captured_stdout + from django.utils import translation ++from django.utils.encoding import DEFAULT_LOCALE_ENCODING ++from django.utils.functional import cached_property + from django.utils.translation import gettext + + from .utils import RunInTmpDirMixin, copytree +@@ -254,6 +257,17 @@ def test_no_dirs_accidentally_skipped(self): + + + class CompilationErrorHandling(MessageCompilationTests): ++ @cached_property ++ def msgfmt_version(self): ++ # Note that msgfmt is installed via GNU gettext tools, hence the msgfmt ++ # version should align to gettext. ++ out, err, status = popen_wrapper( ++ ["msgfmt", "--version"], ++ stdout_encoding=DEFAULT_LOCALE_ENCODING, ++ ) ++ m = re.search(r"(\d+)\.(\d+)\.?(\d+)?", out) ++ return tuple(int(d) for d in m.groups() if d is not None) ++ + def test_error_reported_by_msgfmt(self): + # po file contains wrong po formatting. + with self.assertRaises(CommandError): +@@ -278,7 +292,14 @@ def test_msgfmt_error_including_non_ascii(self): + call_command( + "compilemessages", locale=["ko"], stdout=StringIO(), stderr=stderr + ) +- self.assertIn("' cannot start a field name", stderr.getvalue()) ++ if self.msgfmt_version < (0, 25): ++ error_msg = "' cannot start a field name" ++ else: ++ error_msg = ( ++ "a field name starts with a character that is not alphanumerical " ++ "or underscore" ++ ) ++ self.assertIn(error_msg, stderr.getvalue()) + + + class ProjectAndAppTests(MessageCompilationTests): diff --git a/meta-python/recipes-devtools/python/python3-django/run-ptest b/meta-python/recipes-devtools/python/python3-django/run-ptest new file mode 100644 index 0000000000..a7fe08cc83 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-django/run-ptest @@ -0,0 +1,19 @@ +#!/bin/sh +useradd tester || echo test user exists already + +# We need $(pwd), because some tests import modules from the actual tests folder +# Also, there is one module in the docs/_ext folder that is imported, and that +# module accesses other modules by a relative path to itself. +export PYTHONPATH=$(pwd):$(pwd)/docs/_ext:$PYTHONPATH + +cd tests + +su tester -c "./runtests.py --noinput -v 2" 2>&1 | \ + tee ../testoutput.log | \ + sed -e '/\.\.\. ok/ s/^/PASS: /g' \ + -e '/\.\.\. \(ERROR\|FAIL\)/ s/^/FAIL: /g' \ + -e '/\.\.\. skipped/ s/^/SKIP: /g' \ + -e 's/ \.\.\. ok//g' \ + -e 's/ \.\.\. ERROR//g' \ + -e 's/ \.\.\. FAIL//g' \ + -e 's/ \.\.\. skipped//g' diff --git a/meta-python/recipes-devtools/python/python3-django_5.2.9.bb b/meta-python/recipes-devtools/python/python3-django_5.2.9.bb index c0aff44a78..fa9fb2e929 100644 --- a/meta-python/recipes-devtools/python/python3-django_5.2.9.bb +++ b/meta-python/recipes-devtools/python/python3-django_5.2.9.bb @@ -1,6 +1,9 @@ require python3-django.inc inherit python_setuptools_build_meta +SRC_URI += "file://0001-fix-test_msgfmt_error_including_non_ascii-test.patch \ + file://0001-Fix-test_strip_tags-test.patch \ +" SRC_URI[sha256sum] = "16b5ccfc5e8c27e6c0561af551d2ea32852d7352c67d452ae3e76b4f6b2ca495" RDEPENDS:${PN} += "\ From patchwork Sun Jan 18 16:27:38 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyorgy Sarvari X-Patchwork-Id: 79011 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 C205ECA5FE4 for ; Sun, 18 Jan 2026 16:27:54 +0000 (UTC) Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.17248.1768753665126872875 for ; Sun, 18 Jan 2026 08:27:45 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TjmpRINp; spf=pass (domain: gmail.com, ip: 209.85.128.42, mailfrom: skandigraun@gmail.com) Received: by mail-wm1-f42.google.com with SMTP id 5b1f17b1804b1-47ee76e8656so40642405e9.0 for ; Sun, 18 Jan 2026 08:27:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768753663; x=1769358463; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=+G7Vi+Fa9anGeeIveMMoYB6vZ15DlFrK58XYxWOQcyw=; b=TjmpRINpEPF5UXJDmsjUC/Eyy5oZxI1QOmRGy2nFmrxa+dcosZERSFNu5oImYH21ZO W5aXXDeZTor8KyqtZRUfXSLeJ62C+P2XDzAUEuecKcsD7jdnlR4Z//u0viOpmdzIB44u 0D4eNU0iy0K4d0cc3T95v3MoPG2jYPgdNjfIdPTz6ZCQy1yI7NQ4C7WYL06KDiBUHlZi aiE/jDRogmLirSONOUR+E8d1YogjRRUoFU0rH8pgUzZmV/dxrjgXTnBWwtoSCcgiMaGa 2S61FQmqYo45gcJJ2iWYEEY3dGCBgxU2r+r+trURx8w8zc2RMjEFpp/m1iCqpUPyNSdb oR8w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768753663; x=1769358463; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=+G7Vi+Fa9anGeeIveMMoYB6vZ15DlFrK58XYxWOQcyw=; b=ilybwmWJ8vv9ocUshti4V8ChYvSLKDZMv4zMHNBOs9lt6mGtIbMF987pctmfpIkcL3 IKR8RKVWM85QXmDuBavMIPo3FSPzTPlIk0B0gXsV7GmrvW9mKlVJFZ4oyhdy0SdBVrBJ 4Utos2a9kZ+Yisdci433e13pvqKMquW2XWKYBSFhDN5EtRSPcxDPxDtFOCrD6KWVEFW9 oR5fg5OhG5J86U2yiU3tuOPVN6Lx+zseIRaagw+PCoU222FgqV9Zqh/57qCQg/TJhmto BfPLwBh7xHFGbYucmvD+G685OXccUIL/48YBsGH022LbTKxD4MXbY8YqzMPEIC9JUotz DVmA== X-Gm-Message-State: AOJu0Yz98HGI/DaSSoM0r7C4J65+2F0p8UwEg+P9zpL73FvM2PqnKp7o 9PSKYYikhN/6TgM4wh0C2BmvficglQzLoFJ2YF+MvwX9YrD7RPkdD//Z5BV3xQ== X-Gm-Gg: AY/fxX6J6VyS2I3R6hiq7tMyna2m0xKVb10O0ChDokvDZ/P9nJKYJ+Uk8+BELfhzC0Q g//TYU1t2c9l766kaitiTxS1RtsbnaIv4rV604UkKqrj3rzd4/4z3KXjoUUOa/dC3d7IAUiUmhH qjgPAl1mxTG5E6sAL6z/owMu4r+xd+p2iSiMr8ZXxbdLopJhnUer22WUhR/0mkt5MnGtZCkCqTC z2Gw/EiXxG2QxvjMo/xQhzL9TnahRh17bTuNdXB99wQk2dwHnq4+mACGVNTwyM2Np8CT5pnq2Co QGXZuh+nG0Ylo4TwR2MCVlxVEY6qiIwPynFEi6EuYVMZMNZIwbkTNSjsqQhcqOi1V4NjkYuN70S LZ+C1wZpchEr/R0OViSAQv93ag5EQIWANKK2kTP69oQjbhEOUaxxiuRzGLcuujYEqyK4cEXc9O3 9Wp0V+FYEz X-Received: by 2002:a05:600c:6612:b0:47e:dddc:3369 with SMTP id 5b1f17b1804b1-4801e3530b7mr115755105e9.35.1768753663425; Sun, 18 Jan 2026 08:27:43 -0800 (PST) Received: from desktop ([51.154.145.205]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4801fe47dddsm61402165e9.13.2026.01.18.08.27.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Jan 2026 08:27:43 -0800 (PST) From: Gyorgy Sarvari To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH v2 4/5] python3-django: consolidate dependencies in .inc file Date: Sun, 18 Jan 2026 17:27:38 +0100 Message-ID: <20260118162739.3764017-4-skandigraun@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260118162739.3764017-1-skandigraun@gmail.com> References: <20260118162739.3764017-1-skandigraun@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 18 Jan 2026 16:27:54 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/123575 Django 4.2.x recipe has been deleted, the dependencies that were specific to version 5.x can be moved to the common .inc file. Signed-off-by: Gyorgy Sarvari --- meta-python/recipes-devtools/python/python3-django.inc | 3 ++- meta-python/recipes-devtools/python/python3-django_5.2.9.bb | 5 ----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-django.inc b/meta-python/recipes-devtools/python/python3-django.inc index 317793abba..589f6a5b85 100644 --- a/meta-python/recipes-devtools/python/python3-django.inc +++ b/meta-python/recipes-devtools/python/python3-django.inc @@ -15,6 +15,7 @@ FILES:${PN} += "${datadir}/django" BBCLASSEXTEND = "native nativesdk" RDEPENDS:${PN} += "\ + python3-asgiref \ python3-compression \ python3-ctypes \ python3-datetime \ @@ -27,6 +28,7 @@ RDEPENDS:${PN} += "\ python3-numbers \ python3-pkgutil \ python3-pytz \ + python3-sqlparse \ python3-threading \ python3-unixadmin \ python3-xml \ @@ -45,7 +47,6 @@ do_install_ptest(){ RDEPENDS:${PN}-ptest += " \ gettext \ - python3-asgiref \ python3-bcrypt \ python3-compile \ python3-docutils \ diff --git a/meta-python/recipes-devtools/python/python3-django_5.2.9.bb b/meta-python/recipes-devtools/python/python3-django_5.2.9.bb index fa9fb2e929..11f438d623 100644 --- a/meta-python/recipes-devtools/python/python3-django_5.2.9.bb +++ b/meta-python/recipes-devtools/python/python3-django_5.2.9.bb @@ -5,8 +5,3 @@ SRC_URI += "file://0001-fix-test_msgfmt_error_including_non_ascii-test.patch \ file://0001-Fix-test_strip_tags-test.patch \ " SRC_URI[sha256sum] = "16b5ccfc5e8c27e6c0561af551d2ea32852d7352c67d452ae3e76b4f6b2ca495" - -RDEPENDS:${PN} += "\ - python3-sqlparse \ - python3-asgiref \ -" From patchwork Sun Jan 18 16:27:39 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyorgy Sarvari X-Patchwork-Id: 79013 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 CC073D4A5F4 for ; Sun, 18 Jan 2026 16:27:54 +0000 (UTC) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.17250.1768753666805611935 for ; Sun, 18 Jan 2026 08:27:47 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=LALa0Pr/; spf=pass (domain: gmail.com, ip: 209.85.128.48, mailfrom: skandigraun@gmail.com) Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-47ee301a06aso31530895e9.0 for ; Sun, 18 Jan 2026 08:27:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768753665; x=1769358465; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=c7cz69sbLiVI+MZ5Z8Mpq0XoybGTGx8poaJS4kcJsNc=; b=LALa0Pr/64vojFIf69k5gBZa2YhWVfRNLsQRo645wOYajBifmLk1wkFuahVIoEQ3Zq n2lPNWjuDfshU+DoUQSEM/TdaXtxm6V0nLltEgbr8SSV0/dLuV+wnx2MK0fxr9/LVuhh 1krY0oF9JaXuCScUzA5XpViI6CJTHVKGgjGf+vIWl8N1KMGkewlTktqbyEAlX9HMqjRx iSoLffJeqy3t7xyiZWkzv55Kl868+XUwlDUJpPONcMB87ieXtNHV3hAqplYjmQQAuJO+ FHaBUbRvaHZlWCU2znZp3GUHpsSoF1wfIynnDFYzIHkpnfT+V5jlte/OtUNC0/neL23V ePdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768753665; x=1769358465; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=c7cz69sbLiVI+MZ5Z8Mpq0XoybGTGx8poaJS4kcJsNc=; b=ANVbQ8UczBsgVRU4rMDfMMyD5GDQgGp/IXhk1ZzPkIsJI1XWAQsHCmK72MdVfJJoZS 3bI5RynjZEYTk2p5vc+Mh4KvNmwrEB9qCR9RhM1fippfukgJ99RkBfvEqFdWgx9wL5WK hA5kdxnL/GMSe7S5Nn+F/S+2nHubiqmVu7SoBKjDW+uqnFb/oti/5aO7egvUlg2ckwE2 +sMl+egnO7a/2CFCSQnQw6Ka005ZI1Qj4qXFcnywPVv2d90nQ/OAmK626J1a+RRDb6DQ 20yd5gtR6h3KookAqLKcyNFIj014yOmMG8YyjTBx8cdOAgX/2Ik8cAacp0nHue45a8k/ vXpQ== X-Gm-Message-State: AOJu0YzbShJN9YG2r1Z5kEkZySXQn2klpEZUnNgFvgMzIZ6yd3HVVvcA CWu3hOoir9uLyA0yBeCFJKNj5MgTJKHokVVIvY1M9B8I+eiFh7x3o+X9r+SZEA== X-Gm-Gg: AY/fxX5jLiRRDeFKTUY+6ELT+EYsGUdiGnb55f7fzA3Cxsb8yZPM2tMO8tPUf1DBJMe dB5ZaSwZtRurPfc9sveTWagE/OWO5b4Xpofv2Bkhx3PcBiZMJ3eSMv+OJRggxN1Cj9vum0deWbi XwnblmuT7t8ikiUj/I5boKiUvqHpJv7QV32DUWqMhb/KGrU8Il1pyHoVL0LVqwurRalCdiCu3sZ +PGfIiujnFaYCXzX3lqktndX0QaGWMhwYmdjl3UCcRXKirKNFuVQb/awfx/A016WhJDu3r4SB7H +mfEKeTM5n09InR5zNW/wBVVKlzsgcYL/XQ/1qKNKnLeH7IKcFnoQWP3+X7AYM6Mef3+1tIk0Av i7OyejXt9H9MTFER9gDjq6cByBwGspfi31k3z1yylDBcEfsjHMeDS3Hug1dC1pvAws2Mh9qRq8m x4KSqddUWY X-Received: by 2002:a05:600c:4449:b0:477:abea:9023 with SMTP id 5b1f17b1804b1-4801eabdecfmr89996735e9.9.1768753665102; Sun, 18 Jan 2026 08:27:45 -0800 (PST) Received: from desktop ([51.154.145.205]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4801fe47dddsm61402165e9.13.2026.01.18.08.27.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Jan 2026 08:27:43 -0800 (PST) From: Gyorgy Sarvari To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH v2 5/5] python3-django: add recipe for version 6.0.1 Date: Sun, 18 Jan 2026 17:27:39 +0100 Message-ID: <20260118162739.3764017-5-skandigraun@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260118162739.3764017-1-skandigraun@gmail.com> References: <20260118162739.3764017-1-skandigraun@gmail.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 18 Jan 2026 16:27:54 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/123576 New, non-LTS version. Release notes: https://github.com/django/django/blob/main/docs/releases/6.0.txt New features in a nutshell: - Content Security Policy support - Template Partials - Background Tasks - Adoption of Python's modern email API Ptest summary: Ran 18643 tests in 164.287s OK (skipped=1404, expected failures=5) Signed-off-by: Gyorgy Sarvari --- .../recipes-devtools/python/python3-django_6.0.1.bb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-django_6.0.1.bb diff --git a/meta-python/recipes-devtools/python/python3-django_6.0.1.bb b/meta-python/recipes-devtools/python/python3-django_6.0.1.bb new file mode 100644 index 0000000000..9642a3c581 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-django_6.0.1.bb @@ -0,0 +1,9 @@ +require python3-django.inc +inherit python_setuptools_build_meta + +SRC_URI[sha256sum] = "ed76a7af4da21551573b3d9dfc1f53e20dd2e6c7d70a3adc93eedb6338130a5f" + +# Set DEFAULT_PREFERENCE so that the LTS version of django is built by +# default. To build the 6.x branch, +# PREFERRED_VERSION_python3-django = "6.0.%" can be added to local.conf +DEFAULT_PREFERENCE = "-1"