Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-mongoengine for 
openSUSE:Factory checked in at 2026-03-23 17:15:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mongoengine (Old)
 and      /work/SRC/openSUSE:Factory/.python-mongoengine.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mongoengine"

Mon Mar 23 17:15:51 2026 rev:10 rq:1342026 version:0.29.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mongoengine/python-mongoengine.changes    
2024-11-14 16:10:50.272129754 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-mongoengine.new.8177/python-mongoengine.changes
  2026-03-23 17:17:49.388790108 +0100
@@ -1,0 +2,7 @@
+Mon Mar 23 11:50:57 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 0.29.3:
+  * Remove mentions of mongoengine[dot]org has we no longer own
+    it
+
+-------------------------------------------------------------------

Old:
----
  v0.29.1.tar.gz

New:
----
  v0.29.3.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-mongoengine.spec ++++++
--- /var/tmp/diff_new_pack.tK9T5l/_old  2026-03-23 17:17:50.040817148 +0100
+++ /var/tmp/diff_new_pack.tK9T5l/_new  2026-03-23 17:17:50.044817313 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mongoengine
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 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,12 +18,12 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-mongoengine
-Version:        0.29.1
+Version:        0.29.3
 Release:        0
 Summary:        Python Object-Document Mapper for working with MongoDB
 License:        MIT
 Group:          Development/Languages/Python
-URL:            http://mongoengine.org/
+URL:            https://github.com/MongoEngine/mongoengine
 Source:         
https://github.com/MongoEngine/mongoengine/archive/v%{version}.tar.gz
 BuildRequires:  %{python_module blinker}
 BuildRequires:  %{python_module pip}

++++++ v0.29.1.tar.gz -> v0.29.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mongoengine-0.29.1/.github/workflows/github-actions.yml 
new/mongoengine-0.29.3/.github/workflows/github-actions.yml
--- old/mongoengine-0.29.1/.github/workflows/github-actions.yml 2024-09-19 
09:42:46.000000000 +0200
+++ new/mongoengine-0.29.3/.github/workflows/github-actions.yml 2026-03-10 
16:05:20.000000000 +0100
@@ -13,12 +13,10 @@
     tags:
       - 'v[0-9]+\.[0-9]+\.[0-9]+*'
 env:
-  MONGODB_3_6: 3.6.23
-  MONGODB_4_0: 4.0.28
-  MONGODB_4_4: 4.4
-  MONGODB_5_0: "5.0"
-  MONGODB_6_0: "6.0"
-  MONGODB_7_0: "7.0"
+  MONGODB_4_4: "4.4.29"
+  MONGODB_5_0: "5.0.31"
+  MONGODB_6_0: "6.0.22"
+  MONGODB_7_0: "7.0.19"
 
   PYMONGO_3_4: 3.4
   PYMONGO_3_6: 3.6
@@ -54,18 +52,15 @@
   test:
     # Test suite run against recent python versions
     # and against a few combination of MongoDB and pymongo
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-22.04
     strategy:
       fail-fast: false
       matrix:
-        python-version: [3.7, 3.8, 3.9, "3.10", 3.11, pypy3.9, pypy3.10]
-        MONGODB: [$MONGODB_4_0]
-        PYMONGO: [$PYMONGO_3_11]
+        python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.9", 
"pypy3.10"]
+        MONGODB: [$MONGODB_4_4]
+        PYMONGO: [$PYMONGO_3_12]
         include:
-          - python-version: 3.7
-            MONGODB: $MONGODB_3_6
-            PYMONGO: $PYMONGO_3_9
-          - python-version: 3.8
+          - python-version: "3.9"
             MONGODB: $MONGODB_4_4
             PYMONGO: $PYMONGO_3_11
           - python-version: 3.9
@@ -102,7 +97,6 @@
     - name: install mongo and ci dependencies
       run: |
         bash .github/workflows/install_mongo.sh ${{ matrix.MONGODB }}
-        bash .github/workflows/install_mongosh.sh ${{ matrix.MONGODB }} ${{ 
env.MONGOSH }}
         bash .github/workflows/install_ci_python_dep.sh
         bash .github/workflows/start_mongo.sh ${{ matrix.MONGODB }}
     - name: tox dry-run (to pre-install venv)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mongoengine-0.29.1/.github/workflows/install_mongo.sh 
new/mongoengine-0.29.3/.github/workflows/install_mongo.sh
--- old/mongoengine-0.29.1/.github/workflows/install_mongo.sh   2024-09-19 
09:42:46.000000000 +0200
+++ new/mongoengine-0.29.3/.github/workflows/install_mongo.sh   2026-03-10 
16:05:20.000000000 +0100
@@ -1,24 +1,82 @@
 #!/bin/bash
 
-MONGODB=$1
+set -e  # Exit immediately if a command exits with a non-zero status
+set -u  # Treat unset variables as an error
 
-# Mongo > 4.0 follows different name convention for download links
-mongo_build=mongodb-linux-x86_64-${MONGODB}
+if [ "$#" -ne 1 ]; then
+  echo >&2 "Usage: $0 <mongodb-version>"
+  echo >&2 "Example: $0 8.0.5"
+  exit 1
+fi
+
+MONGODB="$1"
+MONGOSH=2.5.1
 
-if [[ "$MONGODB" == *"4.2"* ]]; then
-  mongo_build=mongodb-linux-x86_64-ubuntu1804-v${MONGODB}-latest
-elif [[ "$MONGODB" == *"4.4"* ]]; then
-  mongo_build=mongodb-linux-x86_64-ubuntu1804-v${MONGODB}-latest
-elif [[ "$MONGODB" == *"5.0"* ]]; then
-  mongo_build=mongodb-linux-x86_64-ubuntu1804-v${MONGODB}-latest
-elif [[ "$MONGODB" == *"6.0"* ]]; then
-  mongo_build=mongodb-linux-x86_64-ubuntu1804-v${MONGODB}-latest
-elif [[ "$MONGODB" == *"7.0"* ]]; then
-  mongo_build=mongodb-linux-x86_64-ubuntu2004-v${MONGODB}-latest
+# Determine build name based on version
+if [[ "$MONGODB" =~ ^(6.0|7.0|8.0) ]]; then
+  mongodb_build="mongodb-linux-x86_64-ubuntu2204-${MONGODB}"
+elif [[ "$MONGODB" =~ ^(4.4|5.0) ]]; then
+  mongodb_build="mongodb-linux-x86_64-ubuntu2004-${MONGODB}"
+else
+  echo >&2 "Error: Unsupported MongoDB version: ${MONGODB}"
+  usage
 fi
 
-wget http://fastdl.mongodb.org/linux/$mongo_build.tgz
-tar xzf $mongo_build.tgz
+mongodb_tarball="${mongodb_build}.tgz"
+mongodb_download_url="http://fastdl.mongodb.org/linux/${mongodb_tarball}";
+
+mongosh_build="mongosh-${MONGOSH}-linux-x64"
+mongosh_tarball="${mongosh_build}.tgz"
+mongosh_download_url="https://github.com/mongodb-js/mongosh/releases/download/v${MONGOSH}/${mongosh_tarball}";
+
+set -- \
+  MongoDB "$mongodb_tarball" "$mongodb_download_url" \
+  "MongoDB Shell" "$mongosh_tarball" "$mongosh_download_url"
+
+while (( $# > 0 )) ; do
+  name="$1"
+  tarball="$2"
+  download_url="$3"
+  shift 3
+
+  echo >&2 "Downloading ${name} from ${download_url}..."
+  if ! wget --quiet "$download_url"; then
+    echo >&2 "Error: Failed to download ${name}."
+    exit 1
+  fi
+
+  echo >&2 "Extracting ${tarball}..."
+  if ! tar xzf "${tarball}"; then
+    echo >&2 "Error: Failed to extract ${tarball}"
+    exit 1
+  fi
+done
+
+mongodb_dir=$(find "${PWD}/" -type d -name "mongodb-linux-x86_64*" -print 
-quit)
+if [ -z "$mongodb_dir" ]; then
+  echo >&2 "Error: Could not find MongoDB directory after extraction."
+  exit 1
+fi
+
+mongosh_dir=$(find "${PWD}/" -type d -name "$mongosh_build" -print -quit)
+if [ ! -d "$mongosh_dir" ]; then
+    echo >&2 "Failed to find extracted mongosh directory."
+    rm -f "$TARBALL"
+    exit 1
+fi
+
+echo >&2 "Creating mongo.path"
+echo "export PATH='${mongodb_dir}/bin:${mongosh_dir}/bin:'"'$PATH' \
+  | tee >&2 mongo.path
+
+. mongo.path
+
+echo >&2 "MongoDB is installed at: ${mongodb_dir}"
+mongod >&2 --version
+
+echo >&2 "MongoDB Shell is installed at: ${mongosh_dir}"
+mongosh >&2 --version
 
-mongodb_dir=$(find ${PWD}/ -type d -name "mongodb-linux-x86_64*")
-$mongodb_dir/bin/mongod --version
+# Cleanup
+echo >&2 "Cleaning up..."
+rm -f "$mongodb_tarball" "$mongosh_tarball"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mongoengine-0.29.1/.github/workflows/start_mongo.sh 
new/mongoengine-0.29.3/.github/workflows/start_mongo.sh
--- old/mongoengine-0.29.1/.github/workflows/start_mongo.sh     2024-09-19 
09:42:46.000000000 +0200
+++ new/mongoengine-0.29.3/.github/workflows/start_mongo.sh     2026-03-10 
16:05:20.000000000 +0100
@@ -1,14 +1,25 @@
 #!/bin/bash
 
+set -e  # Exit immediately if a command exits with a non-zero status
+set -u  # Treat unset variables as an error
+
+. mongo.path
+
 MONGODB=$1
 
-mongodb_dir=$(find ${PWD}/ -type d -name "mongodb-linux-x86_64*")
+mongodb_dir=$(find ${PWD}/ -type d -name "mongodb-linux-x86_64*" -print -quit)
 
 mkdir $mongodb_dir/data
-$mongodb_dir/bin/mongod --dbpath $mongodb_dir/data --logpath 
$mongodb_dir/mongodb.log --fork
 
-if (( $(echo "$MONGODB < 6.0" | bc -l) )); then
-mongo --quiet --eval 'db.runCommand("ping").ok'    # Make sure mongo is awake
-else
-mongosh --quiet  --eval 'db.runCommand("ping").ok'  # Make sure mongo is awake
+args=(--dbpath $mongodb_dir/data --logpath $mongodb_dir/mongodb.log --fork 
--replSet mongoengine)
+
+# Parse version components
+MAJOR=$(echo "$MONGODB" | cut -d'.' -f1)
+MINOR=$(echo "$MONGODB" | cut -d'.' -f2)
+if [ "$MAJOR" -gt 3 ] || ([ "$MAJOR" -eq 3 ] && [ "$MINOR" -ge 8 ]); then
+    args+=(--setParameter maxTransactionLockRequestTimeoutMillis=1000)
 fi
+
+mongod "${args[@]}"
+mongosh --verbose --eval "rs.initiate()"
+mongosh --quiet --eval "rs.status().ok"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mongoengine-0.29.1/CONTRIBUTING.rst 
new/mongoengine-0.29.3/CONTRIBUTING.rst
--- old/mongoengine-0.29.1/CONTRIBUTING.rst     2024-09-19 09:42:46.000000000 
+0200
+++ new/mongoengine-0.29.3/CONTRIBUTING.rst     2026-03-10 16:05:20.000000000 
+0100
@@ -95,7 +95,7 @@
 -------------
 
 To contribute to the `API documentation
-<http://docs.mongoengine.org/en/latest/apireference.html>`_
+<https://mongoengine-odm.readthedocs.io/apireference.html>`_
 just make your changes to the inline documentation of the appropriate
 `source code <https://github.com/MongoEngine/mongoengine>`_ or `rst file
 <https://github.com/MongoEngine/mongoengine/tree/master/docs>`_ in a
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mongoengine-0.29.1/README.rst 
new/mongoengine-0.29.3/README.rst
--- old/mongoengine-0.29.1/README.rst   2024-09-19 09:42:46.000000000 +0200
+++ new/mongoengine-0.29.3/README.rst   2026-03-10 16:05:20.000000000 +0100
@@ -35,10 +35,10 @@
 
 Supported MongoDB Versions
 ==========================
-MongoEngine is currently tested against MongoDB v3.6, v4.0, v4.4, v5.0, v6.0 
and v7.0. Future versions
-should be supported as well, but aren't actively tested at the moment. Make
-sure to open an issue or submit a pull request if you experience any problems
-with a more recent MongoDB versions.
+MongoEngine is currently tested against MongoDB v4.4, v5.0, v6.0 and
+v7.0. Future versions should be supported as well, but aren't actively tested
+at the moment. Make sure to open an issue or submit a pull request if you
+experience any problems with a more recent MongoDB versions.
 
 Installation
 ============
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mongoengine-0.29.1/docs/changelog.rst 
new/mongoengine-0.29.3/docs/changelog.rst
--- old/mongoengine-0.29.1/docs/changelog.rst   2024-09-19 09:42:46.000000000 
+0200
+++ new/mongoengine-0.29.3/docs/changelog.rst   2026-03-10 16:05:20.000000000 
+0100
@@ -8,6 +8,13 @@
 ===========
 - (Fill this out as you fix issues and develop your features).
 
+Changes in 0.29.3
+=================
+- Remove mentions of mongoengine[dot]org has we no longer own it #2905
+
+Changes in 0.29.2
+=================
+- fixes relted with
 
 Changes in 0.29.1
 =================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mongoengine-0.29.1/docs/conf.py 
new/mongoengine-0.29.3/docs/conf.py
--- old/mongoengine-0.29.1/docs/conf.py 2024-09-19 09:42:46.000000000 +0200
+++ new/mongoengine-0.29.3/docs/conf.py 2026-03-10 16:05:20.000000000 +0100
@@ -100,7 +100,7 @@
 # Theme options are theme-specific and customize the look and feel of a theme
 # further.  For a list of options available for each theme, see the
 # documentation.
-html_theme_options = {"canonical_url": 
"http://docs.mongoengine.org/en/latest/"}
+html_theme_options = {"canonical_url": 
"https://mongoengine-odm.readthedocs.io/"}
 
 # Add any paths that contain custom themes here, relative to this directory.
 html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mongoengine-0.29.1/mongoengine/__init__.py 
new/mongoengine-0.29.3/mongoengine/__init__.py
--- old/mongoengine-0.29.1/mongoengine/__init__.py      2024-09-19 
09:42:46.000000000 +0200
+++ new/mongoengine-0.29.3/mongoengine/__init__.py      2026-03-10 
16:05:20.000000000 +0100
@@ -29,7 +29,7 @@
 )
 
 
-VERSION = (0, 29, 1)
+VERSION = (0, 29, 3)
 
 
 def get_version():
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mongoengine-0.29.1/mongoengine/connection.py 
new/mongoengine-0.29.3/mongoengine/connection.py
--- old/mongoengine-0.29.1/mongoengine/connection.py    2024-09-19 
09:42:46.000000000 +0200
+++ new/mongoengine-0.29.3/mongoengine/connection.py    2026-03-10 
16:05:20.000000000 +0100
@@ -136,16 +136,22 @@
                 if uri_dict.get(param):
                     conn_settings[param] = uri_dict[param]
 
-            uri_options = uri_dict[
-                "options"
-            ]  # uri_options is a _CaseInsensitiveDictionary
-            if "replicaset" in uri_options:
-                conn_settings["replicaSet"] = uri_options["replicaset"]
-            if "authsource" in uri_options:
-                conn_settings["authentication_source"] = 
uri_options["authsource"]
-            if "authmechanism" in uri_options:
-                conn_settings["authentication_mechanism"] = 
uri_options["authmechanism"]
-            if "readpreference" in uri_options:
+            uri_options = uri_dict["options"]
+            normalized_uri_options = {
+                key.lower(): value for key, value in uri_options.items()
+            }
+
+            if "replicaset" in normalized_uri_options:
+                conn_settings["replicaSet"] = 
normalized_uri_options["replicaset"]
+            if "authsource" in normalized_uri_options:
+                conn_settings["authentication_source"] = 
normalized_uri_options[
+                    "authsource"
+                ]
+            if "authmechanism" in normalized_uri_options:
+                conn_settings["authentication_mechanism"] = 
normalized_uri_options[
+                    "authmechanism"
+                ]
+            if "readpreference" in normalized_uri_options:
                 read_preferences = (
                     ReadPreference.NEAREST,
                     ReadPreference.PRIMARY,
@@ -159,7 +165,7 @@
                 # int (e.g. 3).
                 # TODO simplify the code below once we drop support for
                 # PyMongo v3.4.
-                read_pf_mode = uri_options["readpreference"]
+                read_pf_mode = normalized_uri_options["readpreference"]
                 if isinstance(read_pf_mode, str):
                     read_pf_mode = read_pf_mode.lower()
                 for preference in read_preferences:
@@ -170,23 +176,23 @@
                         ReadPrefClass = preference.__class__
                         break
 
-                if "readpreferencetags" in uri_options:
+                if "readpreferencetags" in normalized_uri_options:
                     conn_settings["read_preference"] = ReadPrefClass(
-                        tag_sets=uri_options["readpreferencetags"]
+                        tag_sets=normalized_uri_options["readpreferencetags"]
                     )
                 else:
                     conn_settings["read_preference"] = ReadPrefClass()
 
-            if "authmechanismproperties" in uri_options:
-                conn_settings["authmechanismproperties"] = uri_options[
+            if "authmechanismproperties" in normalized_uri_options:
+                conn_settings["authmechanismproperties"] = 
normalized_uri_options[
                     "authmechanismproperties"
                 ]
-            if "uuidrepresentation" in uri_options:
+            if "uuidrepresentation" in normalized_uri_options:
                 REV_UUID_REPRESENTATIONS = {
                     v: k for k, v in _UUID_REPRESENTATIONS.items()
                 }
                 conn_settings["uuidrepresentation"] = REV_UUID_REPRESENTATIONS[
-                    uri_options["uuidrepresentation"]
+                    normalized_uri_options["uuidrepresentation"]
                 ]
         else:
             resolved_hosts.append(entity)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mongoengine-0.29.1/setup.py 
new/mongoengine-0.29.3/setup.py
--- old/mongoengine-0.29.1/setup.py     2024-09-19 09:42:46.000000000 +0200
+++ new/mongoengine-0.29.3/setup.py     2026-03-10 16:05:20.000000000 +0100
@@ -58,7 +58,7 @@
     author_email="[email protected]",
     maintainer="Bastien Gerard",
     maintainer_email="[email protected]",
-    url="http://mongoengine.org/";,
+    url="https://github.com/MongoEngine/mongoengine";,
     download_url="https://github.com/MongoEngine/mongoengine/tarball/master";,
     license="MIT",
     include_package_data=True,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mongoengine-0.29.1/tests/document/test_dynamic.py 
new/mongoengine-0.29.3/tests/document/test_dynamic.py
--- old/mongoengine-0.29.1/tests/document/test_dynamic.py       2024-09-19 
09:42:46.000000000 +0200
+++ new/mongoengine-0.29.3/tests/document/test_dynamic.py       2026-03-10 
16:05:20.000000000 +0100
@@ -211,7 +211,7 @@
         Doc.drop_collection()
         doc = Doc()
 
-        embedded_doc_1 = Embedded(content="http://mongoengine.org";)
+        embedded_doc_1 = Embedded(content="http://garbage.org";)
         embedded_doc_1.validate()
 
         embedded_doc_2 = Embedded(content="this is not a url")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mongoengine-0.29.1/tests/document/test_instance.py 
new/mongoengine-0.29.3/tests/document/test_instance.py
--- old/mongoengine-0.29.1/tests/document/test_instance.py      2024-09-19 
09:42:46.000000000 +0200
+++ new/mongoengine-0.29.3/tests/document/test_instance.py      2026-03-10 
16:05:20.000000000 +0100
@@ -1499,7 +1499,7 @@
             map_field = MapField(IntField(), default=lambda: {"simple": 1})
             decimal_field = DecimalField(default=1.0)
             complex_datetime_field = ComplexDateTimeField(default=datetime.now)
-            url_field = URLField(default="http://mongoengine.org";)
+            url_field = URLField(default="http://garbage.org";)
             dynamic_field = DynamicField(default=1)
             generic_reference_field = GenericReferenceField(
                 default=lambda: Simple().save()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/mongoengine-0.29.1/tests/document/test_json_serialisation.py 
new/mongoengine-0.29.3/tests/document/test_json_serialisation.py
--- old/mongoengine-0.29.1/tests/document/test_json_serialisation.py    
2024-09-19 09:42:46.000000000 +0200
+++ new/mongoengine-0.29.3/tests/document/test_json_serialisation.py    
2026-03-10 16:05:20.000000000 +0100
@@ -79,7 +79,7 @@
             map_field = MapField(IntField(), default=lambda: {"simple": 1})
             decimal_field = DecimalField(default=1.0)
             complex_datetime_field = ComplexDateTimeField(default=datetime.now)
-            url_field = URLField(default="http://mongoengine.org";)
+            url_field = URLField(default="http://garbage.org";)
             dynamic_field = DynamicField(default=1)
             generic_reference_field = GenericReferenceField(
                 default=lambda: Simple().save()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mongoengine-0.29.1/tests/queryset/test_queryset.py 
new/mongoengine-0.29.3/tests/queryset/test_queryset.py
--- old/mongoengine-0.29.1/tests/queryset/test_queryset.py      2024-09-19 
09:42:46.000000000 +0200
+++ new/mongoengine-0.29.3/tests/queryset/test_queryset.py      2026-03-10 
16:05:20.000000000 +0100
@@ -5162,7 +5162,7 @@
             map_field = MapField(IntField(), default=lambda: {"simple": 1})
             decimal_field = DecimalField(default=1.0)
             complex_datetime_field = 
ComplexDateTimeField(default=datetime.datetime.now)
-            url_field = URLField(default="http://mongoengine.org";)
+            url_field = URLField(default="http://garbage.org";)
             dynamic_field = DynamicField(default=1)
             generic_reference_field = GenericReferenceField(
                 default=lambda: Simple().save()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/mongoengine-0.29.1/tests/test_connection.py 
new/mongoengine-0.29.3/tests/test_connection.py
--- old/mongoengine-0.29.1/tests/test_connection.py     2024-09-19 
09:42:46.000000000 +0200
+++ new/mongoengine-0.29.3/tests/test_connection.py     2026-03-10 
16:05:20.000000000 +0100
@@ -653,7 +653,10 @@
         mongo_connections["t1"].server_info()
         mongo_connections["t2"].server_info()
         assert mongo_connections["t1"].address[0] == "localhost"
-        assert mongo_connections["t2"].address[0] == "127.0.0.1"
+        assert mongoengine.connection._connection_settings["t2"]["host"] == [
+            "127.0.0.1"
+        ]
+        assert mongo_connections["t1"] is not mongo_connections["t2"]
 
     def test_connect_2_databases_uses_same_client_if_only_dbname_differs(self):
         c1 = connect(alias="testdb1", db="testdb1")

Reply via email to