Sync from SUSE:SLFO:Main python-marshmallow revision d0d00304c36ce7ddd216daea045e6f56

This commit is contained in:
Adrian Schröter 2024-12-13 11:44:56 +01:00
parent 28dbc7d41c
commit ca654a21ff
4 changed files with 67 additions and 17 deletions

BIN
marshmallow-3.19.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
marshmallow-3.20.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,46 @@
-------------------------------------------------------------------
Sun Oct 27 22:54:09 UTC 2024 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Add python-packaging to Requires, as stated in pyproject.toml.
-------------------------------------------------------------------
Tue Mar 26 12:35:03 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Switch build system from setuptools to pyproject.toml
+ Add python-pip and python-wheel to BuildRequires
+ Replace %python_build with %pyproject_wheel
+ Replace %python_install with %pyproject_install
- Limit Python files matched in %files section
-------------------------------------------------------------------
Tue Jan 16 15:06:21 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.20.2:
* Bug fixes: - Fix Nested field type hint for lambda Schema
types (:pr:`2164`).
* Other changes: - Officially support Python 3.12 (:pr:`2188`).
-------------------------------------------------------------------
Sun Dec 10 21:27:36 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.20.1:
* Fix call to ``get_declared_fields``: pass ``dict_cls`` again
* Add ``absolute`` parameter to ``URL`` validator and ``Url``
* Use Abstract Base Classes to define ``FieldABC`` and
``SchemaABC``
* Use `OrderedSet` as default `set_class`. Schemas are now
ordered by default.
* Handle ``OSError`` and ``OverflowError`` in
``utils.from_timestamp`` (:pr:`2102`).
* Fix the default inheritance of nested partial schemas
* Officially support Python 3.11 (:pr:`2067`).
* Drop support for Python 3.7 (:pr:`2135`).
-------------------------------------------------------------------
Sun Apr 23 23:12:16 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Switch documentation to be within the main package on SLE15
-------------------------------------------------------------------
Fri Apr 21 12:28:05 UTC 2023 - Dirk Müller <dmueller@suse.com>
@ -11,7 +54,7 @@ Thu Apr 13 22:42:33 UTC 2023 - Matej Cepl <mcepl@suse.com>
-------------------------------------------------------------------
Thu Mar 16 08:45:51 UTC 2023 - Dirk Müller <dmueller@suse.com>
- rename docs subpackage to the more common doc name
- rename docs subpackage to the more common doc name
-------------------------------------------------------------------
Wed Mar 15 14:54:45 UTC 2023 - Matej Cepl <mcepl@suse.com>
@ -21,8 +64,8 @@ Wed Mar 15 14:54:45 UTC 2023 - Matej Cepl <mcepl@suse.com>
-------------------------------------------------------------------
Fri Dec 2 20:31:35 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 3.19.0
* Add timestamp and timestamp_ms formats to fields.DateTime (#612). Thanks @vgavro for the suggestion and thanks @vanHoi for the PR.
- Update to 3.19.0
* Add timestamp and timestamp_ms formats to fields.DateTime (#612). Thanks @vgavro for the suggestion and thanks @vanHoi for the PR.
-------------------------------------------------------------------
Fri Oct 28 18:21:19 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-marshmallow
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,10 +16,9 @@
#
%{?!python_module:%define python_module() python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-marshmallow
Version: 3.19.0
Version: 3.20.2
Release: 0
Summary: ORM/ODM/framework-agnostic library to convert datatypes from/to Python types
License: BSD-3-Clause AND MIT
@ -29,10 +28,13 @@ Source: https://files.pythonhosted.org/packages/source/m/marshmallow/mar
# https://github.com/humitos/sphinx-version-warning/issues/22
Patch0: python-marshmallow-no-version-warning.patch
BuildRequires: %{python_module autodocsumm}
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-packaging >= 17.0
Suggests: %{name}-doc
Suggests: python-python-dateutil
Suggests: python-simplejson
@ -57,30 +59,32 @@ BuildRequires: %{python_module simplejson}
# /SECTION
%python_subpackages
%description
marshmallow is an ORM/ODM/framework-agnostic library for converting complex
datatypes, such as objects, to and from native Python datatypes.
%if 0%{?suse_version} > 1500
%package -n %{name}-doc
Summary: Documentation files for %{name}
Group: Documentation/Other
Provides: %{name}-docs = %{version}
Obsoletes: %{name}-docs < %{version}
%description
marshmallow is an ORM/ODM/framework-agnostic library for converting complex
datatypes, such as objects, to and from native Python datatypes.
%description -n %{name}-doc
HTML Documentation and examples for %{name}.
%endif
%prep
%setup -q -n marshmallow-%{version}
%autopatch -p1
%build
%python_build
%pyproject_wheel
sphinx-build docs/ docs/_build/html
rm -r docs/_build/html/.buildinfo docs/_build/html/.doctrees
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@ -89,9 +93,12 @@ rm -r docs/_build/html/.buildinfo docs/_build/html/.doctrees
%files %{python_files}
%doc AUTHORS.rst CHANGELOG.rst README.rst
%license LICENSE NOTICE
%{python_sitelib}/*
%{python_sitelib}/marshmallow
%{python_sitelib}/marshmallow-*.dist-info
%if 0%{?suse_version} > 1500
%files -n %{name}-doc
%endif
%doc examples docs/_build/html/
%changelog