forked from pool/python-pymongo
Compare commits
7 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| d9a9c55019 | |||
| e3536c917b | |||
| 413a992ab7 | |||
| d89a36e1c7 | |||
| 856b7df030 | |||
| 0288bb3285 | |||
| e73c09f49b |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3757ce9257c3486eead45680a8895a0ed9ba27efaf1791fc0cf854367c21c638
|
|
||||||
size 2054021
|
|
||||||
3
pymongo-4.15.5.tar.gz
Normal file
3
pymongo-4.15.5.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:3a8d6bf2610abe0c97c567cf98bf5bba3e90ccc93cc03c9dde75fa11e4267b42
|
||||||
|
size 2471889
|
||||||
@@ -1,3 +1,46 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 28 21:13:50 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 4.15.5:
|
||||||
|
* Fixed a bug that could cause AutoReconnect("connection pool
|
||||||
|
paused") errors when cursors fetched more documents from the
|
||||||
|
database after SDAM heartbeat failures.
|
||||||
|
* Relaxed the callback type of :meth:`~pymongo.asynchronous.cli
|
||||||
|
ent_session.AsyncClientSession.with_transaction` to allow the
|
||||||
|
broader Awaitable type rather than only Coroutine objects.
|
||||||
|
* Added the missing Python 3.14 trove classifier to the package
|
||||||
|
metadata.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 7 01:33:18 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- 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 <dmueller@suse.com>
|
Fri Jul 18 21:03:59 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pymongo
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,28 +18,27 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pymongo
|
Name: python-pymongo
|
||||||
Version: 4.11.1
|
Version: 4.15.5
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python driver for MongoDB
|
Summary: Python driver for MongoDB
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/mongodb/mongo-python-driver
|
URL: https://github.com/mongodb/mongo-python-driver
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pymongo/pymongo-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pymongo/pymongo-%{version}.tar.gz
|
||||||
# PATCH-FIX-SUSE: upstream does not care about 32bit
|
# PATCH-FIX-SUSE: upstream does not care about 32bit
|
||||||
Patch0: mongodb-skip-test.patch
|
Patch0: mongodb-skip-test.patch
|
||||||
BuildRequires: %{python_module devel >= 3.10}
|
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-requirements-txt}
|
||||||
BuildRequires: %{python_module hatch_vcs}
|
BuildRequires: %{python_module hatch_vcs}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest-asyncio >= 0.24.0}
|
BuildRequires: %{python_module pytest-asyncio >= 0.24.0}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module wheel}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
%if 0%{?suse_version} || 0%{?fedora_version} >= 24
|
%if 0%{?suse_version} || 0%{?fedora_version} >= 24
|
||||||
Suggests: mongodb
|
Suggests: mongodb
|
||||||
%endif
|
%endif
|
||||||
|
Requires: python-dnspython >= 2.6.1
|
||||||
# Same namespace, different implementation (https://github.com/py-bson/bson)
|
# Same namespace, different implementation (https://github.com/py-bson/bson)
|
||||||
Conflicts: python-bson
|
Conflicts: python-bson
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -67,6 +66,7 @@ export CFLAGS="%{optflags}"
|
|||||||
%check
|
%check
|
||||||
# tests rely on working DNS which is not available during build
|
# tests rely on working DNS which is not available during build
|
||||||
rm -v test/asynchronous/test_client.py
|
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_srv_polling.py
|
||||||
rm -v test/test_uri_spec.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)'
|
%pytest_arch -k 'not (test_connection_timeout_ms_propagates_to_DNS_resolver or test_detected_environment_logging or test_detected_environment_warning)'
|
||||||
|
|||||||
Reference in New Issue
Block a user