summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-django.inc
Commit message (Collapse)AuthorAgeFilesLines
* python3-django: consolidate dependencies in .inc fileGyorgy Sarvari5 days1-1/+2
| | | | | | | | Django 4.2.x recipe has been deleted, the dependencies that were specific to version 5.x can be moved to the common .inc file. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-django: add ptest supportGyorgy Sarvari5 days1-1/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | | | | | | | | | 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>
* Use https:// in HOMEPAGE variable instead of http://Jason Schonberg2025-03-251-1/+1
| | | | | Signed-off-by: Jason Schonberg <schonm@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-*: Update recipes to correctly check the upstream packagesDerek Straka2024-12-191-2/+2
| | | | | | | | | | | | With the upstream check migrated to the simple repo API, a number of the recipes required updates to: 1. Remove outdated UPSTREAM_CHECK_REGEX checks 2. Add recipe specific UPSTREAM_CHECK_PYPI_PACKAGE definitions for packages that use '_', CamelCase, or other deviations from PEP625 in the source archive Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-django: rename .inc file to BPN.incMartin Jansa2024-10-311-0/+33
* this one has 2 versions, so the .inc file cannot be folded into .bb files but we can at least rename it to start with BPN for consistency Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>