Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-model-bakery for
openSUSE:Factory checked in at 2023-01-26 13:58:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-model-bakery (Old)
and /work/SRC/openSUSE:Factory/.python-model-bakery.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-model-bakery"
Thu Jan 26 13:58:32 2023 rev:3 rq:1061075 version:1.9.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-model-bakery/python-model-bakery.changes
2020-12-01 14:23:05.705613341 +0100
+++
/work/SRC/openSUSE:Factory/.python-model-bakery.new.32243/python-model-bakery.changes
2023-01-26 14:08:23.891601131 +0100
@@ -1,0 +2,73 @@
+Wed Jan 25 23:51:55 UTC 2023 - John Vandenberg <[email protected]>
+
+- Update to v1.9.0
+ * Fixed a bug with seq being passed a tz-aware start value
+ * Create m2m when using _bulk_create=True
+- from v1.8.0
+ * Improve Baker.get_fields() to subtract lists instead of extra set cast
+- from v1.7.1
+ * Remove warning for future Django deprecation
+- from v1.7.0
+ * Fixed a bug with overwritten _save_kwargs and other custom arguments
+- from v1.6.0
+ * Python 3.11 support
+ * Django 4.1 support
+ * Added documentation for callables, iterables, sequences
+ * Drop Python 3.6 support
+ * Drop Django 2.2 support
+- from v1.5.0
+ * Add py.typed export per PEP 561
+ * Extend type hints in model_bakery.recipe module, make Recipe class generic
+ * Explicitly add _fill_optional parameters to baker.make
+ and baker.prepare to aid IDE autocomplete function
+ * Fixed errors with reverse M2M relationships
+ * Fixed errors with reverse M2O relationships
+ * Improve exception message for unknown field types
+ * Fixed random generation of ContentType values when there is no database
access
+- from v1.4.0
+ * Added postgis version to test settings
+ * Add support for Python 3.10
+ * Support for Django 4.0
+ * Validate increment_by parameter of seq helper when value is an instance of
datetime
+ * Fix a simple typo in bulk_create disclaimer in docs
+ * Allow relation _id fields to use sequences
+ * Fix bulk_create not working with multi-database setup
+ * Conditionally support NullBooleanField, it's under deprecation
+ and will be removed in Django 4.0
+ * Fix Django max version pin in requirements file
+ * Improve type hinting to return the correct type depending on _quantity
usage
+ * Drop official Django 3.1 support. Django 2.2 is still supported,
+ and 3.1 will likely keep working, but itâs not tested
+- from v1.3.3
+ * _bulk_create flag is not populating related objects as well
+ * Add support for iterators on GFK fields when using _quantity param
+ * Add support for iterators on many-to-many fields
+ * Fix typos in Recipes documentation page
+ * Add typing for baker.make and baker.prepare
+- from v1.3.2
+ * Fixed a bug (introduced in 1.2.1) that was breaking imports
+ of recipes from non-installed-app modules
+ * Dependencies updates
+- from v1.3.1
+ * Fix requirements.txt to cover Django 3.2 (everything from 2.2 till 4.0)
+- from v1.3.0
+ * Add Django 3.2 LTS support
+ * Add new _bulk_create parameter to make for using
+ Django manager bulk_create with _quantity
+ * Add the functionality to import Django models using the
+ app_name.ModelName convention in import_from_str
+ * Add the functionality to import recipes using app_name.recipe_name
+ * Add new one_to_one parameter to foreign_key to allow usage of
+ _quantity for recipes based on models with OneToOne fields
+ * [docs] Improved documentation on Recipe's import string
+ * Fixed a bug (introduced in 1.2.1) that was breaking creation of
+ model instances with related model fields
+ * Type hinting fixed for Recipe "_model" parameter
+ * Dependencies updates from dependabot
+ * Removed model_bakery.timezone.now fallback (use django.utils.timezone.now
instead)
+ * Removed model_bakery.timezone.smart_datetime function
+ (directly use model_bakery.timezone.tz_aware instead)
+ * Removed Remove all signs of Django 1.11 (as we dropped it in 1.2.1)
+ * Drop unsupported Django 3.0 from CI
+
+-------------------------------------------------------------------
Old:
----
model_bakery-1.2.1.tar.gz
New:
----
model_bakery-1.9.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-model-bakery.spec ++++++
--- /var/tmp/diff_new_pack.OfhQuf/_old 2023-01-26 14:08:24.323603445 +0100
+++ /var/tmp/diff_new_pack.OfhQuf/_new 2023-01-26 14:08:24.327603466 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-model-bakery
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,12 +19,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-model-bakery
-Version: 1.2.1
+Version: 1.9.0
Release: 0
Summary: Smart object creation facility for Django
License: Apache-2.0
Group: Development/Languages/Python
-Url: http://github.com/model-bakers/model_bakery
+URL: http://github.com/model-bakers/model_bakery
Source:
https://files.pythonhosted.org/packages/source/m/model-bakery/model_bakery-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
@@ -58,6 +58,6 @@
%files %{python_files}
%doc CHANGELOG.md README.md docs/source/*.rst
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/model[-_]bakery*/
%changelog
++++++ model_bakery-1.2.1.tar.gz -> model_bakery-1.9.0.tar.gz ++++++
++++ 3062 lines of diff (skipped)