diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2026-02-10 20:19:23 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-02-10 21:11:46 -0800 |
| commit | 476b723696dc08de246bba060316f282a7726520 (patch) | |
| tree | 4e5fda0aea22119021a7b515e40775f0a9e02cb1 /meta-python/recipes-devtools/python/python3-django.inc | |
| parent | 8fdf6a64c0cb66b82fc2237b5e5139b552b655fc (diff) | |
| download | meta-openembedded-476b723696dc08de246bba060316f282a7726520.tar.gz | |
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-django.inc')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-django.inc | 4 |
1 files changed, 4 insertions, 0 deletions
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(){ | |||
| 43 | cp -r ${S}/tests ${D}${PTEST_PATH} | 43 | cp -r ${S}/tests ${D}${PTEST_PATH} |
| 44 | sed -i 's,/usr/bin/env python,/usr/bin/env python3,' ${D}${PTEST_PATH}/tests/runtests.py | 44 | sed -i 's,/usr/bin/env python,/usr/bin/env python3,' ${D}${PTEST_PATH}/tests/runtests.py |
| 45 | ln -sr ${D}${libdir}/python3.*/site-packages/django ${D}${PTEST_PATH}/django | 45 | ln -sr ${D}${libdir}/python3.*/site-packages/django ${D}${PTEST_PATH}/django |
| 46 | |||
| 47 | # make the top folder writable for all - django 6 creates a test db file in there | ||
| 48 | # with a test user | ||
| 49 | chmod 777 ${D}${PTEST_PATH}/tests | ||
| 46 | } | 50 | } |
| 47 | 51 | ||
| 48 | RDEPENDS:${PN}-ptest += " \ | 52 | RDEPENDS:${PN}-ptest += " \ |
