Some new tests expect the PWD to be writable, however this is not the case when running the tests in $PTEST_PATH with a non-root user. This patch makes it writable.
Ptests passed, however there is a flaky test. Upstream has a bug[1] about it: Ran 18651 tests in 144.573s OK (skipped=1396, expected failures=5) Changes: Contains fixes for CVE-2025-13473, CVE-2025-14550, CVE-2026-1207, CVE-2026-1285, CVE-2026-2187 and CVE-2026-1312 [1]: https://code.djangoproject.com/ticket/36770 Signed-off-by: Gyorgy Sarvari <[email protected]> --- meta-python/recipes-devtools/python/python3-django.inc | 4 ++++ .../{python3-django_6.0.1.bb => python3-django_6.0.2.bb} | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) rename meta-python/recipes-devtools/python/{python3-django_6.0.1.bb => python3-django_6.0.2.bb} (75%) diff --git a/meta-python/recipes-devtools/python/python3-django.inc b/meta-python/recipes-devtools/python/python3-django.inc index 589f6a5b85..4191d4384f 100644 --- a/meta-python/recipes-devtools/python/python3-django.inc +++ b/meta-python/recipes-devtools/python/python3-django.inc @@ -43,6 +43,10 @@ do_install_ptest(){ 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 + + # make the top folder writable for all - django 6 creates a test db file in there + # with a test user + chmod 777 ${D}${PTEST_PATH}/tests } RDEPENDS:${PN}-ptest += " \ diff --git a/meta-python/recipes-devtools/python/python3-django_6.0.1.bb b/meta-python/recipes-devtools/python/python3-django_6.0.2.bb similarity index 75% rename from meta-python/recipes-devtools/python/python3-django_6.0.1.bb rename to meta-python/recipes-devtools/python/python3-django_6.0.2.bb index 9642a3c581..001abf48e8 100644 --- a/meta-python/recipes-devtools/python/python3-django_6.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-django_6.0.2.bb @@ -1,7 +1,7 @@ require python3-django.inc inherit python_setuptools_build_meta -SRC_URI[sha256sum] = "ed76a7af4da21551573b3d9dfc1f53e20dd2e6c7d70a3adc93eedb6338130a5f" +SRC_URI[sha256sum] = "3046a53b0e40d4b676c3b774c73411d7184ae2745fe8ce5e45c0f33d3ddb71a7" # Set DEFAULT_PREFERENCE so that the LTS version of django is built by # default. To build the 6.x branch,
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#124322): https://lists.openembedded.org/g/openembedded-devel/message/124322 Mute This Topic: https://lists.openembedded.org/mt/117743905/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
