Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-marshmallow for openSUSE:Factory checked in at 2026-03-30 18:30:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-marshmallow (Old) and /work/SRC/openSUSE:Factory/.python-marshmallow.new.1999 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-marshmallow" Mon Mar 30 18:30:03 2026 rev:29 rq:1343505 version:4.2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-marshmallow/python-marshmallow.changes 2026-01-02 14:27:16.289353120 +0100 +++ /work/SRC/openSUSE:Factory/.python-marshmallow.new.1999/python-marshmallow.changes 2026-03-30 18:30:29.049037504 +0200 @@ -1,0 +2,164 @@ +Sun Mar 29 17:53:31 UTC 2026 - Dirk Müller <[email protected]> + +- update to 4.2.3: + * Make marshmallow.fields.Number and marshmallow.fields.Mapping + abstract base classes to prevent using them within Schemas + (:issue:`2924`). Thanks :user:`MartingaleCoda` for reporting. + * Allow required to be set on marshmallow.fields.Contant + (:issue:`2900`). Thanks :user:`nosnickid` for the report and + :user:`worksbyfriday` for the PR. + * Fix marshmallow.validate.OneOf emitting extra pairs when + labels outnumber choices (:issue:`2869`). Thanks: + user:T90REAL for the report and :user:`rstar327` for the PR. + * Fix behavior when passing a dot-delited attribute name to + partial for a key with data_key set (:pr:`2903`). Thanks + :user:`bysiber` for the PR. + * Fix Enum field by-name lookup to only return actual members + (:pr:`2902`). Thanks :user:`bysiber` for the PR. + * marshmallow.fields.DateTime with format="timestamp_ms" + properly rejects bool values (:pr:`2904`). Thanks + :user:`bysiber` for the PR. + * Fix typing of error_essages argument to + marshmallow.fields.Field (:pr:`1636`). Thanks :user:`repole` + for reporting and :user:`dhruvildarji` for the PR. + * Add ipaddress.* to marshmallow.Schema.TYPE_MAPPING + (:issue:`1695`). Thanks :user:`liberforce` for the suggestion + and :user:`dhruvildarji` for the PR. + * Fix behavior of fields.Contant(None) (:issue:`2868`). Thanks + :user:`T90REAL` for reporting and emmanuel-ferdman for the + fix. + * Fix validation of URLs beginning with uppercare FILE + (:issue:`2891`). Thanks :user:`thanhlecongg` for reporting + and fixing. + * many argument of Nested properly overrides schema instance + value (:pr:`2854`). Thanks :user:`jafournier` for the PR. + * :cve:`2025-68480`: Merge error store messages without + rebuilding collections. Thanks 카푸치노 for reporting and + :user:`deckar01` for the fix. + * Ensure URL validator is case-insensitive when using custom + schemes (:pr:`2874`). Thanks :user:`T90REAL` for the PR. + * Add __len__ implementation to missing so that it can be used + with validate.Length <marshmallow.validate.Length> + (:pr:`2861`). Thanks :user:`agentgodzilla` for the PR. + * Drop support for Python 3.9 (:pr:`2363`). + * Test against Python 3.14 (:pr:`2864`). + * Fix wildcard import of from marshmallow import * + (:pr:`2823`). Thanks :user:`Florian-Laport` for the PR. + * Typing: Add types to all Field <marshmallow.fields.Field> + constructor kwargs (:issue:`2285`). Thanks :user:`navignaw` + for the suggestion. +- update dependencies: + * remove packaging dependency + * add backports-datetime-fromisoformat and typing-extensions for python < 3.11 + * update flit-core to >= 3.12 + * update base to >= 3.10 + * remove python-dateutil suggestion + * DateTime <marshmallow.fields.DateTime>, Date + <marshmallow.fields.Date>, Time <marshmallow.fields.Time>, + TimeDelta <marshmallow.fields.TimeDelta>, and Enum + <marshmallow.fields.Enum> accept their internal value types + as valid input (:issue:`1415`). Thanks :user:`bitdancer` for + the suggestion. + * @validates <marshmallow.validates> accepts multiple field + names (:issue:`1960`). Backwards-incompatible: Decorated + methods now receive data_key as a keyword argument. Thanks + :user:`dpriskorn` for the suggestion and :user:`dharani7998` + for the PR. + * Typing: Field <marshmallow.fields.Field> is now a generic + type with a type argument for the internal value type. + * marshmallow.fields.UUID no longer subclasses + marshmallow.fields.String. + * marshmallow.Schema.load no longer silently fails to call + schema validators when a generator is passed (:issue:`1898`). + The typing of data is also updated to be more accurate. + Thanks :user:`ziplokk1` for reporting. + * Backwards-incompatible: Use datetime.date.fromisoformat, + datetime.time.fromisoformat, and + datetime.datetime.fromisoformat from the standard library to + deserialize dates, times and datetimes (:pr:`2078`). + * Time with time offsets are now supported. + * YYYY-MM-DD is now accepted as a datetime and deserialized as + naive 00:00 AM. + * from_iso_date, from_iso_time and from_iso_datetime are + removed from marshmallow.utils. + * Remove isoformat, to_iso_time and to_iso_datetime from + marshmallow.utils (:pr:`2766`). + * Remove from_rfc, and rfcformat from marshmallow.utils + (:pr:`2767`). + * Remove is_keyed_tuple from marshmallow.utils (:pr:`2768`). + * Remove get_fixed_timezone from marshmallow.utils + (:pr:`2773`). + * Backwards-incompatible: marshmallow.fields.Boolean no longer + serializes non-boolean values (:pr:`2725`). + * Backwards-incompatible: Rename schema parameter to parent in + marshmallow.fields.Field._bind_to_schema (:issue:`1360`). + * Backwards-incompatible: Rename pass_many parameter to + pass_collection in pre/post processing methods + (:issue:`1369`). + * Backwards-incompatible: marshmallow.fields.TimeDelta no + longer truncates float values when deserializing + (:pr:`2654`). This allows microseconds to be preserved, e.g. + * Improve performance and minimize float precision loss of + marshmallow.fields.TimeDelta serialization (:pr:`2654`). + * Backwards-incompatible: Remove serialization_type parameter + from marshmallow.fields.TimeDelta (:pr:`2654`). + * Backwards-incompatible: Remove Schema + <marshmallow.schema.Schema>'s context attribute (deprecated + since 3.24.0). Passing a context should be done using + contextvars.ContextVar (:issue:`1826`). marshmallow 4 + provides an experimental Context + <marshmallow.experimental.context.Context> manager class that + can be used to both set and retrieve context. + * Methods decorated with marshmallow.pre_load, + marshmallow.post_load, marshmallow.validates_schema, receive + unknown as a keyword argument (:pr:`1632`). Thanks + :user:`jforand` for the PR. + * Backwards-incompatible: Arguments to decorators + <marshmallow.decorators> are keyword-only arguments. + * Backwards-incompatible: Rename json_data parameter of + marshmallow.Schema.loads to s for compatibility with most + render module implementations (json, simplejson, etc.) + (:pr:`2764`). Also make it a positional-only argument. + * Incorrectly declaring a field using a field class rather than + instance errors at class declaration time (previously + happended when the schema was instantiated) (:pr:`2772`). + * Passing invalid values for unknown will cause an error in + type checkers (:pr:`2771`). + * Backwards-incompatible: Remove implicit field creation, i.e. + using the fields or additional class Meta options with + undeclared fields (:issue:`1356`). + * The ordered class Meta option is removed (:issue:`2146`). + Field order is already preserved by default. Set + Schema.dict_class to OrderedDict to maintain the previous + behavior. + * The marshmallow.base module is removed (:pr:`2722`). + * The ordered class Meta <marshmallow.Schema.Meta> option is + removed (:issue:`2146`) (deprecated in 3.26.0). + * Backwards-incompatible: marshmallow.fields.Number is no + longer usable as a field in a schema (deprecated in 3.24.0). + Use marshmallow.fields.Integer, marshmallow.fields.Float, or + marshmallow.fields.Decimal instead. + * Backwards-incompatible: marshmallow.fields.Mapping is no + longer usable as a field in a schema (deprecated in 3.24.0). + * Backwards-incompatible: Custom validators must raise a + ValidationError <marshmallow.exceptions.ValidationError> for + invalid values (deprecated in 3.24.0). Returning False is no + longer supported (:issue:`1775`). Use marshmallow.fields.Dict + instead. + * Remove __version__, __parsed_version__, and __version_info__ + attributes (deprecated in 3.21.0). + * default and missing parameters, which were replaced by + dump_default and load_default in 3.13.0 (:pr:`1742`, + :pr:`2700`). + * Passing field metadata via keyword arguments (deprecated in + 3.10.0). Use the explicit metadata=... argument instead + (:issue:`1350`). + * marshmallow.utils.pprint (deprecated in 3.7.0). Use + pprint.pprint instead. + * Passing "self" to fields.Nested (deprecated in 3.3.0). Use a + callable instead. + * Field.fail, which was replaced by Field.make_error in 3.0.0. + * json_module class Meta option (deprecated in 3.0.0b3). Use + render_module instead. + +------------------------------------------------------------------- Old: ---- marshmallow-3.26.2.tar.gz New: ---- marshmallow-4.2.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-marshmallow.spec ++++++ --- /var/tmp/diff_new_pack.JVNxxV/_old 2026-03-30 18:30:30.817110988 +0200 +++ /var/tmp/diff_new_pack.JVNxxV/_new 2026-03-30 18:30:30.829111487 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-marshmallow # -# Copyright (c) 2025 SUSE LLC and contributors +# 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 @@ -26,7 +26,7 @@ %endif %{?sle15_python_module_pythons} Name: python-marshmallow -Version: 3.26.2 +Version: 4.2.3 Release: 0 Summary: ORM/ODM/framework-agnostic library to convert datatypes from/to Python types License: BSD-3-Clause AND MIT @@ -34,15 +34,17 @@ URL: https://marshmallow.readthedocs.io/ Source: https://files.pythonhosted.org/packages/source/m/marshmallow/marshmallow-%{version}.tar.gz BuildRequires: %{python_module autodocsumm} -BuildRequires: %{python_module base >= 3.8} -BuildRequires: %{python_module flit-core} +BuildRequires: %{python_module base >= 3.10} +BuildRequires: %{python_module flit-core >= 3.12} BuildRequires: %{python_module pip} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-packaging >= 17.0 +%if %{python_version_nodots} < 311 +Requires: python-backports-datetime-fromisoformat +Requires: python-typing-extensions +%endif Suggests: %{name}-doc -Suggests: python-python-dateutil Suggests: python-simplejson BuildArch: noarch %if %{with doc} @@ -69,6 +71,10 @@ # SECTION test requirements BuildRequires: %{python_module pytest} BuildRequires: %{python_module simplejson} +%if %{python_version_nodots} < 311 +BuildRequires: %{python_module backports-datetime-fromisoformat} +BuildRequires: %{python_module typing-extensions} +%endif # /SECTION %python_subpackages ++++++ marshmallow-3.26.2.tar.gz -> marshmallow-4.2.3.tar.gz ++++++ ++++ 10524 lines of diff (skipped)
