diff mbox series

[meta-python,5/5] python3-django: add recipe for version 6.0.1

Message ID 20260116153311.3444648-5-skandigraun@gmail.com
State Under Review
Headers show
Series [meta-python,1/5] python3-tblib: add recipe | expand

Commit Message

Gyorgy Sarvari Jan. 16, 2026, 3:33 p.m. UTC
New, non-LTS version.

Release notes: https://github.com/django/django/blob/main/docs/releases/6.0.txt

New features in a nutshell:
- Content Security Policy support
- Template Partials
- Background Tasks
- Adoption of Python's modern email API

Ptest summary:
Ran 18643 tests in 164.287s
OK (skipped=1404, expected failures=5)

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
---
 .../recipes-devtools/python/python3-django_6.0.1.bb      | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-django_6.0.1.bb
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-django_6.0.1.bb b/meta-python/recipes-devtools/python/python3-django_6.0.1.bb
new file mode 100644
index 0000000000..9642a3c581
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-django_6.0.1.bb
@@ -0,0 +1,9 @@ 
+require python3-django.inc
+inherit python_setuptools_build_meta
+
+SRC_URI[sha256sum] = "ed76a7af4da21551573b3d9dfc1f53e20dd2e6c7d70a3adc93eedb6338130a5f"
+
+# Set DEFAULT_PREFERENCE so that the LTS version of django is built by
+# default. To build the 6.x branch,
+# PREFERRED_VERSION_python3-django = "6.0.%" can be added to local.conf
+DEFAULT_PREFERENCE = "-1"