Files
meta-openembedded/meta-python/recipes-devtools/python/python3-pymongo_4.20.0.bb
T
Khem Raj f85e2c447e python3-pymongo: upgrade 4.19.0 -> 4.20.0
Changes:
- Breaking: removed beta QueryType.PREFIXPREVIEW, SUFFIXPREVIEW and
  SUBSTRINGPREVIEW (use PREFIX/SUFFIX/SUBSTRING, needs MongoDB 9.0+
  and pymongocrypt 1.21.0+); removed the text_opts parameter and
  TextOpts class (use string_opts/StringOpts).
- Client handshake metadata reports a detected coding agent.
- Fix C and pure-Python BSON decoders disagreeing on UUID subtype
  binaries with non-16-byte payload.
- Fix MongoClient(maxPoolSize=0, minPoolSize>0) raising ValueError.
- ObjectId now rejects 24-char strings containing whitespace.
- Disable TLS session reuse on Python 3.11 (CPython memory leak).

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-11-17 12:59:01 -08:00

39 lines
1.1 KiB
BlitzBasic

SUMMARY = "Python driver for MongoDB <http://www.mongodb.org>"
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 = "https://github.com/mongodb/mongo-python-driver"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
SRC_URI[sha256sum] = "f773b0aec28687587cdeda490463a82debc4566a4a3620dcc8dada9d2c0a1acd"
CVE_PRODUCT = "mongodb:python_driver mongodb:pymongo"
inherit pypi 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 \
"