summaryrefslogtreecommitdiffstats
path: root/meta-python/conf
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2026-01-18 17:27:37 +0100
committerKhem Raj <raj.khem@gmail.com>2026-01-20 08:27:10 -0800
commit96392e82313f62ad2dbdf21dfca62c4420425dd4 (patch)
tree9931f2dc7fbdd1fa045df5fcae5cb3c2531969c1 /meta-python/conf
parentbe4a258073ca1b16786f11906e5c76f6e9659658 (diff)
downloadmeta-openembedded-96392e82313f62ad2dbdf21dfca62c4420425dd4.tar.gz
python3-django: add ptest support
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 <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/conf')
-rw-r--r--meta-python/conf/include/ptest-packagelists-meta-python.inc1
1 files changed, 1 insertions, 0 deletions
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 = "\
129 129
130PTESTS_SLOW_META_PYTHON = "\ 130PTESTS_SLOW_META_PYTHON = "\
131 python3-arrow \ 131 python3-arrow \
132 python3-django \
132 python3-ecdsa \ 133 python3-ecdsa \
133 python3-fastapi \ 134 python3-fastapi \
134 python3-google-auth \ 135 python3-google-auth \