From 232f01acc8c4659d55702f9069c141915446e7ca2202874cd26fd57d710c1d26 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 2 May 2024 08:56:27 +0000 Subject: [PATCH] - update to 8.0.1: * Fix issue where too many arguments were passed to stdlib's operator.attrgetter, operator.itemgetter, and operator.methodcaller when instances of those classes were used as callbacks to functions like map_, filter_, etc. due to a bug introduced in Python 3.12.3 and 3.11.9 that reported an incorrect signature for those operator class instances. * Add functions: and xor_by by allowing iteratee argument to be `Any`. - Fix compatibility issue between ``pydash.py_`` / ``pydash._`` and ``typing.Protocol`` + ``typing.runtime_checkable`` - Fix regression introduced in ``v4.8.0`` that caused ``merge`` and ``merge_with`` to raise an exception when passing ``None`` OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydash?expand=0&rev=11 --- pydash-8.0.0.tar.gz | 3 --- pydash-8.0.1.tar.gz | 3 +++ python-pydash.changes | 19 +++++++++++++++---- python-pydash.spec | 2 +- 4 files changed, 19 insertions(+), 8 deletions(-) delete mode 100644 pydash-8.0.0.tar.gz create mode 100644 pydash-8.0.1.tar.gz diff --git a/pydash-8.0.0.tar.gz b/pydash-8.0.0.tar.gz deleted file mode 100644 index f9514bb..0000000 --- a/pydash-8.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5a90d98b5f370bb9620f786221579df8f83d54f1f58de6a66f52b1bdba7175d1 -size 163870 diff --git a/pydash-8.0.1.tar.gz b/pydash-8.0.1.tar.gz new file mode 100644 index 0000000..69b327e --- /dev/null +++ b/pydash-8.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a24619643d3c054bfd56a9ae1cb7bd00e9774eaf369d7bb8d62b3daa2462bdbd +size 186446 diff --git a/python-pydash.changes b/python-pydash.changes index 88b1b0c..2c6a303 100644 --- a/python-pydash.changes +++ b/python-pydash.changes @@ -1,8 +1,19 @@ +------------------------------------------------------------------- +Thu May 2 08:56:18 UTC 2024 - Dirk Müller + +- update to 8.0.1: + * Fix issue where too many arguments were passed to stdlib's + operator.attrgetter, operator.itemgetter, and + operator.methodcaller when instances of those classes were + used as callbacks to functions like map_, filter_, etc. due + to a bug introduced in Python 3.12.3 and 3.11.9 that reported + an incorrect signature for those operator class instances. + ------------------------------------------------------------------- Wed Apr 3 01:30:20 UTC 2024 - Steve Kowalik - Update to 8.0.0: - * Add functions: + * Add functions: + apply_catch, apply_if, apply_if_not_none, eq_cmp, gt_cmp + gte_cmp, in_range_cmp, is_equal_cmp, is_equal_with_cmp + is_instance_of_cmp, is_match_cmp, is_match_with_cmp @@ -22,7 +33,7 @@ Wed Apr 3 01:30:20 UTC 2024 - Steve Kowalik * Fix typing for find_index and find_last_index by allowing predicate argument to be callback shorthand values. * Fix typing for difference_by, intersection_by, union_by, uniq_by, - and xor_by by allowing iteratee argument to be `Any`. + and xor_by by allowing iteratee argument to be `Any`. * Fix missing install dependency, typing-extensions, for package. * Add type annotations to package. * Change behavior of to_dict to not using dict() internally. @@ -77,7 +88,7 @@ Thu Apr 7 10:59:23 UTC 2022 - pgajdos@suse.com - 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`` + - 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) ------------------- @@ -99,7 +110,7 @@ Thu Apr 7 10:59:23 UTC 2022 - pgajdos@suse.com - 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`` + - 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) ------------------- diff --git a/python-pydash.spec b/python-pydash.spec index a449e98..c818834 100644 --- a/python-pydash.spec +++ b/python-pydash.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-pydash -Version: 8.0.0 +Version: 8.0.1 Release: 0 Summary: The kitchen sink of Python functional utility libraries License: MIT