From 12c40f32549c76f9528e471f737a75418fd4bc99 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 8 Aug 2024 15:23:01 +0300 Subject: [PATCH] python3-pymongo: Upgrade 4.7.3 -> 4.8.0 Upgrade to release 4.8.0: - The handshake metadata for "os.name" on Windows has been simplified to "Windows" to improve import time. - The repr of bson.binary.Binary is now redacted when the subtype is SENSITIVE_SUBTYPE(8). - Secure Software Development Life Cycle automation for release process. - GitHub Releases now include a Software Bill of Materials, and signature files corresponding to the distribution files released on PyPI. - Fixed a bug in change streams where both startAtOperationTime and resumeToken could be added to a retry attempt, which caused the retry to fail. - Fallback to stdlib ssl module when pyopenssl import fails with AttributeError. - Improved performance of MongoClient operations, especially when many operations are being run concurrently. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- ...thon3-pymongo_4.7.3.bb => python3-pymongo_4.8.0.bb} | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) rename meta-python/recipes-devtools/python/{python3-pymongo_4.7.3.bb => python3-pymongo_4.8.0.bb} (76%) diff --git a/meta-python/recipes-devtools/python/python3-pymongo_4.7.3.bb b/meta-python/recipes-devtools/python/python3-pymongo_4.8.0.bb similarity index 76% rename from meta-python/recipes-devtools/python/python3-pymongo_4.7.3.bb rename to meta-python/recipes-devtools/python/python3-pymongo_4.8.0.bb index baaf3847a7..fcce456d86 100644 --- a/meta-python/recipes-devtools/python/python3-pymongo_4.7.3.bb +++ b/meta-python/recipes-devtools/python/python3-pymongo_4.8.0.bb @@ -8,14 +8,18 @@ HOMEPAGE = "http://github.com/mongodb/mongo-python-driver" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" -SRC_URI[sha256sum] = "6354a66b228f2cd399be7429685fb68e07f19110a3679782ecb4fdb68da03831" +SRC_URI[sha256sum] = "454f2295875744dc70f1881e4b2eb99cdad008a33574bc8aaf120530f66c0cde" -inherit pypi python_setuptools_build_meta +inherit pypi python_setuptools_build_meta python_hatchling PACKAGES =+ "python3-bson" FILES:python3-bson = "${PYTHON_SITEPACKAGES_DIR}/bson/*" +DEPENDS += " \ + python3-hatch-requirements-txt-native \ +" + RDEPENDS:python3-bson += " \ python3-datetime \ python3-json \ @@ -27,4 +31,6 @@ RDEPENDS:python3-bson += " \ RDEPENDS:${PN} += " \ python3-bson \ python3-pprint \ + python3-difflib \ + python3-logging \ "