14
0

Accepting request 824521 from home:mcalabkova:branches:devel:languages:python

- Update to 5.1.0
  * Adding `dotted` option for `items` function (thanks to ipcoder)
  * Fixing bug in box.set_default where value is dictionary, return the internal value and not detached temporary (thanks to Noam Graetz)
  * Removing warnings on import if optional libraries are missing
  Version 5.0.1
  -------------
  * Fixing default box saving internal method calls and restricted options (thanks to Marcelo Huerta)
  Version 5.0.0
  -------------
  * Adding support for msgpack converters `to_msgpack` and `from_msgpack`
  * Adding support for comparision of `Box` to other boxes or dicts via the `-` sub operator #144 (thanks to Hitz)
  * Adding support to `|` union boxes like will come default in Python 3.9 from PEP 0584
  * Adding `mypy` type checking, `black` formatting and other checks on commit
  * Adding new parameter `box_class` for cleaner inheritance #148 (thanks to David Aronchick)
  * Adding `dotted` option for `keys` method to return box_dots style keys (thanks to ipcoder)
  * Fixing box_dots to properly delete items from lists
  * Fixing box_dots to properly find items with dots in their key
  * Fixing that recast of subclassses of `Box` or `BoxList` were not fed box properties (thanks to Alexander Kapustin)
  * Changing that sub boxes are always created to properly propagate settings and copy objects #150 (thanks to ipcoder)
  * Changing that default_box will not raise key errors on `pop` #67 (thanks to Patrock)
  * Changing `to_csv` and `from_csv` to have same string and filename options as all other transforms
  * Changing back to no required external imports, instead have extra requires like [all] (thanks to wim glenn)
  * Changing from putting all details in README.rst to a github wiki at https://github.com/cdgriffith/Box/wiki
  * Changing `BoxList.box_class` to be stored in `BoxList.box_options` dict as `box_class`
  * Changing `del` will raise `BoxKeyError`, subclass of both `KeyError` and `BoxError`
  * Removing support for single level circular references
  * Removing readthedocs generation
  * Removing overrides for `keys`, `values` and `items` which will return views again
  Version 4.2.3
  -------------

OBS-URL: https://build.opensuse.org/request/show/824521
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-box?expand=0&rev=9
This commit is contained in:
Tomáš Chvátal
2020-08-06 05:43:15 +00:00
committed by Git OBS Bridge
parent 29128c8d52
commit c346bff0cc
4 changed files with 47 additions and 10 deletions

View File

@@ -20,7 +20,7 @@
# python_requires='>=3.6'
%define skip_python2 1
Name: python-python-box
Version: 4.2.2
Version: 5.1.0
Release: 0
Summary: Advanced Python dictionaries with dot notation access
License: MIT
@@ -33,14 +33,14 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pathlib}
BuildRequires: %{python_module msgpack >= 1.0.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module ruamel.yaml}
BuildRequires: %{python_module testsuite}
BuildRequires: %{python_module toml}
BuildRequires: %{python_module ruamel.yaml >= 0.16.10}
BuildRequires: %{python_module toml >= 0.10.1}
# /SECTION
Requires: python-ruamel.yaml
Requires: python-toml
Requires: python-msgpack >= 1.0.0
Requires: python-ruamel.yaml >= 0.16.10
Requires: python-toml >= 0.10.1
%python_subpackages
%description