From c72ac4e5210aef831a1ae8c07b64eaba31c1b98fc93b7a937f8a3841b96ecf10 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 7 Apr 2022 15:34:33 +0000 Subject: [PATCH] Accepting request 967475 from home:pgajdos:python - version update to 5.1.0 v5.1.0 (2021-10-02) ------------------- - Support matches-style callbacks on non-dictionary objects that are compatible with ``pydash.get`` in functions like ``pydash.find``. v5.0.2 (2021-07-15) ------------------- - Fix compatibility issue between ``pydash.py_`` / ``pydash._`` and ``typing.Protocol`` + ``typing.runtime_checkable`` that caused an exception to be raised for ``isinstance(py_, SomeRuntimeCheckableProtocol)``. v5.0.1 (2021-06-27) ------------------- - Fix bug in ``merge_with`` that prevented custom iteratee from being used when recursively merging. Thanks weineel_! v5.0.0 (2021-03-29) ------------------- - Drop support for Python 2.7. (**breaking change**) - Improve Unicode word splitting in string functions to be inline with Lodash. Thanks mervynlee94_! (**breaking change**) - ``camel_case`` - ``human_case`` - ``kebab_case`` - ``lower_case`` - ``pascal_case`` - ``separator_case`` - ``slugify`` - ``snake_case`` - ``start_case`` - ``upper_case`` - Optimize regular expression constants used in ``pydash.strings`` by pre-compiling them to regular expression pattern objects. v4.9.3 (2021-03-03) ------------------- - Fix regression introduced in ``v4.8.0`` that caused ``merge`` and ``merge_with`` to raise an exception when passing ``None`` as the first argument. OBS-URL: https://build.opensuse.org/request/show/967475 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydash?expand=0&rev=3 --- pydash-4.8.0.tar.gz | 3 --- pydash-5.1.0.tar.gz | 3 +++ python-pydash.changes | 47 +++++++++++++++++++++++++++++++++++++++++++ python-pydash.spec | 8 ++++---- 4 files changed, 54 insertions(+), 7 deletions(-) delete mode 100644 pydash-4.8.0.tar.gz create mode 100644 pydash-5.1.0.tar.gz diff --git a/pydash-4.8.0.tar.gz b/pydash-4.8.0.tar.gz deleted file mode 100644 index 6a5ed7b..0000000 --- a/pydash-4.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:546afa043ed1defa3122383bebe8b7072f43554ccc5f0c4360638f99e5ed7327 -size 137276 diff --git a/pydash-5.1.0.tar.gz b/pydash-5.1.0.tar.gz new file mode 100644 index 0000000..e38fb87 --- /dev/null +++ b/pydash-5.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b2b050ac1bae049cd07f5920b14fabbe52638f485d9ada1eb115a9eebff6835 +size 144331 diff --git a/python-pydash.changes b/python-pydash.changes index 2c8ddf1..88dd3de 100644 --- a/python-pydash.changes +++ b/python-pydash.changes @@ -1,3 +1,50 @@ +------------------------------------------------------------------- +Thu Apr 7 10:59:23 UTC 2022 - pgajdos@suse.com + +- version update to 5.1.0 + v5.1.0 (2021-10-02) + ------------------- + - Support matches-style callbacks on non-dictionary objects that are compatible with ``pydash.get`` in functions like ``pydash.find``. + v5.0.2 (2021-07-15) + ------------------- + - Fix compatibility issue between ``pydash.py_`` / ``pydash._`` and ``typing.Protocol`` + ``typing.runtime_checkable`` + that caused an exception to be raised for ``isinstance(py_, SomeRuntimeCheckableProtocol)``. + v5.0.1 (2021-06-27) + ------------------- + - Fix bug in ``merge_with`` that prevented custom iteratee from being used when recursively merging. Thanks weineel_! + v5.0.0 (2021-03-29) + ------------------- + - Drop support for Python 2.7. (**breaking change**) + - Improve Unicode word splitting in string functions to be inline with Lodash. Thanks mervynlee94_! (**breaking change**) + - ``camel_case`` + - ``human_case`` + - ``kebab_case`` + - ``lower_case`` + - ``pascal_case`` + - ``separator_case`` + - ``slugify`` + - ``snake_case`` + - ``start_case`` + - ``upper_case`` + - Optimize regular expression constants used in ``pydash.strings`` by pre-compiling them to regular expression pattern objects. + v4.9.3 (2021-03-03) + ------------------- + - Fix regression introduced in ``v4.8.0`` that caused ``merge`` and ``merge_with`` to raise an exception when passing ``None`` + as the first argument. + v4.9.2 (2020-12-24) + ------------------- + - Fix regression introduced in ``v4.9.1`` that broke ``pydash.get`` for dictionaries and dot-delimited keys that reference + integer dict-keys. + v4.9.1 (2020-12-14) + ------------------- + - Fix bug in ``get/has`` that caused ``defaultdict`` objects to get populated on key access. + v4.9.0 (2020-10-27) + ------------------- + - Add ``default_to_any``. Thanks gonzalonaveira_! + - Fix mishandling of key names containing ``\.`` in ``set_``, ``set_with``, and ``update_with`` where the ``.`` was not + treated as a literal value within the key name. Thanks zhaowb_! +- python-mock is not required for build + ------------------------------------------------------------------- Fri Jul 24 10:59:08 UTC 2020 - John Vandenberg diff --git a/python-pydash.spec b/python-pydash.spec index 9521968..52d350b 100644 --- a/python-pydash.spec +++ b/python-pydash.spec @@ -1,7 +1,7 @@ # # spec file for package python-pydash # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,14 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pydash -Version: 4.8.0 +Version: 5.1.0 Release: 0 Summary: The kitchen sink of Python functional utility libraries License: MIT Group: Development/Languages/Python URL: https://github.com/dgilland/pydash Source: https://files.pythonhosted.org/packages/source/p/pydash/pydash-%{version}.tar.gz -BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -49,7 +48,8 @@ rm tox.ini %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +sed -i '/--.*cov/d' setup.cfg +%pytest tests/ %files %{python_files} %doc AUTHORS.rst CHANGELOG.rst README.rst