summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-django
Commit message (Collapse)AuthorAgeFilesLines
* python3-django: add ptest supportGyorgy Sarvari39 hours3-0/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. When the default parallelism is used for the execution, the package needs 3GB RAM at least. 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>
* python3-django: Upgrade 5.2 -> 5.2.6Soumya Sambu2025-10-061-27/+0
| | | | | | | | | | | | | | | | Release notes: https://docs.djangoproject.com/en/5.2/releases/5.2.6/ https://docs.djangoproject.com/en/5.2/releases/5.2.5/ https://docs.djangoproject.com/en/5.2/releases/5.2.4/ https://docs.djangoproject.com/en/5.2/releases/5.2.3/ https://docs.djangoproject.com/en/5.2/releases/5.2.2/ https://docs.djangoproject.com/en/5.2/releases/5.2.1/ Drop patch 0001-Fixed-35980-Updated-setuptools-to-normalize-package.patch: already present in the upgraded version. Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-django: Upgrade 5.0.13 -> 5.2Mingli Yu2025-04-111-0/+27
Release note: https://docs.djangoproject.com/en/5.2/releases/5.2/ Backport a patch [1] to fix the below build failure: | ERROR Missing dependencies: | setuptools<69.3.0,>=61.0.0 [1] https://github.com/django/django/commit/3ae049b26b995c650c41ef918d5f60beed52b4ba Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>