Hello community,

here is the log from the commit of package python-python-box for 
openSUSE:Factory checked in at 2019-07-22 17:20:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-box (Old)
 and      /work/SRC/openSUSE:Factory/.python-python-box.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-box"

Mon Jul 22 17:20:21 2019 rev:2 rq:717601 version:3.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-python-box/python-python-box.changes      
2019-06-19 21:14:50.426889430 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-python-box.new.4126/python-python-box.changes
    2019-07-22 17:20:22.593894701 +0200
@@ -1,0 +2,6 @@
+Mon Jul 22 13:23:17 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 3.4.2:
+  * Adding license, changes and authors files to source distribution
+
+-------------------------------------------------------------------

Old:
----
  python-box-3.4.1.tar.gz

New:
----
  python-box-3.4.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-python-box.spec ++++++
--- /var/tmp/diff_new_pack.ESSSs8/_old  2019-07-22 17:20:23.033894581 +0200
+++ /var/tmp/diff_new_pack.ESSSs8/_new  2019-07-22 17:20:23.037894580 +0200
@@ -18,22 +18,20 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-python-box
-Version:        3.4.1
+Version:        3.4.2
 Release:        0
 Summary:        Advanced Python dictionaries with dot notation access
 License:        MIT
 Group:          Development/Languages/Python
-Url:            https://github.com/cdgriffith/Box
+URL:            https://github.com/cdgriffith/Box
 Source:         
https://files.pythonhosted.org/packages/source/p/python-box/python-box-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module pytest-runner}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  python-rpm-macros
-# /SECTION
 BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -49,10 +47,11 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-# %%check
-# %%pytest
+%check
+#%%pytest
 
 %files %{python_files}
+%license LICENSE
 %doc README.rst
 %python3_only %{_bindir}/box.py
 %{python_sitelib}/*

++++++ python-box-3.4.1.tar.gz -> python-box-3.4.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-box-3.4.1/AUTHORS.rst 
new/python-box-3.4.2/AUTHORS.rst
--- old/python-box-3.4.1/AUTHORS.rst    1970-01-01 01:00:00.000000000 +0100
+++ new/python-box-3.4.2/AUTHORS.rst    2019-06-06 17:42:05.000000000 +0200
@@ -0,0 +1,43 @@
+Box is written and maintained by Chris Griffith [email protected].
+
+A big thank you to everyone that has helped! From PRs to suggestions and bug
+reporting, all input is greatly appreciated!
+
+Code contributions:
+
+- Alexandre Decan (AlexandreDecan)
+- dhilipsiva (dhilipsiva)
+- MAA (FooBarQuaxx)
+- Jiang Chen (criver)
+- Matan Rosenberg (matan129)
+- Matt Wisniewski (polishmatt)
+- Martijn Pieters (mjpieters)
+- (sdementen)
+- Brandon Gomes (bhgomes)
+
+Suggestions and bug reporting:
+
+- JiuLi Gao (gaojiuli)
+- Jürgen Hermann (jhermann)
+- tilkau [reddit]
+- Jumpy89 [reddit]
+- can_dry [reddit]
+- spidyfan21 [reddit]
+- Casey Havenor (chavenor)
+- wim glenn (wimglenn)
+- Vishwas B Sharma (csurfer)
+- John Benediktsson (mrjbq7)
+- delirious_lettuce [reddit]
+- Justin Iso (justiniso)
+- (crazyplum)
+- Christopher Toth (ctoth)
+- RickS (rshap91)
+- askvictor [Hacker News]
+- wouter bolsterlee (wbolster)
+- Mickaël Thomas (mickael9)
+- (pwwang)
+- (richieadler)
+- V.Anh Tran (tranvietanh1991)
+- (ipcoder)
+- (cebaa)
+- (deluxghost)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-box-3.4.1/CHANGES.rst 
new/python-box-3.4.2/CHANGES.rst
--- old/python-box-3.4.1/CHANGES.rst    1970-01-01 01:00:00.000000000 +0100
+++ new/python-box-3.4.2/CHANGES.rst    2019-07-05 16:46:59.000000000 +0200
@@ -0,0 +1,128 @@
+Changelog
+---------
+
+Version 3.4.2
+~~~~~~~~~~~~~
+
+* Adding license, changes and authors files to source distribution
+
+Version 3.4.1
+~~~~~~~~~~~~~
+
+* Fixing copy of inherited classes (thanks to pwwang)
+* Fixing `get` when used with default_box
+
+Version 3.4.0
+~~~~~~~~~~~~~
+
+* Adding `box_intact_types` that allows preservation of selected object types 
(thanks to pwwang)
+* Adding limitations section to readme
+
+Version 3.3.0
+~~~~~~~~~~~~~
+
+* Adding `BoxObject` (thanks to Brandon Gomes)
+
+Version 3.2.4
+~~~~~~~~~~~~~
+
+* Fixing recursion issue #68 when using setdefault (thanks to sdementen)
+* Fixing ordered_box would make 'ordered_box_values' internal helper as key in 
sub boxes
+
+Version 3.2.3
+~~~~~~~~~~~~~
+
+* Fixing pickling with default box (thanks to sdementen)
+
+Version 3.2.2
+~~~~~~~~~~~~~
+
+* Adding hash abilities to new frozen BoxList
+* Fixing hashing returned unpredictable values (thanks to cebaa)
+* Fixing update to not handle protected words correctly (thanks to deluxghost)
+* Removing non-collection support for mapping and callable identification
+
+Version 3.2.1
+~~~~~~~~~~~~~
+
+* Fixing pickling on python 3.7 (thanks to Martijn Pieters)
+* Fixing rumel loader error (thanks to richieadler)
+* Fixing frozen_box does not freeze the outermost BoxList (thanks to V.Anh 
Tran)
+
+Version 3.2.0
+~~~~~~~~~~~~~
+
+* Adding `ordered_box` option to keep key order based on insertion (thanks to 
pwwang)
+* Adding custom `__iter__`, `__revered__`, `pop`, `popitems`
+* Fixing ordering of camel_case_killer vs default_box (thanks to Matan 
Rosenberg)
+* Fixing non string keys not being supported correctly (thanks to Matt 
Wisniewski)
+
+Version 3.1.1
+~~~~~~~~~~~~~
+
+* Fixing `__contains__` (thanks to Jiang Chen)
+* Fixing `get` could return non box objects
+
+Version 3.1.0
+~~~~~~~~~~~~~
+
+* Adding `copy` and `deepcopy` support that with return a Box object
+* Adding support for customizable safe attr replacement
+* Adding custom error for missing keys
+* Changing that for this 3.x release, 2.6 support exists
+* Fixing that a recursion loop could occur if `_box_config` was somehow removed
+* Fixing pickling
+
+Version 3.0.1
+~~~~~~~~~~~~~
+
+* Fixing first level recursion errors
+* Fixing spelling mistakes (thanks to John Benediktsson)
+* Fixing that list insert of lists did not use the original list but create an 
empty one
+
+Version 3.0.0
+~~~~~~~~~~~~~
+
+* Adding default object abilities with `default_box` and `default_box_attr` 
kwargs
+* Adding `from_json` and `from_yaml` functions to both `Box` and `BoxList`
+* Adding `frozen_box` option
+* Adding `BoxError` exception for custom errors
+* Adding `conversion_box` to automatically try to find matching attributes
+* Adding `camel_killer_box` that converts CamelCaseKeys to camel_case_keys
+* Adding `SBox` that has `json` and `yaml` properties that map to default 
`to_json()` and `to_yaml()`
+* Adding `box_it_up` property that will make sure all boxes are created and 
populated like previous version
+* Adding `modify_tuples_box` option to recreate tuples with Boxes instead of 
dicts
+* Adding `to_json` and `to_yaml` for `BoxList`
+* Changing how the Box object works, to conversion on extraction
+* Removing `__call__` for compatibly with django and to make more like dict 
object
+* Removing support for python 2.6
+* Removing `LightBox`
+* Removing default indent for `to_json`
+
+Version 2.2.0
+~~~~~~~~~~~~~
+
+* Adding support for `ruamel.yaml` (Thanks to Alexandre Decan)
+* Adding Contributing and Authors files
+
+Version 2.1.0
+~~~~~~~~~~~~~
+
+* Adding `.update` and `.set_default` functionality
+* Adding `dir` support
+
+Version 2.0.0
+~~~~~~~~~~~~~
+
+* Adding `BoxList` to allow for `Box`es to be recursively added to lists as 
well
+* Adding `to_json` and `to_yaml` functions
+* Changing `Box` original functionality to `LightBox`, `Box` now searches lists
+* Changing `Box` callable to return keys, not values, and they are sorted
+* Removing `tree_view` as near same can be seen with YAML
+
+
+Version 1.0.0
+~~~~~~~~~~~~~
+
+* Initial release, copy from `reusables.Namespace`
+* Original creation, 2\13\2014
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-box-3.4.1/LICENSE new/python-box-3.4.2/LICENSE
--- old/python-box-3.4.1/LICENSE        1970-01-01 01:00:00.000000000 +0100
+++ new/python-box-3.4.2/LICENSE        2019-04-19 16:24:37.000000000 +0200
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2017-2019 Chris Griffith
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-box-3.4.1/MANIFEST.in 
new/python-box-3.4.2/MANIFEST.in
--- old/python-box-3.4.1/MANIFEST.in    1970-01-01 01:00:00.000000000 +0100
+++ new/python-box-3.4.2/MANIFEST.in    2019-07-05 16:45:09.000000000 +0200
@@ -0,0 +1,3 @@
+include LICENSE
+include AUTHORS.rst
+include CHANGES.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-box-3.4.1/PKG-INFO 
new/python-box-3.4.2/PKG-INFO
--- old/python-box-3.4.1/PKG-INFO       2019-06-06 18:14:32.000000000 +0200
+++ new/python-box-3.4.2/PKG-INFO       2019-07-05 17:25:17.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: python-box
-Version: 3.4.1
+Version: 3.4.2
 Summary: Advanced Python dictionaries with dot notation access
 Home-page: https://github.com/cdgriffith/Box
 Author: Chris Griffith
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-box-3.4.1/box.py new/python-box-3.4.2/box.py
--- old/python-box-3.4.1/box.py 2019-06-06 17:42:05.000000000 +0200
+++ new/python-box-3.4.2/box.py 2019-07-05 16:46:59.000000000 +0200
@@ -45,7 +45,7 @@
 __all__ = ['Box', 'ConfigBox', 'BoxList', 'SBox',
            'BoxError', 'BoxKeyError']
 __author__ = 'Chris Griffith'
-__version__ = '3.4.1'
+__version__ = '3.4.2'
 
 BOX_PARAMETERS = ('default_box', 'default_box_attr', 'conversion_box',
                   'frozen_box', 'camel_killer_box', 'box_it_up',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-box-3.4.1/python_box.egg-info/PKG-INFO 
new/python-box-3.4.2/python_box.egg-info/PKG-INFO
--- old/python-box-3.4.1/python_box.egg-info/PKG-INFO   2019-06-06 
18:14:32.000000000 +0200
+++ new/python-box-3.4.2/python_box.egg-info/PKG-INFO   2019-07-05 
17:25:17.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: python-box
-Version: 3.4.1
+Version: 3.4.2
 Summary: Advanced Python dictionaries with dot notation access
 Home-page: https://github.com/cdgriffith/Box
 Author: Chris Griffith
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-box-3.4.1/python_box.egg-info/SOURCES.txt 
new/python-box-3.4.2/python_box.egg-info/SOURCES.txt
--- old/python-box-3.4.1/python_box.egg-info/SOURCES.txt        2019-06-06 
18:14:32.000000000 +0200
+++ new/python-box-3.4.2/python_box.egg-info/SOURCES.txt        2019-07-05 
17:25:17.000000000 +0200
@@ -1,3 +1,7 @@
+AUTHORS.rst
+CHANGES.rst
+LICENSE
+MANIFEST.in
 README.rst
 box.py
 setup.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-box-3.4.1/test/test_functional_box.py 
new/python-box-3.4.2/test/test_functional_box.py
--- old/python-box-3.4.1/test/test_functional_box.py    2019-06-06 
18:03:19.000000000 +0200
+++ new/python-box-3.4.2/test/test_functional_box.py    2019-07-05 
17:18:06.000000000 +0200
@@ -270,23 +270,16 @@
         with pytest.raises(BoxError) as err:
             Box.from_json()
 
-        assert 'requires' in str(err)
-
         with pytest.raises(BoxError) as err2:
             Box.from_json(json_string="[1]")
 
-        assert 'dict' in str(err2)
-
     def test_bad_from_yaml(self):
         with pytest.raises(BoxError) as err:
             Box.from_yaml()
-        assert 'requires' in str(err)
 
         with pytest.raises(BoxError) as err2:
             Box.from_yaml('lol')
 
-        assert 'dict' in str(err2)
-
     def test_conversion_box(self):
         bx = Box(extended_test_dict, conversion_box=True)
         assert bx.Key_2.Key_3 == "Value 3"
@@ -544,7 +537,6 @@
     def test_duplicate_errors(self):
         with pytest.raises(BoxError) as err:
             Box({"?a": 1, "!a": 3}, box_duplicates="error")
-        assert "Duplicate" in str(err)
 
         Box({"?a": 1, "!a": 3}, box_duplicates="ignore")
 


Reply via email to