Skip to contentSkip to conversation

python3-django_2.2.x: only check upstream 2.2.x

PATCH New Tim Orling 1 participant 1 message Aug 25, 2021

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

PATCH 1/1 python3-django_2.2.x: only check upstream 2.2.x

AUH currently sees this recipe needing to upgrade to 3.x but we do not want that. We are intentionally pinning at the 2.2.x LTS for this recipe.

References:
https://www.djangoproject.com/download/

---
 meta-python/recipes-devtools/python/python3-django_2.2.24.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-python/recipes-devtools/python/python3-django_2.2.24.bb +4 -0
index 2c0bcf720e..982362bdd1 100644
@@ -1,4 +1,8 @@
 require python-django.inc
+
+# Pin to 2.2.x LTS releases ONLY for this recipe
+UPSTREAM_CHECK_REGEX = "/${PYPI_PACKAGE}/(?P<pver>(2\.2\.\d*)+)/"
+
 inherit setuptools3
 
 SRC_URI[md5sum] = "ebf3bbb7716a7b11029e860475b9a122"
Signature · 1 line
2.30.2