Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pymongo for openSUSE:Factory
checked in at 2026-11-24 12:40:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pymongo (Old)
and /work/SRC/openSUSE:Factory/.python-pymongo.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pymongo"
Tue Nov 24 12:40:07 2026 rev:54 rq:1400073 version:4.20.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pymongo/python-pymongo.changes
2026-09-30 16:22:55.881047301 +0200
+++
/work/SRC/openSUSE:Factory/.python-pymongo.new.1340718/python-pymongo.changes
2026-11-24 12:46:12.332721698 +0100
@@ -1,0 +2,53 @@
+Tue Nov 24 00:25:37 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Update to 4.20.1:
+ * Fix getMore commands in load-balanced mode not retrying on retryable
+ overload errors
+ * Fix cancelled async commands missing a correlating CommandFailedEvent
+ before CancelledError propagates
+ * Sanitize parsing error messages (CVE-2026-129927, bsc#1291084)
+ * Improve credential validation
+ * Report detected coding agents in client.env.agent handshake metadata
+ * Remove beta PREFIXPREVIEW, SUFFIXPREVIEW, and SUBSTRINGPREVIEW query
+ types in favor of PREFIX, SUFFIX, and SUBSTRING
+ * Remove deprecated text_opts parameter of encrypt() and TextOpts class
+ in favor of string_opts and StringOpts
+ * Align C extension and pure-Python BSON decoders for non-16-byte UUID
+ subtypes 3 and 4
+ * Fix MongoClient(maxPoolSize=0, minPoolSize>0) raising ValueError by
+ treating maxPoolSize=0 as unlimited
+ * Reject 24-character ObjectId strings containing whitespace with
+ InvalidId and return False from ObjectId.is_valid()
+ * Fix Cursor and AsyncCursor let type annotation to Optional[Mapping]
+ * Disable TLS session reuse on Python 3.11 due to a CPython memory leak
+ * Fix AsyncMongoClient failing to recover when a replica set member
+ removes itself from the topology
+ * Fix signed integer overflow in C extension BSON buffer growth past
+ 1GiB
+ * Add support for Python 3.15
+ * Drop support for Python 3.9 and 3.10 (Python 3.11+ now required)
+ * Remove support for PyPy
+ * Remove deprecated Algorithm.RANGEPREVIEW and QueryType.RANGEPREVIEW
+ * Add support for running synchronous and asynchronous clients in
+ subinterpreters (Python 3.14+)
+ * Add HTTP proxy support for KMS requests via kms_connect_callback,
+ HTTPProxyKMSConnect, and AsyncHTTPProxyKMSConnect
+ * Add srv_host_validator callback argument to MongoClient and
+ AsyncMongoClient
+ * Allow srvAllowedHostsSuffix to be a single reserved label (e.g.,
+ localhost, test, internal)
+ * Fix synchronous client deadlock under gevent when a greenlet is
+ killed while returning a connection to the pool
+ * Compare full DriverInfo for append_metadata() deduplication and
+ reject '|' delimiters in DriverInfo fields
+ * Fix driver.name and driver.version '|' alignment and 512-byte
+ truncation in handshake metadata
+ * Fix SRV polling failing to update topology when one returned host is
+ invalid
+ * Fix C extension BSON decoder accepting documents whose element data
+ overlaps the document terminator
+ * Fix pure-Python decode_all() accepting trailing partial documents
+ instead of raising InvalidBSON
+- Use -m build to build the module so we can clean up between builds.
+
+-------------------------------------------------------------------
Old:
----
pymongo-4.18.2.tar.gz
New:
----
pymongo-4.20.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pymongo.spec ++++++
--- /var/tmp/diff_new_pack.ritYd8/_old 2026-11-24 12:46:13.482770439 +0100
+++ /var/tmp/diff_new_pack.ritYd8/_new 2026-11-24 12:46:13.485770566 +0100
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-pymongo
-Version: 4.18.2
+Version: 4.20.1
Release: 0
Summary: Python driver for MongoDB
License: Apache-2.0
@@ -26,8 +26,9 @@
Source:
https://files.pythonhosted.org/packages/source/p/pymongo/pymongo-%{version}.tar.gz
# PATCH-FIX-SUSE: upstream does not care about 32bit
Patch0: mongodb-skip-test.patch
-BuildRequires: %{python_module devel >= 3.10}
-BuildRequires: %{python_module dnspython >= 2.6.1}
+BuildRequires: %{python_module build}
+BuildRequires: %{python_module devel >= 3.11}
+BuildRequires: %{python_module dnspython >= 2.7.0}
BuildRequires: %{python_module hatch-requirements-txt}
BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module numpy}
@@ -40,9 +41,9 @@
Suggests: mongodb
%endif
%if 0%{?python_version_nodots} < 314
-Requires: python-backports.zstd
+Suggests: python-backports.zstd
%endif
-Requires: python-dnspython >= 2.6.1
+Requires: python-dnspython >= 2.7.0
# Same namespace, different implementation (https://github.com/py-bson/bson)
Conflicts: python-bson
%python_subpackages
@@ -59,13 +60,20 @@
%build
export CFLAGS="%{optflags}"
-%pyproject_wheel
+%{python_expand #
+# hatch_build.py runs an in-place build_ext and globs *all* built shared
+# objects; remove artifacts between flavor builds
+rm -fv bson/*.so pymongo/*.so
+$python -m build -wn -o build .
+}
%install
%pyproject_install
+%{python_expand #
# do we really need C sources installed?
-%python_expand rm -v %{buildroot}%{$python_sitearch}/bson/*.{c,h}
-%python_expand %fdupes %{buildroot}%{$python_sitearch}
+find %{buildroot}%{$python_sitearch} \( -name '*.c' -o -name '*.h' \) -print
-delete
+%fdupes %{buildroot}%{$python_sitearch}
+}
%check
# tests rely on working DNS which is not available during build
++++++ pymongo-4.18.2.tar.gz -> pymongo-4.20.1.tar.gz ++++++
++++ 85579 lines of diff (skipped)