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 2026-03-29 20:01:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-model-bakery (Old)
and /work/SRC/openSUSE:Factory/.python-model-bakery.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-model-bakery"
Sun Mar 29 20:01:10 2026 rev:8 rq:1343441 version:1.23.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-model-bakery/python-model-bakery.changes
2025-04-11 19:27:24.963120168 +0200
+++
/work/SRC/openSUSE:Factory/.python-model-bakery.new.8177/python-model-bakery.changes
2026-03-29 20:01:38.563781486 +0200
@@ -1,0 +2,53 @@
+Sun Mar 29 14:06:00 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 1.23.4:
+ * Fix AttributeError when processing models with reverse
+ ForeignKey relations (`ManyToOneRel`)
+ * Fix `_bulk_create` not setting M2M fields on FK-related
+ objects
+ * [dev] Replace mypy with ty as the primary type checker with
+ stricter type checks
+ * [dev] Fix ty 0.0.17 compatibility: update rule config, fix
+ generic TypeVar bound, pin minimum version
+ * Allow overriding `AutoField` values via iterators with
+ `_quantity` and avoid hangs
+ * Fix `_bulk_create=True` to use bulk_create even without
+ `_quantity`
+ * Fix `_bulk_create` for ManyToManyField using custom `through`
+ models
+ * Fix `related()` with FK relations creating duplicate parent
+ entities
+ * Drop EOL Django 5.0 and 5.1 support
+ * Add explicit field-specific generators for `AutoField`,
+ `BigAutoField`, and `SmallAutoField`
+ * Add dedicated generators for each integer field type that use
+ Django's actual field ranges
+ * Deprecate `gen_integer()` in favor of field-specific
+ generators that respect Django's field ranges
+ * `prepare()` with `GenericForeignKey` no longer accesses the
+ database; `content_object` attribute is unavailable in this
+ mode
+ * Add type hints to `seq()`'s `increment_by` argument
+ * docs: Update `seq()` import in basic usage
+ * Add Python 3.14 support
+ * Add Django 6.0 support
+ * The creation of generic foreign key fields now respects their
+ `for_concrete_model` configuration
+ * Refactor `gen_float()` to use `uniform()` with configurable
+ `min_float`/`max_float` bounds instead of `random() *
+ gen_integer()` which produced skewed distribution
+ * Refactor `gen_interval()` to use
+ `min_interval`/`max_interval` instead of `offset` parameter
+ which never worked as intended due to huge `MAX_INT` range
+ * Fix `gen_date_range()` and `gen_datetime_range()` to prevent
+ empty ranges by enforcing a minimum interval of 1 day
+ * Use `baker_random.randint()` directly in
+ `gen_pg_numbers_range()` instead of `gen_integer()`
+ * The `gen_from_choices` generator now ignores `None` or `""`
+ values in choices when the field doesn't allow null or blank
+ values
+ * [dev] Various improvements to CI Python/Django matrices
+ * Drop fallbacks made for Django < 4.2
+ * Drop Python 3.8 and 3.9 support (reached end of life)
+
+-------------------------------------------------------------------
Old:
----
model-bakery-1.20.4-gh.tar.gz
New:
----
model-bakery-1.23.4-gh.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-model-bakery.spec ++++++
--- /var/tmp/diff_new_pack.sK5fAW/_old 2026-03-29 20:01:39.039801098 +0200
+++ /var/tmp/diff_new_pack.sK5fAW/_new 2026-03-29 20:01:39.043801263 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-model-bakery
#
-# Copyright (c) 2025 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,15 +18,15 @@
%{?sle15_python_module_pythons}
Name: python-model-bakery
-Version: 1.20.4
+Version: 1.23.4
Release: 0
Summary: Smart object creation facility for Django
License: Apache-2.0
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 base >= 3.8}
-BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module pip}
+BuildRequires: %{python_module uv-build}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
++++++ model-bakery-1.20.4-gh.tar.gz -> model-bakery-1.23.4-gh.tar.gz ++++++
++++ 5599 lines of diff (skipped)