Revisions of python-pydash
buildservice-autocommit
accepted
request 1171294
from
Dirk Mueller (dirkmueller)
(revision 12)
baserev update by copy to link target
- 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``
buildservice-autocommit
accepted
request 1164246
from
Steve Kowalik (StevenK)
(revision 10)
baserev update by copy to link target
- Update to 8.0.0: * 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 + is_monotone_cmp, lt_cmp, lte_cmp * Rename function thru to apply. * Changed zip_, unzip, zip_with, unzip_with and to_pairs to accept iterables of tuples instead of lists and return lists of tuples instead of lists of lists. * Fixed bug in divide, multiply, and subtract that returned the wrong result when 0 was used as one of the operation values. * Fix bug in function wrappers that incorrectly computed the number of arguments the wrapped function could handle. * Fix bug in set_ where the incorrect object type, list instead of dict, was initialized on class attributes. * Drop support for Python 3.7. * Fix typing for chaining interface for methods that use varargs. * 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`. * Fix missing install dependency, typing-extensions, for package. * Add type annotations to package. * Change behavior of to_dict to not using dict() internally. * Change behavior of slugify to remove single-quotes from output. * Add support for negative indexes in get path keys. - Switch to autosetup macro. - No more greedy globs in %files.
buildservice-autocommit
accepted
request 1155055
from
Markéta Machová (mcalabkova)
(revision 8)
baserev update by copy to link target
- Switch package to modern Python Stack on SLE-15 + Add %{?sle15_python_module_pythons} + Drop %{?!python_module:%define python_module() python-%{**} python3-%{**}}
buildservice-autocommit
accepted
request 1117989
from
Ondřej Súkup (mimi_vx)
(revision 6)
baserev update by copy to link target
- Update to version 6.0.2 * Only prevent access to object paths containing ``__globals__`` or ``__builtins__`` instead of all dunder-methods for non-dict/list objects. - from version 6.0.1 * Fix exception raised due to mishandling of non-string keys in functions like ``get()`` for non-dict/list objects that used integer index references like ``"[0]"``. - from version 6.0.0 * Prevent access to object paths containing dunder-methods in functions like ``get()`` for non-dict/list objects. Attempting to access dunder-methods using get-path keys will raise a ``KeyError`` (e.g. ``get(SomeClass(), '__init__'`` will raise). Access to dict keys are unaffected (e.g. ``get({"__init__": True}, "__init__")`` will return ``True``). (**breaking change**) * Add support for Python 3.11. * Drop support for Python 3.6 (**breaking change**) - from version 5.1.2 * Remove unnecessary type check and conversion for ``exceptions`` argument in ``pydash.retry``. - from version 5.1.1 * Add support for Python 3.10. * Fix timing assertion issue in test for ``pydash.delay`` where it could fail on certain environments. - Switch build system from setuptools to pyproject.toml - Update BuildRequires from pyproject.toml
buildservice-autocommit
accepted
request 967533
from
Matej Cepl (mcepl)
(revision 4)
baserev update by copy to link target
- 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.
initialized devel package after accepting 828409
common helper lib
Displaying all 12 revisions