From e3a6e86ccd6ad2965af3c6a0888171a3045355cabf192e6ca346583be83d644b Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 14 Nov 2024 08:56:11 +0000 Subject: [PATCH] - update to 0.29.1: * Add support for freshly released pymongo 4.9 #2849 * Fix weakref in EmbeddedDocumentListField (causing brief mem leak in certain circumstances) #2827 * Fix pillow deprecation warning related with LANCZOS filter #2824 * Allow gt/gte/lt/lte/ne operators to be used with a list as value on ListField #2813 * Switch tox to use pytest instead of legacy python setup.py test #2804 * Add support for timeseries collection #2661 * Add support in tests for MongoDB 7.0, pymongo 4.7 and pymongo 4.8 in the CI #2826 * Add support for array_filters in Queryset.modify #2811 * Integrate a docker-compose setup for local testing #2555 * improve ReferenceField wrong usage detection * Fix no_dereference thread-safetyness #2830 * BREAKING CHANGE: max_length in ListField is now keyword only on ListField signature * BREAKING CHANGE: Force field argument of ListField/DictField to be a field instance (e.g ListField(StringField()) instead of ListField(StringField) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mongoengine?expand=0&rev=17 --- python-mongoengine.changes | 26 ++++++++++++++++++++++++++ python-mongoengine.spec | 14 ++++++++------ v0.28.2.tar.gz | 3 --- v0.29.1.tar.gz | 3 +++ 4 files changed, 37 insertions(+), 9 deletions(-) delete mode 100644 v0.28.2.tar.gz create mode 100644 v0.29.1.tar.gz diff --git a/python-mongoengine.changes b/python-mongoengine.changes index 2e862dc..527f20e 100644 --- a/python-mongoengine.changes +++ b/python-mongoengine.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Thu Nov 14 08:56:02 UTC 2024 - Dirk Müller + +- update to 0.29.1: + * Add support for freshly released pymongo 4.9 #2849 + * Fix weakref in EmbeddedDocumentListField (causing brief mem + leak in certain circumstances) #2827 + * Fix pillow deprecation warning related with LANCZOS filter + #2824 + * Allow gt/gte/lt/lte/ne operators to be used with a list as + value on ListField #2813 + * Switch tox to use pytest instead of legacy python setup.py + test #2804 + * Add support for timeseries collection #2661 + * Add support in tests for MongoDB 7.0, pymongo 4.7 and pymongo + 4.8 in the CI #2826 + * Add support for array_filters in Queryset.modify #2811 + * Integrate a docker-compose setup for local testing #2555 + * improve ReferenceField wrong usage detection + * Fix no_dereference thread-safetyness #2830 + * BREAKING CHANGE: max_length in ListField is now keyword only + on ListField signature + * BREAKING CHANGE: Force field argument of ListField/DictField + to be a field instance (e.g ListField(StringField()) instead + of ListField(StringField) + ------------------------------------------------------------------- Tue Mar 19 07:04:04 UTC 2024 - Dirk Müller diff --git a/python-mongoengine.spec b/python-mongoengine.spec index 69bfaf2..d95c32e 100644 --- a/python-mongoengine.spec +++ b/python-mongoengine.spec @@ -16,10 +16,9 @@ # -%{?!python_module:%define python_module() python3-%{**}} -%global skip_python2 1 +%{?sle15_python_module_pythons} Name: python-mongoengine -Version: 0.28.2 +Version: 0.29.1 Release: 0 Summary: Python Object-Document Mapper for working with MongoDB License: MIT @@ -27,9 +26,11 @@ Group: Development/Languages/Python URL: http://mongoengine.org/ Source: https://github.com/MongoEngine/mongoengine/archive/v%{version}.tar.gz BuildRequires: %{python_module blinker} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pymongo >= 3.9} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-blinker @@ -47,10 +48,10 @@ built on top of PyMongo. %setup -q -n mongoengine-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -60,6 +61,7 @@ rm -v tests/test_connection.py %files %{python_files} %doc AUTHORS README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/mongoengine +%{python_sitelib}/mongoengine-%{version}.dist-info %changelog diff --git a/v0.28.2.tar.gz b/v0.28.2.tar.gz deleted file mode 100644 index a43a0a7..0000000 --- a/v0.28.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:066724e1570df75aa540ad399191103aa6d0be8013d735f5f17326b245b627ac -size 332841 diff --git a/v0.29.1.tar.gz b/v0.29.1.tar.gz new file mode 100644 index 0000000..bb0ee3f --- /dev/null +++ b/v0.29.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8267ca39ea2c9a63db836ce073c88c0b375b0cfa508a1b91b6f6cd9c67f9c53d +size 335042