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-11-08 22:17:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-model-bakery (Old) and /work/SRC/openSUSE:Factory/.python-model-bakery.new.17445 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-model-bakery" Wed Nov 8 22:17:48 2023 rev:4 rq:1124091 version:1.17.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-model-bakery/python-model-bakery.changes 2023-01-26 14:08:23.891601131 +0100 +++ /work/SRC/openSUSE:Factory/.python-model-bakery.new.17445/python-model-bakery.changes 2023-11-08 22:18:15.688349270 +0100 @@ -1,0 +2,24 @@ +Tue Nov 7 20:02:28 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 1.17.0: + * Add support to `auto_now` and `auto_now_add` fields. + * Remove unnecessary casting to string methods + `random_gen.gen_slug` and `random_gen.gen_string` + * Improved performance of `Baker.get_fields()` + * Add Python 3.12 support + * Revert erroneous optimisation of related logic (fix #439) + * forward "_create_files" flag to child generators for + relational fields + * Small improvements to `recipe.py::_mapping` + * Improvements to `baker.py::bulk_create` + * Drop `baker.py::is_iterator` + * Drop Python 3.7 support (reached end of life) + * Add support for global seeding to baker random generation + * Fix utils.seq with start=0 + * Add psycopg3 support for Django 4.2 + * Enforce Python 3.7 as a minimum version in project metadata + * dropped support for `FloatRangeField` as it was removed in + Django 3.1 + * Django 4.2 support + +------------------------------------------------------------------- Old: ---- model_bakery-1.9.0.tar.gz New: ---- model-bakery-1.17.0-gh.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-model-bakery.spec ++++++ --- /var/tmp/diff_new_pack.uPNTwx/_old 2023-11-08 22:18:16.328372782 +0100 +++ /var/tmp/diff_new_pack.uPNTwx/_new 2023-11-08 22:18:16.328372782 +0100 @@ -16,26 +16,26 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 +%{?sle15_python_module_pythons} Name: python-model-bakery -Version: 1.9.0 +Version: 1.17.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 -Source: https://files.pythonhosted.org/packages/source/m/model-bakery/model_bakery-%{version}.tar.gz -BuildRequires: %{python_module setuptools} +URL: https://github.com/model-bakers/model_bakery +Source: https://github.com/model-bakers/model_bakery/archive/refs/tags/%{version}.tar.gz#/model-bakery-%{version}-gh.tar.gz +BuildRequires: %{python_module hatch_vcs} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-Django >= 2.2 +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module Django >= 2.2} BuildRequires: %{python_module pytest-django} # /SECTION -BuildRequires: fdupes -Requires: python-Django >= 2.2 -BuildArch: noarch - %python_subpackages %description @@ -45,10 +45,10 @@ %setup -q -n model_bakery-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -58,5 +58,6 @@ %files %{python_files} %doc CHANGELOG.md README.md docs/source/*.rst %license LICENSE -%{python_sitelib}/model[-_]bakery*/ +%{python_sitelib}/model_bakery +%{python_sitelib}/model_bakery-%{version}.dist-info