26 Commits

Author SHA256 Message Date
6304e783c3 Accepting request 790511 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/790511
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-marshmallow?expand=0&rev=13
2020-04-01 17:19:34 +00:00
Tomáš Chvátal
141efcaa63 Accepting request 790506 from home:pgajdos:python
- version update to 3.5.1
  - Includes bug fix from 2.21.0.
  - Fix list of nullable nested fields ``List(Nested(Field, allow_none=True)``
    (:issue:`1497`). Because this fix reverts an optimization introduced to
    speed-up serialization and deserialization of lists of nested fields, a
    negative impact on performance in this specific case is expected.
  - Improve type coverage (:issue:`1479`). Thanks :user:`Reskov`.
  - Fix typing for ``data`` param of ``Schema.load`` and ``ValidationError`` (:issue:`1492`).
    Thanks :user:`mehdigmira` for reporting and thanks :user:`dfirst` for the PR.
  - Remove unnecessary typecasts (:pr:`1500`). Thanks :user:`hukkinj1`.
  - Remove useless ``_serialize`` override in ``UUID`` field (:pr:`1489`).
  - ``fields.Nested`` may take a callable that returns a schema instance.
    Use this to resolve order-of-declaration issues when schemas nest each other (:issue:`1146`).
  - Passing the string ``"self"`` to ``fields.Nested`` is deprecated.
    Use a callable instead.
  - Fix typing for ``Number._format_num`` (:pr:`1466`). Thanks :user:`hukkinj1`.
  - Make mypy stricter and remove dead code (:pr:`1467`). Thanks again, :user:`hukkinj1`.

OBS-URL: https://build.opensuse.org/request/show/790506
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-marshmallow?expand=0&rev=25
2020-04-01 09:54:37 +00:00
b926f3283d Accepting request 748433 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/748433
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-marshmallow?expand=0&rev=12
2019-11-14 22:52:56 +00:00
Tomáš Chvátal
81d4d63b23 Accepting request 748403 from home:sebix:branches:devel:languages:python
- Update to version 3.2.2:
 - Bug fixes:
  - Don't load fields for which ``load_only`` and ``dump_only`` are both ``True`` (:pr:`1448`). 
  - Fix types in ``marshmallow.validate`` (:pr:`1446`).
 - Support:
  - Test against Python 3.8 (pr:`1431`).

OBS-URL: https://build.opensuse.org/request/show/748403
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-marshmallow?expand=0&rev=23
2019-11-13 16:37:12 +00:00
cc3f61cc86 Accepting request 736310 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/736310
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-marshmallow?expand=0&rev=11
2019-10-09 13:19:44 +00:00
Tomáš Chvátal
2ba5a3217f Accepting request 736259 from home:mcalabkova:branches:devel:languages:python
- Update to 3.2.1 
  * Fix typing for Schema.dump[s]
  * Fix compatibility with Python < 3.5.3
  * Fix bug that raised an uncaught error when a nested schema 
    instance had an unpickleable object in its context
  * Fix propagating dot-delimited only and exclude parameters to 
    nested schema instances
  * Few bug fixes

OBS-URL: https://build.opensuse.org/request/show/736259
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-marshmallow?expand=0&rev=21
2019-10-08 17:43:54 +00:00
Ludwig Nussel
ac6ddad996 Accepting request 730134 from devel:languages:python
- Update to 3.0.3:
  * Handle when data_key is an empty string
  * Includes bug fix from 2.20.3
  * Fix incorrect super() call in SchemaMeta.__init__

OBS-URL: https://build.opensuse.org/request/show/730134
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-marshmallow?expand=0&rev=10
2019-09-13 12:58:49 +00:00
Tomáš Chvátal
6136a95cd4 - Update to 3.0.3:
* Handle when data_key is an empty string
  * Includes bug fix from 2.20.3
  * Fix incorrect super() call in SchemaMeta.__init__

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-marshmallow?expand=0&rev=19
2019-09-11 12:46:54 +00:00
4546d0edac Accepting request 726271 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/726271
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-marshmallow?expand=0&rev=9
2019-08-27 08:27:31 +00:00
Tomáš Chvátal
2a3053079b Accepting request 726193 from home:mcalabkova:branches:devel:languages:python
- Update to 3.0.1
  * Many changes, some of them breaking. For example:
  * Remove support for Python 2 (#1120). Only Python>=3.5 is supported.
  * Allow input value to be included in error messages for a number of fields.
  * Change ordering of keys and values arguments to fields.Dict.
  * Please read upstream changelog.
- Drop upstreamed patches reproducible.patch and pytest5.patch

OBS-URL: https://build.opensuse.org/request/show/726193
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-marshmallow?expand=0&rev=17
2019-08-27 00:54:41 +00:00
dc81d837b4 Accepting request 720011 from devel:languages:python
- Add patch to fix building with pytest5 from upstream git:
  * pytest5.patch

OBS-URL: https://build.opensuse.org/request/show/720011
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-marshmallow?expand=0&rev=8
2019-07-31 12:36:36 +00:00
Tomáš Chvátal
5cb2311ec5 - Add patch to fix building with pytest5 from upstream git:
* pytest5.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-marshmallow?expand=0&rev=15
2019-07-31 09:14:19 +00:00
94eac32c20 Accepting request 718109 from devel:languages:python
- Update to 2.19.5:
  * Fix deserializing ISO8601-formatted datetimes with less than 6-digit miroseconds (:issue:`1251`). Thanks :user:`diego-plan9` for reporting.
  * Microseconds no longer gets lost when deserializing datetimes without dateutil installed (:issue:`1147`).
  * Fix bug where nested fields in Meta.exclude would not work on multiple instantiations (:issue:`1212`). Thanks :user:`MHannila` for reporting.

OBS-URL: https://build.opensuse.org/request/show/718109
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-marshmallow?expand=0&rev=7
2019-07-28 08:19:43 +00:00
Tomáš Chvátal
9d057885b2 - Update to 2.19.5:
* Fix deserializing ISO8601-formatted datetimes with less than 6-digit miroseconds (:issue:`1251`). Thanks :user:`diego-plan9` for reporting.
  * Microseconds no longer gets lost when deserializing datetimes without dateutil installed (:issue:`1147`).
  * Fix bug where nested fields in Meta.exclude would not work on multiple instantiations (:issue:`1212`). Thanks :user:`MHannila` for reporting.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-marshmallow?expand=0&rev=13
2019-07-24 08:02:13 +00:00
23d1fd19ff Accepting request 706098 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/706098
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-marshmallow?expand=0&rev=6
2019-06-12 11:01:49 +00:00
Todd R
93c2a012f5 Accepting request 705891 from home:bmwiedemann:branches:devel:languages:python
Add reproducible.patch to make build reproducible (boo#1047218)

OBS-URL: https://build.opensuse.org/request/show/705891
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-marshmallow?expand=0&rev=11
2019-05-28 15:35:00 +00:00
c02c24b9fc Accepting request 703738 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/703738
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-marshmallow?expand=0&rev=5
2019-05-22 08:50:43 +00:00
Tomáš Chvátal
98cfbbd81d Accepting request 703732 from home:mcalabkova:branches:devel:languages:python
- Update to version 2.19.2
  * Handle OverflowError when (de)serializing large integers with 
    fields.Float

OBS-URL: https://build.opensuse.org/request/show/703732
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-marshmallow?expand=0&rev=9
2019-05-17 15:41:08 +00:00
9ead31d5e2 Accepting request 691767 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/691767
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-marshmallow?expand=0&rev=4
2019-04-19 16:36:09 +00:00
Tomáš Chvátal
8b5db69938 Accepting request 691765 from home:pgajdos
- version update to 2.19.1
  - Fix bug where ``Nested(many=True)`` would skip first element when
    serializing a generator (:issue:`1163`). Thanks :user:`khvn26` for the
    catch and patch.
  - A `RemovedInMarshmallow3` warning is raised when using
    `fields.FormattedString`. Use `fields.Method` or `fields.Function`
    instead (:issue:`1141`).
  - A ``ChangedInMarshmallow3Warning`` is no longer raised when
    ``strict=False`` (:issue:`1108`). Thanks :user:`Aegdesil` for
    reporting.
  - Add warnings for functions in ``marshmallow.utils`` that are removed in
    marshmallow 3.
  - Copying ``missing`` with ``copy.copy`` or ``copy.deepcopy`` will not
    duplicate it (:pr:`1099`).
  - Add ``marshmallow.__version_info__`` (:pr:`1074`).
  - Add warnings for API that is deprecated or changed to help users
    prepare for marshmallow 3 (:pr:`1075`).
  - Prevent memory leak when dynamically creating classes with ``type()``
    (:issue:`732`). Thanks :user:`asmodehn` for writing the tests to
    reproduce this issue.
  - Prevent warning about importing from ``collections`` on Python 3.7
    (:issue:`1027`). Thanks :user:`nkonin` for reporting and
    :user:`jmargeta` for the PR.
  - Remove spurious warning about implicit collection handling
    (:issue:`998`). Thanks :user:`lalvarezguillen` for reporting.
  - Allow username without password in basic auth part of the url in
    ``fields.Url`` (:pr:`982`). Thanks user:`alefnula` for the PR.
  - Prevent ``TypeError`` when a non-collection is passed to a ``Schema`` with ``many=True``.
    Instead, raise ``ValidationError`` with ``{'_schema': ['Invalid input type.']}`` (:issue:`906`).
  - Fix ``root`` attribute for nested container fields on list

OBS-URL: https://build.opensuse.org/request/show/691765
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-marshmallow?expand=0&rev=7
2019-04-05 10:05:52 +00:00
ce83ed9723 Accepting request 663805 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/663805
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-marshmallow?expand=0&rev=3
2019-01-11 13:04:22 +00:00
Tomáš Chvátal
20e3a322be Accepting request 663780 from home:jengelh:branches:devel:languages:python
- Use noun phrase in summary.

OBS-URL: https://build.opensuse.org/request/show/663780
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-marshmallow?expand=0&rev=5
2019-01-08 18:39:42 +00:00
bc18cc6f63 Accepting request 659490 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-marshmallow?expand=0&rev=2
2018-12-24 10:39:34 +00:00
1a953b1bce Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-marshmallow?expand=0&rev=3
2018-12-04 13:39:57 +00:00
55da4cd3b8 Accepting request 518493 from devel:languages:python
needs Request#518491

OBS-URL: https://build.opensuse.org/request/show/518493
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-marshmallow?expand=0&rev=1
2017-08-28 13:14:13 +00:00
Thomas Bechtold
119c000308 Accepting request 517681 from home:sebix:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/517681
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-marshmallow?expand=0&rev=1
2017-08-21 05:35:19 +00:00