Skip to contentSkip to conversation

python3-django: upgrade 3.2.4 -> 3.2.5

PATCH New Trevor Gamblin 1 participant 3 messages Jul 16, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 python3-django: upgrade 3.2.4 -> 3.2.5

3.2.5 fixes CVE-2021-35042: Potential SQL injection via unsanitized QuerySet.order_by() input.

Additional release notes:

- Fixed a regression in Django 3.2 that caused a crash of QuerySet.values_list(…, named=True) after prefetch_related() (#32812).
- Fixed a bug in Django 3.2 that caused a migration crash on MySQL 8.0.13+ when altering BinaryField, JSONField, or TextField to non-nullable (#32503).
- Fixed a regression in Django 3.2 that caused a migration crash on MySQL 8.0.13+ when adding nullable BinaryField, JSONField, or TextField with a default value (#32832).
- Fixed a bug in Django 3.2 where a system check would crash on a model with an invalid app_label (#32863).

---
 .../python/{python3-django_3.2.4.bb => python3-django_3.2.5.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-django_3.2.4.bb => python3-django_3.2.5.bb} (77%)
meta-python/recipes-devtools/python/python3-django_3.2.5.bb renamed from meta-python/recipes-devtools/python/python3-django_3.2.4.bb +1 -1
similarity index 77%
rename from meta-python/recipes-devtools/python/python3-django_3.2.4.bb
rename to meta-python/recipes-devtools/python/python3-django_3.2.5.bb
index 52504885e..5890c8541 100644
@@ -1,7 +1,7 @@
 require python-django.inc
 inherit setuptools3
 
-SRC_URI[sha256sum] = "66c9d8db8cc6fe938a28b7887c1596e42d522e27618562517cc8929eb7e7f296"
+SRC_URI[sha256sum] = "3da05fea54fdec2315b54a563d5b59f3b4e2b1e69c3a5841dda35019c01855cd"
 
 RDEPENDS_${PN} += "\
     ${PYTHON_PN}-sqlparse \
Signature · 1 line
2.31.1
#1 lore raw

PATCH 2/3 python3-geomet: add recipe

GeoMet - Convert GeoJSON to WKT/WKB, and vice versa

Release 0.3.0 notes:

- Add support for GeoPackage binary format (#56)
- Add support for EsriJSON (#63, #66)
- Migrate CI/CD/release automation to CircleCI, away from
- Travis-CI (#62)
- Automate releases to PyPI through CircleCI (#62, #67)
- Fix parsing for empty geometries (#53, #49)
- Improve test coverage (#54)

---
 .../python/python3-geomet_0.3.0.bb            | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-geomet_0.3.0.bb
meta-python/recipes-devtools/python/python3-geomet_0.3.0.bb new file +21 -0
new file mode 100644
index 000000000..bf2db495c
@@ -0,0 +1,21 @@
+SUMMARY = "Convert GeoJSON to WKT/WKB (Well-Known Text/Binary), and vice versa."
+DESCRIPTION = "Convert GeoJSON to WKT/WKB (Well-Known Text/Binary), and vice versa."
+HOMEPAGE = "https://github.com/geomet/geomet"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
+SRCNAME = "geomet"
+
+SRC_URI[sha256sum] = "cb52411978ee01ff104ab48f108d7333b14423ae7a15a65fee25b7d29bda2e1b"
+
+S = "${WORKDIR}/git"
+SRC_URI = "git://github.com/geomet/geomet.git;protocol=https;branch=release-${PV} \
+           "
+SRCREV = "73ec5ec96cca32f2e2461d3964fc3d4ab80248f9"
+
+inherit setuptools3
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-click \
+    ${PYTHON_PN}-six \
+"
Signature · 1 line
2.31.1
#2 lore raw

PATCH 3/3 python3-cassandra-driver: add geomet to RDEPENDS, remove DISTUTILS options

In reply to Trevor Gamblin

python3-cassandra-driver is failing on do_install because the recipe is trying to pull sources while installing, but it can no longer do this because a recent change to python3-setuptools removing support for the deprecated ssl.match_hostname method. Since this only seems to occur when the DISTUTILS = "--no-libev" option to disable the libev extension is given, remove that from the recipe and let the extension be compiled into the package. Additionally, add python3-geomet (the dependency that cassandra-driver was trying to pull during do_install) to the RDEPENDS now that it exists as a recipe.

---
 .../python/python3-cassandra-driver_3.25.0.bb             | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
meta-python/recipes-devtools/python/python3-cassandra-driver_3.25.0.bb +1 -7
index a1941bf3c..ad446d6ef 100644
@@ -10,17 +10,11 @@ SRCNAME = "cassandra-driver"
 
 SRC_URI[sha256sum] = "8ad7d7c090eb1cac6110b3bfc1fd2d334ac62f415aac09350ebb8d241b7aa7ee"
 
-DISTUTILS_BUILD_ARGS += " \
-    --no-libev \
-"
-DISTUTILS_INSTALL_ARGS += " \
-    --no-libev \
-"
-
 inherit pypi setuptools3
 
 RDEPENDS_${PN} += "\
     ${PYTHON_PN}-cython \
+    ${PYTHON_PN}-geomet \
     ${PYTHON_PN}-json \
     ${PYTHON_PN}-misc \
     ${PYTHON_PN}-multiprocessing \
Signature · 1 line
2.31.1