15
0

18 Commits

Author SHA256 Message Date
8140420890 Accepting request 1224105 from devel:languages:python
- 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/request/show/1224105
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mongoengine?expand=0&rev=9
2024-11-14 15:09:50 +00:00
e3a6e86ccd - 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
2024-11-14 08:56:11 +00:00
1aca60d88b Accepting request 1159226 from devel:languages:python
- update to 0.28.2:
  * Fix typing import incompatible with Pymongo 3.7
  * Fix bug related with recent updates to no_dereference context
     manager #2799
  * Fix for uuidRepresentation not read when provided in URI #2741
  * Add option to user array_filters
  * Fix combination of __raw__ and mongoengine syntax #2773
  * Add tests against MongoDB 6.0 and MongoDB 7.0 in the pipeline
  * Fix validate() not being called when inheritance is used in
    EmbeddedDocument and validate is overriden #2784
  * Add support for readPreferenceTags in connection parameters
  * Use estimated_documents_count OR documents_count when count
    is called, based on the query #2529
  * Fix no_dereference context manager which wasn't turning off
    auto-dereferencing correctly in some cases #2788
  * BREAKING CHANGE: no_dereference context manager no longer
    returns the class in __enter__ #2788
    as it was useless and making it look like it was returning
    a different class although it was the same.
  * Added __raw__ to :meth:`~mongoengine.Queryset.order_by()` to
    allow to provide raw pymongo 'sort' argument and get around
    some of the limitations #2783
  * Add `text_score` argument on mongoengine.Document.search_text()
    to allow text_score computation to be turned off
    as it interfere with natural returned documents order #2759

OBS-URL: https://build.opensuse.org/request/show/1159226
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mongoengine?expand=0&rev=8
2024-03-19 16:32:04 +00:00
64eaa09895 - update to 0.28.2:
* Fix typing import incompatible with Pymongo 3.7
  * Fix bug related with recent updates to no_dereference context
     manager #2799
  * Fix for uuidRepresentation not read when provided in URI #2741
  * Add option to user array_filters
  * Fix combination of __raw__ and mongoengine syntax #2773
  * Add tests against MongoDB 6.0 and MongoDB 7.0 in the pipeline
  * Fix validate() not being called when inheritance is used in
    EmbeddedDocument and validate is overriden #2784
  * Add support for readPreferenceTags in connection parameters
  * Use estimated_documents_count OR documents_count when count
    is called, based on the query #2529
  * Fix no_dereference context manager which wasn't turning off
    auto-dereferencing correctly in some cases #2788
  * BREAKING CHANGE: no_dereference context manager no longer
    returns the class in __enter__ #2788
    as it was useless and making it look like it was returning
    a different class although it was the same.
  * Added __raw__ to :meth:`~mongoengine.Queryset.order_by()` to
    allow to provide raw pymongo 'sort' argument and get around
    some of the limitations #2783
  * Add `text_score` argument on mongoengine.Document.search_text()
    to allow text_score computation to be turned off
    as it interfere with natural returned documents order #2759

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mongoengine?expand=0&rev=15
2024-03-19 07:06:16 +00:00
9963611a3e Accepting request 1074497 from devel:languages:python
- update to 0.27.0:
  * Update uuidRepresentation warnings with "unspecified" as the
    future default (instead of 'standard' previously advertised)
    #2739
  * Added `mongo_client_class` optional parameter to connect() to
    allow to use an alternative mongo client than
    pymongo.MongoClient.
  * Fix DictField that always gets marked as changed #2606
  * fix for Queryset.none() that has no effect on
    update/aggregate / first #2669
  * Changes in 0.26.0
  * BREAKING CHANGE: Improved the performance of
    :meth:`~mongoengine.Document.save()`
    by removing the call to
    :meth:`~mongoengine.Document.ensure_indexes` unless
    ``meta['auto_create_index_on_save']`` is set to True. With
    the default settings, Document indexes will still be created
    on the fly, during the first usage of the collection
    (query, insert, etc), they will just not be re-created
    whenever .save() is called.
  * BREAKING CHANGE: remove deprecated method ``ensure_index``
    (replaced by ``create_index`` long time ago).
  * Addition of Decimal128Field:
    :class:`~mongoengine.fields.Decimal128Field` for accurate
    representation of Decimals (much better than the legacy field
    DecimalField).
  * BREAKING CHANGE: When using ListField(EnumField) or
    DictField(EnumField), the values weren't always cast into the
    Enum
  * BREAKING CHANGE (bugfix) Querying ObjectIdField or

OBS-URL: https://build.opensuse.org/request/show/1074497
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mongoengine?expand=0&rev=7
2023-03-27 16:16:06 +00:00
7895589c80 - update to 0.27.0:
* Update uuidRepresentation warnings with "unspecified" as the
    future default (instead of 'standard' previously advertised)
    #2739
  * Added `mongo_client_class` optional parameter to connect() to
    allow to use an alternative mongo client than
    pymongo.MongoClient.
  * Fix DictField that always gets marked as changed #2606
  * fix for Queryset.none() that has no effect on
    update/aggregate / first #2669
  * Changes in 0.26.0
  * BREAKING CHANGE: Improved the performance of
    :meth:`~mongoengine.Document.save()`
    by removing the call to
    :meth:`~mongoengine.Document.ensure_indexes` unless
    ``meta['auto_create_index_on_save']`` is set to True. With
    the default settings, Document indexes will still be created
    on the fly, during the first usage of the collection
    (query, insert, etc), they will just not be re-created
    whenever .save() is called.
  * BREAKING CHANGE: remove deprecated method ``ensure_index``
    (replaced by ``create_index`` long time ago).
  * Addition of Decimal128Field:
    :class:`~mongoengine.fields.Decimal128Field` for accurate
    representation of Decimals (much better than the legacy field
    DecimalField).
  * BREAKING CHANGE: When using ListField(EnumField) or
    DictField(EnumField), the values weren't always cast into the
    Enum
  * BREAKING CHANGE (bugfix) Querying ObjectIdField or

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mongoengine?expand=0&rev=13
2023-03-26 19:11:32 +00:00
d9c03a2c4e Accepting request 1055990 from devel:languages:python
- update to 0.25.0:
  * Support MONGODB-AWS authentication mechanism (with
    `authmechanismproperties`) #2507
  * Turning off dereferencing for the results of distinct query. #2663
  * Add tests against Mongo 5.0 in pipeline
  * Drop support for Python 3.6 (EOL)
  * Bug fix support for PyMongo>=4 to fix "pymongo.errors.InvalidOperation:
    Cannot use MongoClient after close"
  errors. #2627
  * Bug fix regarding uuidRepresentation that was case sensitive #2650

OBS-URL: https://build.opensuse.org/request/show/1055990
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mongoengine?expand=0&rev=6
2023-01-05 14:00:38 +00:00
5c8a661cd8 - update to 0.25.0:
* Support MONGODB-AWS authentication mechanism (with
    `authmechanismproperties`) #2507
  * Turning off dereferencing for the results of distinct query. #2663
  * Add tests against Mongo 5.0 in pipeline
  * Drop support for Python 3.6 (EOL)
  * Bug fix support for PyMongo>=4 to fix "pymongo.errors.InvalidOperation:
    Cannot use MongoClient after close"
  errors. #2627
  * Bug fix regarding uuidRepresentation that was case sensitive #2650

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mongoengine?expand=0&rev=11
2023-01-04 19:58:45 +00:00
b0f5d236e3 Accepting request 982089 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/982089
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mongoengine?expand=0&rev=5
2022-06-12 15:41:11 +00:00
25e1cbf7a4 Accepting request 982050 from home:glaubitz:branches:devel:languages:python
- update to 0.24.1:
  * Allow pymongo<5.0 to be pulled
  * Don't use deprecated property for emptiness check in queryset base #2633

OBS-URL: https://build.opensuse.org/request/show/982050
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mongoengine?expand=0&rev=9
2022-06-11 00:24:44 +00:00
d376b6dccc Accepting request 959858 from devel:languages:python
- update to 0.24.0:
  * EnumField improvements: now ``choices`` limits the values of an enum to allow
  * Fix bug that prevented instance queryset from using custom queryset_class #2589
  * Fix deepcopy of EmbeddedDocument #2202
  * Introduce a base exception class for MongoEngine exceptions (MongoEngineException).
    Note that this doesn't concern the pymongo errors #2515
  * Fix error when using precision=0 with DecimalField #2535
  * Add support for regex and whole word text search query #2568
  * Add support for update aggregation pipeline #2578
  * BREAKING CHANGE: Updates to support pymongo 4.0. Where possible deprecated
    functionality has been migrated, but additional care should be taken when
    migrating to pymongo 4.0 as existing code may have been using deprecated
    features which have now been removed #2614.
    For the pymongo migration guide see:
    https://pymongo.readthedocs.io/en/stable/migrate-to-pymongo4.html.
    In addition to the changes in the migration guide, the following is a high
    level overview of the changes made to MongoEngine when using pymongo 4.0:
    - limited support of geohaystack indexes has been removed
    - ``QuerySet.map_reduce`` has been migrated from ``Collection.map_reduce``
      and ``Collection.inline_map_reduce`` to use
      ``db.command({mapReduce: ..., ...})`` and support between the two may need
      additional verification.
    - UUIDs are encoded with the ``pythonLegacy`` encoding by default instead of
      the newer and cross platform ``standard`` encoding. Existing UUIDs will
      need to be migrated before changing the encoding, and this should be done
      explicitly by the user rather than switching to a new default by
      MongoEngine. This default will change at a later date, but to allow
      specifying and then migrating to the new format a default ``json_options``
      has been provided.
    - ``Queryset.count`` has been using ``Collection.count_documents`` and

OBS-URL: https://build.opensuse.org/request/show/959858
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mongoengine?expand=0&rev=4
2022-03-07 16:47:21 +00:00
49a80ae563 - update to 0.24.0:
* EnumField improvements: now ``choices`` limits the values of an enum to allow
  * Fix bug that prevented instance queryset from using custom queryset_class #2589
  * Fix deepcopy of EmbeddedDocument #2202
  * Introduce a base exception class for MongoEngine exceptions (MongoEngineException).
    Note that this doesn't concern the pymongo errors #2515
  * Fix error when using precision=0 with DecimalField #2535
  * Add support for regex and whole word text search query #2568
  * Add support for update aggregation pipeline #2578
  * BREAKING CHANGE: Updates to support pymongo 4.0. Where possible deprecated
    functionality has been migrated, but additional care should be taken when
    migrating to pymongo 4.0 as existing code may have been using deprecated
    features which have now been removed #2614.
    For the pymongo migration guide see:
    https://pymongo.readthedocs.io/en/stable/migrate-to-pymongo4.html.
    In addition to the changes in the migration guide, the following is a high
    level overview of the changes made to MongoEngine when using pymongo 4.0:
    - limited support of geohaystack indexes has been removed
    - ``QuerySet.map_reduce`` has been migrated from ``Collection.map_reduce``
      and ``Collection.inline_map_reduce`` to use
      ``db.command({mapReduce: ..., ...})`` and support between the two may need
      additional verification.
    - UUIDs are encoded with the ``pythonLegacy`` encoding by default instead of
      the newer and cross platform ``standard`` encoding. Existing UUIDs will
      need to be migrated before changing the encoding, and this should be done
      explicitly by the user rather than switching to a new default by
      MongoEngine. This default will change at a later date, but to allow
      specifying and then migrating to the new format a default ``json_options``
      has been provided.
    - ``Queryset.count`` has been using ``Collection.count_documents`` and

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mongoengine?expand=0&rev=7
2022-03-07 11:37:26 +00:00
a8b8d4fa6e Accepting request 790187 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/790187
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mongoengine?expand=0&rev=3
2020-03-31 17:41:20 +00:00
Tomáš Chvátal
c2d3dbba63 Accepting request 790174 from home:pgajdos:python
- version update to 0.19.1
  * lot of changes, see
    https://github.com/MongoEngine/mongoengine/blob/master/docs/changelog.rst
- python3 package only (python-Pillow)
- deleted patches
  - fix-requirements.patch (upstreamed)

OBS-URL: https://build.opensuse.org/request/show/790174
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mongoengine?expand=0&rev=5
2020-03-31 14:28:31 +00:00
92a6b3b107 Accepting request 645742 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/645742
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mongoengine?expand=0&rev=2
2018-11-01 13:39:33 +00:00
c2661a7c1d Accepting request 644262 from devel:languages:python
New package python-mongoengine, required by python-Flask-mongoengine, which is required by python-Flask-Security, which is required by pgadmin4

OBS-URL: https://build.opensuse.org/request/show/644262
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mongoengine?expand=0&rev=1
2018-10-29 13:20:42 +00:00
Tomáš Chvátal
2123c15e8b Accepting request 644281 from home:jengelh:branches:devel:languages:python
- Avoid repetition name in summary.

OBS-URL: https://build.opensuse.org/request/show/644281
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mongoengine?expand=0&rev=2
2018-10-24 13:00:51 +00:00
b1cf1cea53 Accepting request 639545 from home:alarrosa:branches:devel:languages:python:flask
New package python-mongoengine

OBS-URL: https://build.opensuse.org/request/show/639545
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mongoengine?expand=0&rev=1
2018-10-04 07:44:20 +00:00