diff mbox series

[meta-python,6/6] python3-pymongo: Upgrade 4.7.3 -> 4.8.0

Message ID 20240808122301.2271346-6-leon.anavi@konsulko.com
State Accepted
Headers show
Series [meta-python,1/6] python3-pydantic: Upgrade 2.7.3 -> 2.8.2 | expand

Commit Message

Leon Anavi Aug. 8, 2024, 12:23 p.m. UTC
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 <leon.anavi@konsulko.com>
---
 ...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 mbox series

Patch

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 baaf3847a..fcce456d8 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 \
 "