Skip to contentSkip to conversation

python3-django: upgrade 2.2.25 -> 2.2.26

PATCH New Trevor Gamblin 1 participant 3 messages Jan 7, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 python3-django: upgrade 2.2.25 -> 2.2.26

2.2.26 provides fixes for three CVEs:

CVE-2021-45115
CVE-2021-45116
CVE-2021-45452

https://docs.djangoproject.com/en/4.0/releases/2.2.26/

---
 .../{python3-django_2.2.25.bb => python3-django_2.2.26.bb}      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-django_2.2.25.bb => python3-django_2.2.26.bb} (71%)
meta-python/recipes-devtools/python/python3-django_2.2.26.bb renamed from meta-python/recipes-devtools/python/python3-django_2.2.25.bb +1 -1
similarity index 71%
rename from meta-python/recipes-devtools/python/python3-django_2.2.25.bb
rename to meta-python/recipes-devtools/python/python3-django_2.2.26.bb
index 86d21fed0..523f0e091 100644
@@ -5,7 +5,7 @@ UPSTREAM_CHECK_REGEX = "/${PYPI_PACKAGE}/(?P<pver>(2\.2\.\d*)+)/"
 
 inherit setuptools3
 
-SRC_URI[sha256sum] = "b1e65eaf371347d4b13eb7e061b09786c973061de95390c327c85c1e2aa2349c"
+SRC_URI[sha256sum] = "dfa537267d52c6243a62b32855a744ca83c37c70600aacffbfd98bc5d6d8518f"
 
 RDEPENDS:${PN} += "\
     ${PYTHON_PN}-sqlparse \
Signature · 1 line
2.33.0
#1 lore raw

PATCH 2/3 python3-django: upgrade 3.2.10 -> 3.2.11

3.2.11 provides fixes for three CVEs:

CVE-2021-45115
CVE-2021-45116
CVE-2021-45452

https://docs.djangoproject.com/en/4.0/releases/3.2.11/

---
 .../{python3-django_3.2.10.bb => python3-django_3.2.11.bb}      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-django_3.2.10.bb => python3-django_3.2.11.bb} (77%)
meta-python/recipes-devtools/python/python3-django_3.2.11.bb renamed from meta-python/recipes-devtools/python/python3-django_3.2.10.bb +1 -1
similarity index 77%
rename from meta-python/recipes-devtools/python/python3-django_3.2.10.bb
rename to meta-python/recipes-devtools/python/python3-django_3.2.11.bb
index 0c5fbb8c8..6b97ef49c 100644
@@ -1,7 +1,7 @@
 require python-django.inc
 inherit setuptools3
 
-SRC_URI[sha256sum] = "074e8818b4b40acdc2369e67dcd6555d558329785408dcd25340ee98f1f1d5c4"
+SRC_URI[sha256sum] = "69c94abe5d6b1b088bf475e09b7b74403f943e34da107e798465d2045da27e75"
 
 RDEPENDS:${PN} += "\
     ${PYTHON_PN}-sqlparse \
Signature · 1 line
2.33.0
#2 lore raw

PATCH 3/3 python3-django: Add recipe for 4.0.1

In reply to Trevor Gamblin
---
 .../recipes-devtools/python/python3-django_4.0.1.bb | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-django_4.0.1.bb
meta-python/recipes-devtools/python/python3-django_4.0.1.bb new file +13 -0
new file mode 100644
index 000000000..6cf8cad8a
@@ -0,0 +1,13 @@
+require python-django.inc
+inherit setuptools3
+
+SRC_URI[sha256sum] = "2485eea3cc4c3bae13080dee866ebf90ba9f98d1afe8fda89bfb0eb2e218ef86"
+
+RDEPENDS:${PN} += "\
+    ${PYTHON_PN}-sqlparse \
+"
+
+# Set DEFAULT_PREFERENCE so that the LTS version of django is built by
+# default. To build the 4.x branch, 
+# PREFERRED_VERSION_python3-django = "4.0.2" can be added to local.conf
+DEFAULT_PREFERENCE = "-1"
Signature · 1 line
2.33.0