forked from pool/python-pydash
Accepting request 967533 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/967533 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pydash?expand=0&rev=2
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:546afa043ed1defa3122383bebe8b7072f43554ccc5f0c4360638f99e5ed7327
|
||||
size 137276
|
3
pydash-5.1.0.tar.gz
Normal file
3
pydash-5.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1b2b050ac1bae049cd07f5920b14fabbe52638f485d9ada1eb115a9eebff6835
|
||||
size 144331
|
@@ -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 <jayvdb@gmail.com>
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user