Hello community,

here is the log from the commit of package python-oslo.utils for 
openSUSE:Factory checked in at 2015-07-05 18:01:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.utils (Old)
 and      /work/SRC/openSUSE:Factory/.python-oslo.utils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-oslo.utils"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.utils/python-oslo.utils.changes      
2014-09-30 19:41:58.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-oslo.utils.new/python-oslo.utils.changes 
2015-07-05 18:01:43.000000000 +0200
@@ -1,0 +2,75 @@
+Thu May  7 12:17:19 UTC 2015 - [email protected]
+
+- Add 0001-Disable-deprecation-warning.patch
+
+-------------------------------------------------------------------
+Tue Mar 10 15:15:35 UTC 2015 - [email protected]
+
+- update to 1.4.0:
+  * Add a stopwatch + split for duration(s)
+  * Allow providing a logger to save_and_reraise_exception
+  * Updated from global requirements
+  * Utility API to generate EUI-64 IPv6 address
+- update Requires
+
+-------------------------------------------------------------------
+Tue Feb 24 12:42:50 UTC 2015 - [email protected]
+
+- update to version 1.3.0:
+  * Add a eventlet utils helper module
+  * Add microsecond support to iso8601_from_timestamp
+  * Updated from global requirements
+  * Update Oslo imports to remove namespace package
+  * Add TimeFixture
+  * Add microsecond support to timeutils.utcnow_ts()
+  * Make setup.cfg packages include oslo.utils
+- adjust Requires according to requirements.txt
+
+-------------------------------------------------------------------
+Wed Jan 14 08:48:43 UTC 2015 - [email protected]
+
+- fix requires 
+
+-------------------------------------------------------------------
+Mon Jan 12 10:35:53 UTC 2015 - [email protected]
+
+- update to 1.2.1:
+  * Return LOCALHOST if no default interface
+  * Improve performance of strutils.mask_password
+  * Move files out of the namespace package
+  * Add method is_valid_port in netutils
+  * Support non-lowercase uuids in is_uuid_like
+  * Add 'secret_uuid' in _SANITIZE_KEYS for strutils
+  * Imported Translations from Transifex
+  * Workflow documentation is now in infra-manual
+
+-------------------------------------------------------------------
+Mon Dec 15 09:02:34 UTC 2014 - [email protected]
+
+- update to 1.1.0:
+  * Add get_my_ip()
+  * Updated from global requirements
+  * Add 'auth_password' in _SANITIZE_KEYS for strutils
+  * Updated from global requirements
+  * Activate pep8 check that _ is imported
+  * Add uuidutils to oslo.utils
+  * Add pbr to installation requirements
+  * Updated from global requirements
+  * Add is_int_like() function
+  * Hide auth_token and new_pass
+  * Imported Translations from Transifex
+  * Add history/changelog to docs
+  * Imported Translations from Transifex
+  * Support building wheels (PEP-427)
+  * Imported Translations from Transifex
+  * Improve docstrings for IP verification functions
+  * Imported Translations from Transifex
+  * Add ip address validation
+  * Fix how it appears we need to use mock_anything to avoid 'self' errors
+  * Updated from global requirements
+  * Move over a reflection module that taskflow uses
+  * Make safe_encode func case-insensitive
+  * Enable mask_password to handle byte code strings
+  * Updated from global requirements
+
+-------------------------------------------------------------------

Old:
----
  oslo.utils-1.0.0.tar.gz

New:
----
  0001-Disable-deprecation-warning.patch
  oslo.utils-1.4.0.tar.gz

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

Other differences:
------------------
++++++ python-oslo.utils.spec ++++++
--- /var/tmp/diff_new_pack.bwdnOg/_old  2015-07-05 18:01:44.000000000 +0200
+++ /var/tmp/diff_new_pack.bwdnOg/_new  2015-07-05 18:01:44.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-oslo.utils
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,22 +17,24 @@
 
 
 Name:           python-oslo.utils
-Version:        1.0.0
+Version:        1.4.0
 Release:        0
 Summary:        Oslo utils library
 License:        Apache-2.0
 Group:          Development/Languages/Python
 Url:            http://launchpad.net/oslo
 Source:         
https://pypi.python.org/packages/source/o/oslo.utils/oslo.utils-%{version}.tar.gz
+Patch0:         0001-Disable-deprecation-warning.patch
 BuildRequires:  python-Babel
 BuildRequires:  python-pbr
 BuildRequires:  python-setuptools
 # Test requirements
-Requires:       python-Babel >= 0.9.6
+Requires:       python-Babel >= 1.3
 Requires:       python-iso8601 >= 0.1.9
-Requires:       python-oslo.config >= 1.2
-Requires:       python-oslo.i18n >= 0.1
-Requires:       python-six >= 1.6
+Requires:       python-netaddr >= 0.7.12
+Requires:       python-netifaces >= 0.10.4
+Requires:       python-oslo.i18n >= 1.3
+Requires:       python-six >= 1.9
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
@@ -51,6 +53,7 @@
 
 %prep
 %setup -q -n oslo.utils-%{version}
+%patch0 -p1
 
 %build
 python setup.py build

++++++ 0001-Disable-deprecation-warning.patch ++++++
>From 02d669843efb53c8e162020173ef1fb822dc879a Mon Sep 17 00:00:00 2001
From: Thomas Bechtold <[email protected]>
Date: Mon, 9 Feb 2015 12:14:07 +0100
Subject: [PATCH] Disable deprecation warning

---
 oslo/utils/__init__.py |  2 +-
 tests/test_warning.py  | 61 --------------------------------------------------
 2 files changed, 1 insertion(+), 62 deletions(-)
 delete mode 100644 tests/test_warning.py

diff --git a/oslo/utils/__init__.py b/oslo/utils/__init__.py
index 73e54f3..bba2542 100644
--- a/oslo/utils/__init__.py
+++ b/oslo/utils/__init__.py
@@ -23,4 +23,4 @@ def deprecated():
     )
 
 
-deprecated()
+#deprecated()
diff --git a/tests/test_warning.py b/tests/test_warning.py
deleted file mode 100644
index 306d93d..0000000
--- a/tests/test_warning.py
+++ /dev/null
@@ -1,61 +0,0 @@
-#    Licensed under the Apache License, Version 2.0 (the "License"); you may
-#    not use this file except in compliance with the License. You may obtain
-#    a copy of the License at
-#
-#         http://www.apache.org/licenses/LICENSE-2.0
-#
-#    Unless required by applicable law or agreed to in writing, software
-#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-#    License for the specific language governing permissions and limitations
-#    under the License.
-
-import imp
-import os
-import warnings
-
-import mock
-from oslotest import base as test_base
-import six
-
-
-class DeprecationWarningTest(test_base.BaseTestCase):
-
-    @mock.patch('warnings.warn')
-    def test_warning(self, mock_warn):
-        import oslo.utils
-        imp.reload(oslo.utils)
-        self.assertTrue(mock_warn.called)
-        args = mock_warn.call_args
-        self.assertIn('oslo_utils', args[0][0])
-        self.assertIn('deprecated', args[0][0])
-        self.assertTrue(issubclass(args[0][1], DeprecationWarning))
-
-    def test_real_warning(self):
-        with warnings.catch_warnings(record=True) as warning_msgs:
-            warnings.resetwarnings()
-            warnings.simplefilter('always', DeprecationWarning)
-            import oslo.utils
-
-            # Use a separate function to get the stack level correct
-            # so we know the message points back to this file. This
-            # corresponds to an import or reload, which isn't working
-            # inside the test under Python 3.3. That may be due to a
-            # difference in the import implementation not triggering
-            # warnings properly when the module is reloaded, or
-            # because the warnings module is mostly implemented in C
-            # and something isn't cleanly resetting the global state
-            # used to track whether a warning needs to be
-            # emitted. Whatever the cause, we definitely see the
-            # warnings.warn() being invoked on a reload (see the test
-            # above) and warnings are reported on the console when we
-            # run the tests. A simpler test script run outside of
-            # testr does correctly report the warnings.
-            def foo():
-                oslo.utils.deprecated()
-
-            foo()
-            self.assertEqual(1, len(warning_msgs))
-            msg = warning_msgs[0]
-            self.assertIn('oslo_utils', six.text_type(msg.message))
-            self.assertEqual('test_warning.py', os.path.basename(msg.filename))
-- 
2.2.2

++++++ oslo.utils-1.0.0.tar.gz -> oslo.utils-1.4.0.tar.gz ++++++
++++ 7126 lines of diff (skipped)


Reply via email to