diff --git a/pymongo-4.11.1.tar.gz b/pymongo-4.11.1.tar.gz deleted file mode 100644 index 3d89c77..0000000 --- a/pymongo-4.11.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3757ce9257c3486eead45680a8895a0ed9ba27efaf1791fc0cf854367c21c638 -size 2054021 diff --git a/pymongo-4.15.3.tar.gz b/pymongo-4.15.3.tar.gz new file mode 100644 index 0000000..b4467e8 --- /dev/null +++ b/pymongo-4.15.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a981271347623b5319932796690c2d301668ac3a1965974ac9f5c3b8a22cea5 +size 2470801 diff --git a/python-pymongo.changes b/python-pymongo.changes index d97d333..40d02f8 100644 --- a/python-pymongo.changes +++ b/python-pymongo.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Fri Nov 7 01:33:18 UTC 2025 - Steve Kowalik + +- Update to 4.15.3: + * Queryable Encryption text queries beta + * Decimal128 encoding/decoding + * Preliminary support for Python 3.14, including free-threading + * New method: append_metadata + * Server selection performance improved when selecting a server + * Fixed a bug where AsyncMongoClient would block the event loop while + creating new connections, potentially significantly increasing latency + for ongoing operations. + * Fixed a bug that resulted in confusing error messages after hostname + verification errors when using PyOpenSSL. + * Fixed a bug that could raise ServerSelectionTimeoutError when using + timeouts with AsyncMongoClient. + * SRV hostname validation fails when resolver and resolved hostnames are + identical with three domain levels + * AsyncMongoClient connection error causes UnboundLocalError + * Update lockfile for compat with older versions of uv + * Support for configuring DEK cache lifetime. + * pymongocrypt>=1.13 is now required for In-Use Encryption support. + * AsyncMongoClient no longer performs DNS resolution for “mongodb+srv://” + connection strings on creation. + * Removed PyOpenSSL support from the asynchronous API due to limitations of + the CPython asyncio.Protocol SSL implementation. + * Allow valid SRV hostnames with less than 3 parts. + * WaitQueueTimeoutError should not clear the pool + * Allow Database.command to run bulkWrite commands + ------------------------------------------------------------------- Fri Jul 18 21:03:59 UTC 2025 - Dirk Müller diff --git a/python-pymongo.spec b/python-pymongo.spec index 61f5494..34db04c 100644 --- a/python-pymongo.spec +++ b/python-pymongo.spec @@ -1,7 +1,7 @@ # # spec file for package python-pymongo # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,28 +18,27 @@ %{?sle15_python_module_pythons} Name: python-pymongo -Version: 4.11.1 +Version: 4.15.3 Release: 0 Summary: Python driver for MongoDB License: Apache-2.0 -Group: Development/Languages/Python URL: https://github.com/mongodb/mongo-python-driver 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} +BuildRequires: %{python_module dnspython >= 2.6.1} BuildRequires: %{python_module hatch-requirements-txt} BuildRequires: %{python_module hatch_vcs} BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest-asyncio >= 0.24.0} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros %if 0%{?suse_version} || 0%{?fedora_version} >= 24 Suggests: mongodb %endif +Requires: python-dnspython >= 2.6.1 # Same namespace, different implementation (https://github.com/py-bson/bson) Conflicts: python-bson %python_subpackages @@ -67,6 +66,7 @@ export CFLAGS="%{optflags}" %check # tests rely on working DNS which is not available during build rm -v test/asynchronous/test_client.py +rm -v test/asynchronous/test_srv_polling.py rm -v test/test_srv_polling.py rm -v test/test_uri_spec.py %pytest_arch -k 'not (test_connection_timeout_ms_propagates_to_DNS_resolver or test_detected_environment_logging or test_detected_environment_warning)'