mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-14 14:20:28 +00:00
python3-django: upgrade 6.0.1 -> 6.0.2
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 <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -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 += " \
|
||||
|
||||
Reference in New Issue
Block a user