summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-django
Commit message (Collapse)AuthorAgeFilesLines
* python3-django: upgrade 5.2.9 -> 5.2.11Gyorgy Sarvari5 days1-76/+0
| | | | | | | | | | | | | | | | | | | | | | | | Dropped patch that is included in this release. Ptests passed: Ran 18131 tests in 450.882s OK (skipped=1389, expected failures=5) Changelog: 5.2.11: Contains fixes for CVE-2025-13473, CVE-2025-14550, CVE-2026-1207, CVE-2026-1285, CVE-2026-1287 and CVE-2026-1312 5.2.10: * Fixed a bug in Django 5.2 where data exceeding max_length was silently truncated by QuerySet.bulk_create on PostgreSQL. * Fixed a bug where management command colorized help (introduced in Python 3.14) ignored the --no-color option and the DJANGO_COLORS setting. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-django: add ptest supportGyorgy Sarvari2026-01-203-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. 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>