diff --git a/marshmallow-3.19.0.tar.gz b/marshmallow-3.19.0.tar.gz deleted file mode 100644 index 41f104f..0000000 --- a/marshmallow-3.19.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:90032c0fd650ce94b6ec6dc8dfeb0e3ff50c144586462c389b81a07205bedb78 -size 183529 diff --git a/marshmallow-3.20.2.tar.gz b/marshmallow-3.20.2.tar.gz new file mode 100644 index 0000000..f00a3e9 --- /dev/null +++ b/marshmallow-3.20.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4c1daff273513dc5eb24b219a8035559dc573c8f322558ef85f5438ddd1236dd +size 185043 diff --git a/python-marshmallow.changes b/python-marshmallow.changes index 19e3ab8..27e3f1f 100644 --- a/python-marshmallow.changes +++ b/python-marshmallow.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Sun Oct 27 22:54:09 UTC 2024 - Stefan Brüns + +- Add python-packaging to Requires, as stated in pyproject.toml. + +------------------------------------------------------------------- +Tue Mar 26 12:35:03 UTC 2024 - John Paul Adrian Glaubitz + +- 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 + +- 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 + +- 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 + +- Switch documentation to be within the main package on SLE15 + ------------------------------------------------------------------- Fri Apr 21 12:28:05 UTC 2023 - Dirk Müller @@ -11,7 +54,7 @@ Thu Apr 13 22:42:33 UTC 2023 - Matej Cepl ------------------------------------------------------------------- Thu Mar 16 08:45:51 UTC 2023 - Dirk Müller -- 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 @@ -21,8 +64,8 @@ Wed Mar 15 14:54:45 UTC 2023 - Matej Cepl ------------------------------------------------------------------- Fri Dec 2 20:31:35 UTC 2022 - Yogalakshmi Arunachalam -- 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 diff --git a/python-marshmallow.spec b/python-marshmallow.spec index 602ef44..11e4510 100644 --- a/python-marshmallow.spec +++ b/python-marshmallow.spec @@ -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