From 12c40f32549c76f9528e471f737a75418fd4bc99 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 8 Aug 2024 15:23:01 +0300 Subject: 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 --- .../python/python3-pymongo_4.7.3.bb | 30 ------------------ .../python/python3-pymongo_4.8.0.bb | 36 ++++++++++++++++++++++ 2 files changed, 36 insertions(+), 30 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pymongo_4.7.3.bb create mode 100644 meta-python/recipes-devtools/python/python3-pymongo_4.8.0.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-pymongo_4.7.3.bb b/meta-python/recipes-devtools/python/python3-pymongo_4.7.3.bb deleted file mode 100644 index baaf3847a7..0000000000 --- a/meta-python/recipes-devtools/python/python3-pymongo_4.7.3.bb +++ /dev/null @@ -1,30 +0,0 @@ -SUMMARY = "Python driver for MongoDB " -DESCRIPTION = "\ -The PyMongo distribution contains tools for interacting with MongoDB \ -database from Python. The bson package is an implementation of the BSON \ -format for Python. The pymongo package is a native Python driver for \ -MongoDB. The gridfs package is a gridfs implementation on top of pymongo." -HOMEPAGE = "http://github.com/mongodb/mongo-python-driver" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" - -SRC_URI[sha256sum] = "6354a66b228f2cd399be7429685fb68e07f19110a3679782ecb4fdb68da03831" - -inherit pypi python_setuptools_build_meta - -PACKAGES =+ "python3-bson" - -FILES:python3-bson = "${PYTHON_SITEPACKAGES_DIR}/bson/*" - -RDEPENDS:python3-bson += " \ - python3-datetime \ - python3-json \ - python3-netclient \ - python3-numbers \ - python3-threading \ -" - -RDEPENDS:${PN} += " \ - python3-bson \ - python3-pprint \ -" diff --git a/meta-python/recipes-devtools/python/python3-pymongo_4.8.0.bb b/meta-python/recipes-devtools/python/python3-pymongo_4.8.0.bb new file mode 100644 index 0000000000..fcce456d86 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pymongo_4.8.0.bb @@ -0,0 +1,36 @@ +SUMMARY = "Python driver for MongoDB " +DESCRIPTION = "\ +The PyMongo distribution contains tools for interacting with MongoDB \ +database from Python. The bson package is an implementation of the BSON \ +format for Python. The pymongo package is a native Python driver for \ +MongoDB. The gridfs package is a gridfs implementation on top of pymongo." +HOMEPAGE = "http://github.com/mongodb/mongo-python-driver" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +SRC_URI[sha256sum] = "454f2295875744dc70f1881e4b2eb99cdad008a33574bc8aaf120530f66c0cde" + +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 \ + python3-netclient \ + python3-numbers \ + python3-threading \ +" + +RDEPENDS:${PN} += " \ + python3-bson \ + python3-pprint \ + python3-difflib \ + python3-logging \ +" -- cgit v1.2.3-54-g00ecf