From b06bfdac6a26496971eaf627d49badda58ee4d8c Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 27 Jun 2023 15:12:13 +0800 Subject: python3-pymongo: upgrade 4.3.3 -> 4.4.0 Changelog: ========== - Added support for MongoDB 7.0. - Added support for Python 3.11. - Added support for passing a list containing (key, direction) pairs or keys to create_index(). - Improved bson encoding performance (PYTHON-3717 and PYTHON-3718). - Improved support for Pyright to improve typing support for IDEs like Visual Studio Code or Visual Studio. - Improved support for type-checking with MyPy "strict" mode (-strict). - Added create_encrypted_collection(), EncryptedCollectionError, encrypt_expression(), RangeOpts, and RANGEPREVIEW as part of the experimental Queryable Encryption beta. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-pymongo_4.3.3.bb | 30 ---------------------- .../python/python3-pymongo_4.4.0.bb | 30 ++++++++++++++++++++++ 2 files changed, 30 insertions(+), 30 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pymongo_4.3.3.bb create mode 100644 meta-python/recipes-devtools/python/python3-pymongo_4.4.0.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-pymongo_4.3.3.bb b/meta-python/recipes-devtools/python/python3-pymongo_4.3.3.bb deleted file mode 100644 index c1bc39a451..0000000000 --- a/meta-python/recipes-devtools/python/python3-pymongo_4.3.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] = "34e95ffb0a68bffbc3b437f2d1f25fc916fef3df5cdeed0992da5f42fae9b807" - -inherit pypi setuptools3 - -PACKAGES =+ "${PYTHON_PN}-bson" - -FILES:${PYTHON_PN}-bson = "${PYTHON_SITEPACKAGES_DIR}/bson/*" - -RDEPENDS:${PYTHON_PN}-bson += " \ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-netclient \ - ${PYTHON_PN}-numbers \ - ${PYTHON_PN}-threading \ -" - -RDEPENDS:${PN} += " \ - ${PYTHON_PN}-bson \ - ${PYTHON_PN}-pprint \ -" diff --git a/meta-python/recipes-devtools/python/python3-pymongo_4.4.0.bb b/meta-python/recipes-devtools/python/python3-pymongo_4.4.0.bb new file mode 100644 index 0000000000..a9bf31d811 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pymongo_4.4.0.bb @@ -0,0 +1,30 @@ +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] = "a1b5d286fee4b9b5a0312faede02f2ce2f56ac695685af1d25f428abdac9a22c" + +inherit pypi setuptools3 + +PACKAGES =+ "${PYTHON_PN}-bson" + +FILES:${PYTHON_PN}-bson = "${PYTHON_SITEPACKAGES_DIR}/bson/*" + +RDEPENDS:${PYTHON_PN}-bson += " \ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-json \ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-threading \ +" + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-bson \ + ${PYTHON_PN}-pprint \ +" -- cgit v1.2.3-54-g00ecf