openSUSE Commits
Threads by month
- ----- 2024 -----
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
October 2015
- 1 participants
- 1896 discussions
Hello community,
here is the log from the commit of package python-oslo.context for openSUSE:Factory checked in at 2015-10-30 13:42:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.context (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.context.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.context"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.context/python-oslo.context.changes 2015-08-29 20:05:06.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-oslo.context.new/python-oslo.context.changes 2015-10-30 13:42:28.000000000 +0100
@@ -1,0 +2,6 @@
+Wed Sep 9 07:05:33 UTC 2015 - tbechtold(a)suse.com
+
+- update to 0.6.0:
+ * Updated from global requirements
+
+-------------------------------------------------------------------
Old:
----
oslo.context-0.5.0.tar.gz
New:
----
oslo.context-0.6.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.context.spec ++++++
--- /var/tmp/diff_new_pack.lfxbeP/_old 2015-10-30 13:42:28.000000000 +0100
+++ /var/tmp/diff_new_pack.lfxbeP/_new 2015-10-30 13:42:28.000000000 +0100
@@ -17,7 +17,7 @@
Name: python-oslo.context
-Version: 0.5.0
+Version: 0.6.0
Release: 0
Url: https://launchpad.net/oslo.context
Summary: Helpers to maintain useful information about a request context
++++++ oslo.context-0.5.0.tar.gz -> oslo.context-0.6.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-0.5.0/ChangeLog new/oslo.context-0.6.0/ChangeLog
--- old/oslo.context-0.5.0/ChangeLog 2015-08-03 19:20:09.000000000 +0200
+++ new/oslo.context-0.6.0/ChangeLog 2015-09-08 17:39:45.000000000 +0200
@@ -1,6 +1,13 @@
CHANGES
=======
+0.6.0
+-----
+
+* Updated from global requirements
+* Updated from global requirements
+* Updated from global requirements
+
0.5.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-0.5.0/PKG-INFO new/oslo.context-0.6.0/PKG-INFO
--- old/oslo.context-0.5.0/PKG-INFO 2015-08-03 19:20:09.000000000 +0200
+++ new/oslo.context-0.6.0/PKG-INFO 2015-09-08 17:39:45.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: oslo.context
-Version: 0.5.0
+Version: 0.6.0
Summary: Oslo Context library
Home-page: http://launchpad.net/oslo
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-0.5.0/oslo.context.egg-info/PKG-INFO new/oslo.context-0.6.0/oslo.context.egg-info/PKG-INFO
--- old/oslo.context-0.5.0/oslo.context.egg-info/PKG-INFO 2015-08-03 19:20:09.000000000 +0200
+++ new/oslo.context-0.6.0/oslo.context.egg-info/PKG-INFO 2015-09-08 17:39:45.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: oslo.context
-Version: 0.5.0
+Version: 0.6.0
Summary: Oslo Context library
Home-page: http://launchpad.net/oslo
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-0.5.0/oslo.context.egg-info/pbr.json new/oslo.context-0.6.0/oslo.context.egg-info/pbr.json
--- old/oslo.context-0.5.0/oslo.context.egg-info/pbr.json 2015-08-03 19:20:09.000000000 +0200
+++ new/oslo.context-0.6.0/oslo.context.egg-info/pbr.json 2015-09-08 17:39:45.000000000 +0200
@@ -1 +1 @@
-{"git_version": "08e1f67", "is_release": true}
\ No newline at end of file
+{"is_release": true, "git_version": "73c91b8"}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-0.5.0/oslo.context.egg-info/requires.txt new/oslo.context-0.6.0/oslo.context.egg-info/requires.txt
--- old/oslo.context-0.5.0/oslo.context.egg-info/requires.txt 2015-08-03 19:20:09.000000000 +0200
+++ new/oslo.context-0.6.0/oslo.context.egg-info/requires.txt 2015-09-08 17:39:45.000000000 +0200
@@ -1,2 +1,2 @@
-pbr<2.0,>=1.3
+pbr<2.0,>=1.6
Babel>=1.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-0.5.0/requirements.txt new/oslo.context-0.6.0/requirements.txt
--- old/oslo.context-0.5.0/requirements.txt 2015-08-03 19:19:43.000000000 +0200
+++ new/oslo.context-0.6.0/requirements.txt 2015-09-08 17:39:25.000000000 +0200
@@ -2,5 +2,5 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-pbr<2.0,>=1.3
+pbr<2.0,>=1.6
Babel>=1.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-0.5.0/setup.cfg new/oslo.context-0.6.0/setup.cfg
--- old/oslo.context-0.5.0/setup.cfg 2015-08-03 19:20:09.000000000 +0200
+++ new/oslo.context-0.6.0/setup.cfg 2015-09-08 17:39:45.000000000 +0200
@@ -52,7 +52,7 @@
universal = true
[egg_info]
-tag_date = 0
-tag_svn_revision = 0
tag_build =
+tag_svn_revision = 0
+tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.context-0.5.0/test-requirements.txt new/oslo.context-0.6.0/test-requirements.txt
--- old/oslo.context-0.5.0/test-requirements.txt 2015-08-03 19:19:43.000000000 +0200
+++ new/oslo.context-0.6.0/test-requirements.txt 2015-09-08 17:39:25.000000000 +0200
@@ -3,7 +3,7 @@
# process, which may cause wedges in the gate later.
hacking<0.11,>=0.10.0
-oslotest>=1.9.0 # Apache-2.0
+oslotest>=1.10.0 # Apache-2.0
coverage>=3.6
# These are needed for docs generation
1
0
Hello community,
here is the log from the commit of package python-oslo.log for openSUSE:Factory checked in at 2015-10-30 13:42:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.log (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.log.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.log"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.log/python-oslo.log.changes 2015-08-29 20:05:08.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-oslo.log.new/python-oslo.log.changes 2015-10-30 13:42:26.000000000 +0100
@@ -1,0 +2,8 @@
+Wed Sep 9 06:50:36 UTC 2015 - tbechtold(a)suse.com
+
+- update to 1.11.0:
+ * Fix poor examples of exception logging
+ * Updated from global requirements
+- Adjust Requires according to requirements.txt
+
+-------------------------------------------------------------------
Old:
----
oslo.log-1.10.0.tar.gz
New:
----
oslo.log-1.11.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.log.spec ++++++
--- /var/tmp/diff_new_pack.6cN1JQ/_old 2015-10-30 13:42:26.000000000 +0100
+++ /var/tmp/diff_new_pack.6cN1JQ/_new 2015-10-30 13:42:26.000000000 +0100
@@ -17,7 +17,7 @@
Name: python-oslo.log
-Version: 1.10.0
+Version: 1.11.0
Release: 0
Summary: OpenStack logging API
License: Apache-2.0
@@ -48,7 +48,7 @@
Requires: python-Babel >= 1.3
Requires: python-debtcollector >= 0.3.0
Requires: python-iso8601 >= 0.1.9
-Requires: python-oslo.config >= 2.1.0
+Requires: python-oslo.config >= 2.3.0
Requires: python-oslo.context >= 0.2.0
Requires: python-oslo.i18n >= 1.5.0
Requires: python-oslo.serialization >= 1.4.0
++++++ oslo.log-1.10.0.tar.gz -> oslo.log-1.11.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-1.10.0/AUTHORS new/oslo.log-1.11.0/AUTHORS
--- old/oslo.log-1.10.0/AUTHORS 2015-08-24 23:34:29.000000000 +0200
+++ new/oslo.log-1.11.0/AUTHORS 2015-09-08 17:43:24.000000000 +0200
@@ -70,6 +70,7 @@
Sean Dague <sdague(a)linux.vnet.ibm.com>
Sean Dague <sean.dague(a)samsung.com>
Sean Dague <sean(a)dague.net>
+Sean McGinnis <sean_mcginnis(a)dell.com>
Sergey Kraynev <skraynev(a)mirantis.com>
Sergey Lukjanov <slukjanov(a)mirantis.com>
Sergey Vilgelm <sergey(a)vilgelm.info>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-1.10.0/ChangeLog new/oslo.log-1.11.0/ChangeLog
--- old/oslo.log-1.10.0/ChangeLog 2015-08-24 23:34:29.000000000 +0200
+++ new/oslo.log-1.11.0/ChangeLog 2015-09-08 17:43:24.000000000 +0200
@@ -1,6 +1,13 @@
CHANGES
=======
+1.11.0
+------
+
+* Fix poor examples of exception logging
+* Updated from global requirements
+* Updated from global requirements
+
1.10.0
------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-1.10.0/PKG-INFO new/oslo.log-1.11.0/PKG-INFO
--- old/oslo.log-1.10.0/PKG-INFO 2015-08-24 23:34:30.000000000 +0200
+++ new/oslo.log-1.11.0/PKG-INFO 2015-09-08 17:43:24.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: oslo.log
-Version: 1.10.0
+Version: 1.11.0
Summary: oslo.log library
Home-page: http://launchpad.net/oslo
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-1.10.0/doc/source/usage.rst new/oslo.log-1.11.0/doc/source/usage.rst
--- old/oslo.log-1.10.0/doc/source/usage.rst 2015-08-24 23:33:49.000000000 +0200
+++ new/oslo.log-1.11.0/doc/source/usage.rst 2015-09-08 17:42:40.000000000 +0200
@@ -87,7 +87,7 @@
that's strictly :class:`unicode`, not :class:`str`. If a message has
no interpolation for extra parameters, a byte string can be used.
-The most common place to encounter this is where :meth:`Logger.exception`
+The most common place to encounter this is where :meth:`Logger.error`
is used by passing an exception object as the first argument.
::
@@ -96,7 +96,7 @@
try:
do_something()
except Exception as err:
- LOG.exception(err)
+ LOG.error(err)
Now, the error should be converted to unicode either by calling
:func:`six.text_type` or by using a unicode formatting string to
@@ -117,14 +117,14 @@
try:
do_something()
except Exception as err:
- LOG.exception(_LE(u"do_something couldn't do something: %s"), err)
+ LOG.error(_LE(u"do_something couldn't do something: %s"), err)
# New style, alternate without context
import six
try:
do_something()
except Exception as err:
- LOG.exception(six.text_type(err))
+ LOG.error(six.text_type(err))
Failure to do this for exceptions or other objects containing
translatable strings from ``oslo.i18n`` results in an exception when
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-1.10.0/oslo.log.egg-info/PKG-INFO new/oslo.log-1.11.0/oslo.log.egg-info/PKG-INFO
--- old/oslo.log-1.10.0/oslo.log.egg-info/PKG-INFO 2015-08-24 23:34:29.000000000 +0200
+++ new/oslo.log-1.11.0/oslo.log.egg-info/PKG-INFO 2015-09-08 17:43:24.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: oslo.log
-Version: 1.10.0
+Version: 1.11.0
Summary: oslo.log library
Home-page: http://launchpad.net/oslo
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-1.10.0/oslo.log.egg-info/pbr.json new/oslo.log-1.11.0/oslo.log.egg-info/pbr.json
--- old/oslo.log-1.10.0/oslo.log.egg-info/pbr.json 2015-08-24 23:34:29.000000000 +0200
+++ new/oslo.log-1.11.0/oslo.log.egg-info/pbr.json 2015-09-08 17:43:24.000000000 +0200
@@ -1 +1 @@
-{"git_version": "a0e50f8", "is_release": true}
\ No newline at end of file
+{"is_release": true, "git_version": "f718919"}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-1.10.0/oslo.log.egg-info/requires.txt new/oslo.log-1.11.0/oslo.log.egg-info/requires.txt
--- old/oslo.log-1.10.0/oslo.log.egg-info/requires.txt 2015-08-24 23:34:29.000000000 +0200
+++ new/oslo.log-1.11.0/oslo.log.egg-info/requires.txt 2015-09-08 17:43:24.000000000 +0200
@@ -1,10 +1,10 @@
-pbr<2.0,>=1.4
+pbr<2.0,>=1.6
Babel>=1.3
six>=1.9.0
iso8601>=0.1.9
-oslo.config>=2.1.0 # Apache-2.0
-oslo.context>=0.2.0 # Apache-2.0
-oslo.i18n>=1.5.0 # Apache-2.0
-oslo.utils>=2.0.0 # Apache-2.0
-oslo.serialization>=1.4.0 # Apache-2.0
-debtcollector>=0.3.0 # Apache-2.0
+oslo.config>=2.3.0
+oslo.context>=0.2.0
+oslo.i18n>=1.5.0
+oslo.utils>=2.0.0
+oslo.serialization>=1.4.0
+debtcollector>=0.3.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-1.10.0/requirements.txt new/oslo.log-1.11.0/requirements.txt
--- old/oslo.log-1.10.0/requirements.txt 2015-08-24 23:33:49.000000000 +0200
+++ new/oslo.log-1.11.0/requirements.txt 2015-09-08 17:42:40.000000000 +0200
@@ -2,11 +2,11 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-pbr<2.0,>=1.4
+pbr<2.0,>=1.6
Babel>=1.3
six>=1.9.0
iso8601>=0.1.9
-oslo.config>=2.1.0 # Apache-2.0
+oslo.config>=2.3.0 # Apache-2.0
oslo.context>=0.2.0 # Apache-2.0
oslo.i18n>=1.5.0 # Apache-2.0
oslo.utils>=2.0.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.log-1.10.0/setup.cfg new/oslo.log-1.11.0/setup.cfg
--- old/oslo.log-1.10.0/setup.cfg 2015-08-24 23:34:30.000000000 +0200
+++ new/oslo.log-1.11.0/setup.cfg 2015-09-08 17:43:24.000000000 +0200
@@ -56,7 +56,7 @@
universal = 1
[egg_info]
+tag_build =
tag_date = 0
tag_svn_revision = 0
-tag_build =
1
0
Hello community,
here is the log from the commit of package python-ironicclient for openSUSE:Factory checked in at 2015-10-30 13:42:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ironicclient (Old)
and /work/SRC/openSUSE:Factory/.python-ironicclient.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ironicclient"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ironicclient/python-ironicclient.changes 2015-08-27 08:54:35.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-ironicclient.new/python-ironicclient.changes 2015-10-30 13:42:25.000000000 +0100
@@ -1,0 +2,44 @@
+Sat Sep 19 07:06:41 UTC 2015 - tbechtold(a)suse.com
+
+- update to 0.8.1:
+ * Fixes file cache TypeError
+ * Fix functional tests job
+ * Replace ConfigParser with six.moves.configparser
+
+-------------------------------------------------------------------
+Mon Sep 14 10:51:20 UTC 2015 - tbechtold(a)suse.com
+
+- update to 0.8.0:
+ * Updated from global requirements
+ * Updated from global requirements
+ * Updated from global requirements
+ * Added unit tests for command-line shell
+ * Also retry on connection refused
+ * Updated from global requirements
+ * Updated from global requirements
+ * Add provision_updated_at field to nodes
+ * Filtering nodes by provision state
+ * Replacing dict.iteritems() with dict.items()
+ * Updated from global requirements
+ * Fix version negotiation
+ * Updated from global requirements
+ * Allow specifying a set of fields of the Port and Chasis resources
+ * Revert: requirement files in alphabetical order
+ * Fix unittests due mock 1.1.0 release
+ * Allow specifying a set of fields of the Node resource
+ * Expose node's clean_step and bump default version
+ * Fix slow tests in RetriesTestCase
+ * Updated from global requirements
+ * Updated from global requirements
+ * Also retry on HTTP 503 (service unavailable)
+ * Cache negotiated api microversion for server
+ * Updated from global requirements
+ * Cleanup session creation
+ * Updated from global requirements
+ * Register global Keystone args first
+ * Install the ironicclient into the 'venv' virtualenv
+ * Updated from global requirements
+ * Refactor resource_fields.py
+- Adjust Requires according to requirements.txt
+
+-------------------------------------------------------------------
Old:
----
python-ironicclient-0.7.0.tar.gz
New:
----
python-ironicclient-0.8.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-ironicclient.spec ++++++
--- /var/tmp/diff_new_pack.EVrTAo/_old 2015-10-30 13:42:25.000000000 +0100
+++ /var/tmp/diff_new_pack.EVrTAo/_new 2015-10-30 13:42:25.000000000 +0100
@@ -18,7 +18,7 @@
%define component ironicclient
Name: python-%{component}
-Version: 0.7.0
+Version: 0.8.1
Release: 0
Summary: Openstack Bare Metal Deploy (Ironic) - API Client
License: Apache-2.0
@@ -50,13 +50,13 @@
Requires: python-PrettyTable >= 0.7
Requires: python-anyjson >= 0.3.3
Requires: python-appdirs >= 1.3.0
-Requires: python-dogpile.cache >= 0.5.3
+Requires: python-dogpile.cache >= 0.5.4
Requires: python-httplib2 >= 0.7.5
Requires: python-keystoneclient >= 1.6.0
Requires: python-lxml >= 2.3
Requires: python-oslo.i18n >= 1.5.0
-Requires: python-oslo.utils >= 1.9.0
-Requires: python-pbr >= 1.3
+Requires: python-oslo.utils >= 2.0.0
+Requires: python-pbr >= 1.6
Requires: python-six >= 1.9.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
++++++ python-ironicclient-0.7.0.tar.gz -> python-ironicclient-0.8.1.tar.gz ++++++
++++ 3286 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package python-suds-jurko for openSUSE:Factory checked in at 2015-10-30 13:42:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-suds-jurko (Old)
and /work/SRC/openSUSE:Factory/.python-suds-jurko.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-suds-jurko"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-suds-jurko/python-suds-jurko.changes 2015-08-05 06:50:53.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-suds-jurko.new/python-suds-jurko.changes 2015-10-30 13:42:23.000000000 +0100
@@ -1,0 +2,5 @@
+Wed Jul 29 11:05:38 UTC 2015 - tbechtold(a)suse.com
+
+- Unify spec file. Use fedora compatible files macros
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-suds-jurko.spec ++++++
--- /var/tmp/diff_new_pack.oCLeD0/_old 2015-10-30 13:42:24.000000000 +0100
+++ /var/tmp/diff_new_pack.oCLeD0/_new 2015-10-30 13:42:24.000000000 +0100
@@ -24,6 +24,7 @@
Group: Development/Languages/Python
Url: http://bitbucket.org/jurko/suds
Source: https://pypi.python.org/packages/source/s/suds-jurko/suds-jurko-%{version}.…
+BuildRequires: openstack-suse-macros
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: python-xml
@@ -49,10 +50,10 @@
%setup -q -n suds-jurko-%{version}
%build
-python setup.py build
+%{__python2} setup.py build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%{__python2} setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
#python setup.py test
@@ -60,6 +61,6 @@
%files
%defattr(-,root,root,-)
%doc LICENSE.txt README.rst
-%{python_sitelib}/*
+%{python2_sitelib}/*
%changelog
1
0
Hello community,
here is the log from the commit of package python-oslo.serialization for openSUSE:Factory checked in at 2015-10-30 13:42:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.serialization (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.serialization.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.serialization"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.serialization/python-oslo.serialization.changes 2015-08-27 08:54:46.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-oslo.serialization.new/python-oslo.serialization.changes 2015-10-30 13:42:21.000000000 +0100
@@ -1,0 +2,18 @@
+Wed Sep 9 06:54:35 UTC 2015 - tbechtold(a)suse.com
+
+- update to 1.9.0:
+ * Updated from global requirements
+ * Drop stale test - test_jsonutils
+ * Stop using deprecated oslo_utils.timeutils.strtime
+ * Add tox target to find missing requirements
+ * Remove oslo namespace package
+ * Do not use oslo namespace for oslo.i18n lib
+ * Switch badges from 'pypip.in' to 'shields.io'
+- Adjust Requires according to requirements.txt
+
+-------------------------------------------------------------------
+Mon Aug 10 11:45:21 UTC 2015 - seife+obs(a)b1-systems.com
+
+- fix spelling of python-Sphinx BuildRequires
+
+-------------------------------------------------------------------
Old:
----
oslo.serialization-1.6.0.tar.gz
New:
----
oslo.serialization-1.9.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.serialization.spec ++++++
--- /var/tmp/diff_new_pack.oAZB7a/_old 2015-10-30 13:42:22.000000000 +0100
+++ /var/tmp/diff_new_pack.oAZB7a/_new 2015-10-30 13:42:22.000000000 +0100
@@ -17,7 +17,7 @@
Name: python-oslo.serialization
-Version: 1.6.0
+Version: 1.9.0
Release: 0
Summary: OpenStack serialization API
License: Apache-2.0
@@ -28,18 +28,18 @@
BuildRequires: python-devel
BuildRequires: python-pbr
# Test requirements
+BuildRequires: python-Sphinx
BuildRequires: python-coverage
BuildRequires: python-mock
BuildRequires: python-netaddr
BuildRequires: python-oslo.i18n
BuildRequires: python-oslotest
BuildRequires: python-simplejson
-BuildRequires: python-sphinx
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-Babel >= 1.3
Requires: python-iso8601 >= 0.1.9
Requires: python-msgpack-python >= 0.4.0
-Requires: python-oslo.utils >= 1.4.0
+Requires: python-oslo.utils >= 2.0.0
Requires: python-pytz >= 2013.6
Requires: python-six >= 1.9.0
BuildArch: noarch
++++++ oslo.serialization-1.6.0.tar.gz -> oslo.serialization-1.9.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.serialization-1.6.0/AUTHORS new/oslo.serialization-1.9.0/AUTHORS
--- old/oslo.serialization-1.6.0/AUTHORS 2015-06-02 17:09:32.000000000 +0200
+++ new/oslo.serialization-1.9.0/AUTHORS 2015-09-08 18:00:55.000000000 +0200
@@ -2,6 +2,7 @@
Andreas Jaeger <aj(a)suse.de>
Ann Kamyshnikova <akamyshnikova(a)mirantis.com>
Ben Nemec <bnemec(a)redhat.com>
+Brant Knudson <bknudson(a)us.ibm.com>
Chang Bo Guo <guochbo(a)cn.ibm.com>
Christian Berendt <berendt(a)b1-systems.de>
Chuck Short <chuck.short(a)canonical.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.serialization-1.6.0/ChangeLog new/oslo.serialization-1.9.0/ChangeLog
--- old/oslo.serialization-1.6.0/ChangeLog 2015-06-02 17:09:32.000000000 +0200
+++ new/oslo.serialization-1.9.0/ChangeLog 2015-09-08 18:00:55.000000000 +0200
@@ -1,6 +1,36 @@
CHANGES
=======
+1.9.0
+-----
+
+* Updated from global requirements
+* Updated from global requirements
+* Updated from global requirements
+* Updated from global requirements
+* Updated from global requirements
+
+1.8.0
+-----
+
+* Updated from global requirements
+* Updated from global requirements
+* Updated from global requirements
+* Updated from global requirements
+* Updated from global requirements
+* Drop stale test - test_jsonutils
+
+1.7.0
+-----
+
+* Stop using deprecated oslo_utils.timeutils.strtime
+* Add tox target to find missing requirements
+* Remove oslo namespace package
+* Do not use oslo namespace for oslo.i18n lib
+* Updated from global requirements
+* Updated from global requirements
+* Switch badges from 'pypip.in' to 'shields.io'
+
1.6.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.serialization-1.6.0/PKG-INFO new/oslo.serialization-1.9.0/PKG-INFO
--- old/oslo.serialization-1.6.0/PKG-INFO 2015-06-02 17:09:32.000000000 +0200
+++ new/oslo.serialization-1.9.0/PKG-INFO 2015-09-08 18:00:56.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: oslo.serialization
-Version: 1.6.0
+Version: 1.9.0
Summary: Oslo Serialization library
Home-page: http://launchpad.net/oslo
Author: OpenStack
@@ -10,11 +10,11 @@
oslo.serialization
====================
- .. image:: https://pypip.in/version/oslo.serialization/badge.svg
+ .. image:: https://img.shields.io/pypi/v/oslo.serialization.svg
:target: https://pypi.python.org/pypi/oslo.serialization/
:alt: Latest Version
- .. image:: https://pypip.in/download/oslo.serialization/badge.svg?period=month
+ .. image:: https://img.shields.io/pypi/dm/oslo.serialization.svg
:target: https://pypi.python.org/pypi/oslo.serialization/
:alt: Downloads
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.serialization-1.6.0/README.rst new/oslo.serialization-1.9.0/README.rst
--- old/oslo.serialization-1.6.0/README.rst 2015-06-02 17:08:56.000000000 +0200
+++ new/oslo.serialization-1.9.0/README.rst 2015-09-08 18:00:19.000000000 +0200
@@ -2,11 +2,11 @@
oslo.serialization
====================
-.. image:: https://pypip.in/version/oslo.serialization/badge.svg
+.. image:: https://img.shields.io/pypi/v/oslo.serialization.svg
:target: https://pypi.python.org/pypi/oslo.serialization/
:alt: Latest Version
-.. image:: https://pypip.in/download/oslo.serialization/badge.svg?period=month
+.. image:: https://img.shields.io/pypi/dm/oslo.serialization.svg
:target: https://pypi.python.org/pypi/oslo.serialization/
:alt: Downloads
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.serialization-1.6.0/oslo/__init__.py new/oslo.serialization-1.9.0/oslo/__init__.py
--- old/oslo.serialization-1.6.0/oslo/__init__.py 2015-06-02 17:08:56.000000000 +0200
+++ new/oslo.serialization-1.9.0/oslo/__init__.py 1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +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__('pkg_resources').declare_namespace(__name__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.serialization-1.6.0/oslo/serialization/__init__.py new/oslo.serialization-1.9.0/oslo/serialization/__init__.py
--- old/oslo.serialization-1.6.0/oslo/serialization/__init__.py 2015-06-02 17:08:56.000000000 +0200
+++ new/oslo.serialization-1.9.0/oslo/serialization/__init__.py 1970-01-01 01:00:00.000000000 +0100
@@ -1,26 +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 warnings
-
-
-def deprecated():
- new_name = __name__.replace('.', '_')
- warnings.warn(
- ('The oslo namespace package is deprecated. Please use %s instead.' %
- new_name),
- DeprecationWarning,
- stacklevel=3,
- )
-
-
-deprecated()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.serialization-1.6.0/oslo/serialization/jsonutils.py new/oslo.serialization-1.9.0/oslo/serialization/jsonutils.py
--- old/oslo.serialization-1.6.0/oslo/serialization/jsonutils.py 2015-06-02 17:08:56.000000000 +0200
+++ new/oslo.serialization-1.9.0/oslo/serialization/jsonutils.py 1970-01-01 01:00:00.000000000 +0100
@@ -1,13 +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.
-
-from oslo_serialization.jsonutils import * # noqa
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.serialization-1.6.0/oslo.serialization.egg-info/PKG-INFO new/oslo.serialization-1.9.0/oslo.serialization.egg-info/PKG-INFO
--- old/oslo.serialization-1.6.0/oslo.serialization.egg-info/PKG-INFO 2015-06-02 17:09:32.000000000 +0200
+++ new/oslo.serialization-1.9.0/oslo.serialization.egg-info/PKG-INFO 2015-09-08 18:00:55.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: oslo.serialization
-Version: 1.6.0
+Version: 1.9.0
Summary: Oslo Serialization library
Home-page: http://launchpad.net/oslo
Author: OpenStack
@@ -10,11 +10,11 @@
oslo.serialization
====================
- .. image:: https://pypip.in/version/oslo.serialization/badge.svg
+ .. image:: https://img.shields.io/pypi/v/oslo.serialization.svg
:target: https://pypi.python.org/pypi/oslo.serialization/
:alt: Latest Version
- .. image:: https://pypip.in/download/oslo.serialization/badge.svg?period=month
+ .. image:: https://img.shields.io/pypi/dm/oslo.serialization.svg
:target: https://pypi.python.org/pypi/oslo.serialization/
:alt: Downloads
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.serialization-1.6.0/oslo.serialization.egg-info/SOURCES.txt new/oslo.serialization-1.9.0/oslo.serialization.egg-info/SOURCES.txt
--- old/oslo.serialization-1.6.0/oslo.serialization.egg-info/SOURCES.txt 2015-06-02 17:09:32.000000000 +0200
+++ new/oslo.serialization-1.9.0/oslo.serialization.egg-info/SOURCES.txt 2015-09-08 18:00:56.000000000 +0200
@@ -20,23 +20,15 @@
doc/source/history.rst
doc/source/index.rst
doc/source/installation.rst
-oslo/__init__.py
oslo.serialization.egg-info/PKG-INFO
oslo.serialization.egg-info/SOURCES.txt
oslo.serialization.egg-info/dependency_links.txt
-oslo.serialization.egg-info/namespace_packages.txt
oslo.serialization.egg-info/not-zip-safe
oslo.serialization.egg-info/pbr.json
oslo.serialization.egg-info/requires.txt
oslo.serialization.egg-info/top_level.txt
-oslo/serialization/__init__.py
-oslo/serialization/jsonutils.py
oslo_serialization/__init__.py
oslo_serialization/jsonutils.py
oslo_serialization/msgpackutils.py
oslo_serialization/tests/__init__.py
-oslo_serialization/tests/test_jsonutils.py
-tests/__init__.py
-tests/test_jsonutils.py
-tests/test_msgpackutils.py
-tests/test_warning.py
\ No newline at end of file
+oslo_serialization/tests/test_jsonutils.py
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.serialization-1.6.0/oslo.serialization.egg-info/namespace_packages.txt new/oslo.serialization-1.9.0/oslo.serialization.egg-info/namespace_packages.txt
--- old/oslo.serialization-1.6.0/oslo.serialization.egg-info/namespace_packages.txt 2015-06-02 17:09:32.000000000 +0200
+++ new/oslo.serialization-1.9.0/oslo.serialization.egg-info/namespace_packages.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-oslo
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.serialization-1.6.0/oslo.serialization.egg-info/pbr.json new/oslo.serialization-1.9.0/oslo.serialization.egg-info/pbr.json
--- old/oslo.serialization-1.6.0/oslo.serialization.egg-info/pbr.json 2015-06-02 17:09:32.000000000 +0200
+++ new/oslo.serialization-1.9.0/oslo.serialization.egg-info/pbr.json 2015-09-08 18:00:55.000000000 +0200
@@ -1 +1 @@
-{"is_release": true, "git_version": "15c82cc"}
\ No newline at end of file
+{"is_release": true, "git_version": "03f3431"}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.serialization-1.6.0/oslo.serialization.egg-info/requires.txt new/oslo.serialization-1.9.0/oslo.serialization.egg-info/requires.txt
--- old/oslo.serialization-1.6.0/oslo.serialization.egg-info/requires.txt 2015-06-02 17:09:32.000000000 +0200
+++ new/oslo.serialization-1.9.0/oslo.serialization.egg-info/requires.txt 2015-09-08 18:00:55.000000000 +0200
@@ -1,7 +1,7 @@
-pbr>=0.11,<2.0
+pbr<2.0,>=1.6
Babel>=1.3
six>=1.9.0
msgpack-python>=0.4.0
iso8601>=0.1.9
-oslo.utils>=1.4.0 # Apache-2.0
+oslo.utils>=2.0.0
pytz>=2013.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.serialization-1.6.0/oslo.serialization.egg-info/top_level.txt new/oslo.serialization-1.9.0/oslo.serialization.egg-info/top_level.txt
--- old/oslo.serialization-1.6.0/oslo.serialization.egg-info/top_level.txt 2015-06-02 17:09:32.000000000 +0200
+++ new/oslo.serialization-1.9.0/oslo.serialization.egg-info/top_level.txt 2015-09-08 18:00:55.000000000 +0200
@@ -1,2 +1 @@
-oslo
oslo_serialization
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.serialization-1.6.0/oslo_serialization/jsonutils.py new/oslo.serialization-1.9.0/oslo_serialization/jsonutils.py
--- old/oslo.serialization-1.6.0/oslo_serialization/jsonutils.py 2015-06-02 17:08:56.000000000 +0200
+++ new/oslo.serialization-1.9.0/oslo_serialization/jsonutils.py 2015-09-08 18:00:19.000000000 +0200
@@ -111,7 +111,7 @@
if isinstance(value, datetime.datetime):
if convert_datetime:
- return timeutils.strtime(value)
+ return value.strftime(timeutils.PERFECT_TIME_FORMAT)
else:
return value
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.serialization-1.6.0/requirements.txt new/oslo.serialization-1.9.0/requirements.txt
--- old/oslo.serialization-1.6.0/requirements.txt 2015-06-02 17:08:56.000000000 +0200
+++ new/oslo.serialization-1.9.0/requirements.txt 2015-09-08 18:00:19.000000000 +0200
@@ -7,12 +7,12 @@
# adding a new feature to oslo.serialization means adding a new dependency,
# that is a likely indicator that the feature belongs somewhere else.
-pbr>=0.11,<2.0
+pbr<2.0,>=1.6
Babel>=1.3
six>=1.9.0
msgpack-python>=0.4.0
# Only for timeutils in openstack.common - once we're using the
# library version this can be removed.
iso8601>=0.1.9
-oslo.utils>=1.4.0 # Apache-2.0
+oslo.utils>=2.0.0 # Apache-2.0
pytz>=2013.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.serialization-1.6.0/setup.cfg new/oslo.serialization-1.9.0/setup.cfg
--- old/oslo.serialization-1.6.0/setup.cfg 2015-06-02 17:09:32.000000000 +0200
+++ new/oslo.serialization-1.9.0/setup.cfg 2015-09-08 18:00:56.000000000 +0200
@@ -21,11 +21,7 @@
[files]
packages =
- oslo
- oslo.serialization
oslo_serialization
-namespace_packages =
- oslo
[pbr]
warnerrors = true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.serialization-1.6.0/setup.py new/oslo.serialization-1.9.0/setup.py
--- old/oslo.serialization-1.6.0/setup.py 2015-06-02 17:08:56.000000000 +0200
+++ new/oslo.serialization-1.9.0/setup.py 2015-09-08 18:00:19.000000000 +0200
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -26,5 +25,5 @@
pass
setuptools.setup(
- setup_requires=['pbr'],
+ setup_requires=['pbr>=1.3'],
pbr=True)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.serialization-1.6.0/test-requirements.txt new/oslo.serialization-1.9.0/test-requirements.txt
--- old/oslo.serialization-1.6.0/test-requirements.txt 2015-06-02 17:08:56.000000000 +0200
+++ new/oslo.serialization-1.9.0/test-requirements.txt 2015-09-08 18:00:19.000000000 +0200
@@ -1,15 +1,15 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-hacking>=0.10.0,<0.11
-mock>=1.0
-netaddr>=0.7.12
+hacking<0.11,>=0.10.0
+mock>=1.2
+netaddr!=0.7.16,>=0.7.12
# this is required for the docs build jobs
-sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3
-oslosphinx>=2.5.0 # Apache-2.0
+sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
+oslosphinx>=2.5.0 # Apache-2.0
-oslotest>=1.5.1 # Apache-2.0
+oslotest>=1.10.0 # Apache-2.0
simplejson>=2.2.0
-oslo.i18n>=1.5.0 # Apache-2.0
+oslo.i18n>=1.5.0 # Apache-2.0
coverage>=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.serialization-1.6.0/tests/test_jsonutils.py new/oslo.serialization-1.9.0/tests/test_jsonutils.py
--- old/oslo.serialization-1.6.0/tests/test_jsonutils.py 2015-06-02 17:08:56.000000000 +0200
+++ new/oslo.serialization-1.9.0/tests/test_jsonutils.py 1970-01-01 01:00:00.000000000 +0100
@@ -1,316 +0,0 @@
-# Copyright 2011 OpenStack Foundation.
-# All Rights Reserved.
-#
-# 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 collections
-import datetime
-import json
-import uuid
-
-import mock
-import netaddr
-from oslotest import base as test_base
-import simplejson
-import six
-import six.moves.xmlrpc_client as xmlrpclib
-
-from oslo.i18n import fixture
-from oslo.serialization import jsonutils
-
-
-class JSONUtilsTestMixin(object):
-
- json_impl = None
-
- def setUp(self):
- super(JSONUtilsTestMixin, self).setUp()
- self.json_patcher = mock.patch.multiple(
- jsonutils, json=self.json_impl,
- is_simplejson=self.json_impl is simplejson)
- self.json_impl_mock = self.json_patcher.start()
-
- def tearDown(self):
- self.json_patcher.stop()
- super(JSONUtilsTestMixin, self).tearDown()
-
- def test_dumps(self):
- self.assertEqual('{"a": "b"}', jsonutils.dumps({'a': 'b'}))
-
- def test_dumps_namedtuple(self):
- n = collections.namedtuple("foo", "bar baz")(1, 2)
- self.assertEqual('[1, 2]', jsonutils.dumps(n))
-
- def test_dump(self):
- expected = '{"a": "b"}'
- json_dict = {'a': 'b'}
-
- fp = six.StringIO()
- jsonutils.dump(json_dict, fp)
-
- self.assertEqual(expected, fp.getvalue())
-
- def test_dump_namedtuple(self):
- expected = '[1, 2]'
- json_dict = collections.namedtuple("foo", "bar baz")(1, 2)
-
- fp = six.StringIO()
- jsonutils.dump(json_dict, fp)
-
- self.assertEqual(expected, fp.getvalue())
-
- def test_dumps_uuid(self):
- self.assertEqual('"87edfaf4-9bff-11e4-82bd-b7b4e88d3780"',
- jsonutils.dumps(
- uuid.UUID("87edfaf49bff11e482bdb7b4e88d3780")))
-
- def test_dump_set(self):
- # Only test with one entry because the order is random :]
- self.assertEqual("[1]", jsonutils.dumps(set([1])))
-
- def test_loads(self):
- self.assertEqual({'a': 'b'}, jsonutils.loads('{"a": "b"}'))
-
- def test_loads_unicode(self):
- self.assertIsInstance(jsonutils.loads(b'"foo"'), six.text_type)
- self.assertIsInstance(jsonutils.loads(u'"foo"'), six.text_type)
-
- # 'test' in Ukrainian
- i18n_str_unicode = u'"\u0442\u0435\u0441\u0442"'
- self.assertIsInstance(jsonutils.loads(i18n_str_unicode), six.text_type)
-
- i18n_str = i18n_str_unicode.encode('utf-8')
- self.assertIsInstance(jsonutils.loads(i18n_str), six.text_type)
-
- def test_loads_with_kwargs(self):
- jsontext = u'{"foo": 3}'
- result = jsonutils.loads(jsontext, parse_int=lambda x: 5)
- self.assertEqual(5, result['foo'])
-
- def test_load(self):
-
- jsontext = u'{"a": "\u0442\u044d\u0441\u0442"}'
- expected = {u'a': u'\u0442\u044d\u0441\u0442'}
-
- for encoding in ('utf-8', 'cp1251'):
- fp = six.BytesIO(jsontext.encode(encoding))
- result = jsonutils.load(fp, encoding=encoding)
- self.assertEqual(expected, result)
- for key, val in result.items():
- self.assertIsInstance(key, six.text_type)
- self.assertIsInstance(val, six.text_type)
-
-
-class JSONUtilsTestJson(JSONUtilsTestMixin, test_base.BaseTestCase):
- json_impl = json
-
-
-class JSONUtilsTestSimpleJson(JSONUtilsTestMixin, test_base.BaseTestCase):
- json_impl = simplejson
-
-
-class ToPrimitiveTestCase(test_base.BaseTestCase):
- def setUp(self):
- super(ToPrimitiveTestCase, self).setUp()
- self.trans_fixture = self.useFixture(fixture.Translation())
-
- def test_list(self):
- self.assertEqual(jsonutils.to_primitive([1, 2, 3]), [1, 2, 3])
-
- def test_set(self):
- self.assertEqual(jsonutils.to_primitive(set([1, 2, 3])), [1, 2, 3])
-
- def test_empty_list(self):
- self.assertEqual(jsonutils.to_primitive([]), [])
-
- def test_tuple(self):
- self.assertEqual(jsonutils.to_primitive((1, 2, 3)), [1, 2, 3])
-
- def test_dict(self):
- self.assertEqual(jsonutils.to_primitive(dict(a=1, b=2, c=3)),
- dict(a=1, b=2, c=3))
-
- def test_dict_values(self):
- self.assertEqual(
- jsonutils.to_primitive(
- dict(a=uuid.UUID("DD9FB2B6-CE81-4A7B-8B56-90E35D650A0B"))),
- dict(a=u"dd9fb2b6-ce81-4a7b-8b56-90e35d650a0b"))
-
- def test_dict_keys(self):
- self.assertEqual(
- jsonutils.to_primitive(
- {uuid.UUID("DD9FB2B6-CE81-4A7B-8B56-90E35D650A0B"): 4}),
- {u"dd9fb2b6-ce81-4a7b-8b56-90e35d650a0b": 4})
-
- def test_empty_dict(self):
- self.assertEqual(jsonutils.to_primitive({}), {})
-
- def test_datetime(self):
- x = datetime.datetime(1920, 2, 3, 4, 5, 6, 7)
- self.assertEqual(jsonutils.to_primitive(x),
- '1920-02-03T04:05:06.000007')
-
- def test_uuid(self):
- x = uuid.uuid4()
- self.assertEqual(jsonutils.to_primitive(x),
- six.text_type(x))
-
- def test_datetime_preserve(self):
- x = datetime.datetime(1920, 2, 3, 4, 5, 6, 7)
- self.assertEqual(jsonutils.to_primitive(x, convert_datetime=False), x)
-
- def test_DateTime(self):
- x = xmlrpclib.DateTime()
- x.decode("19710203T04:05:06")
- self.assertEqual(jsonutils.to_primitive(x),
- '1971-02-03T04:05:06.000000')
-
- def test_iter(self):
- class IterClass(object):
- def __init__(self):
- self.data = [1, 2, 3, 4, 5]
- self.index = 0
-
- def __iter__(self):
- return self
-
- def next(self):
- if self.index == len(self.data):
- raise StopIteration
- self.index = self.index + 1
- return self.data[self.index - 1]
- __next__ = next
-
- x = IterClass()
- self.assertEqual(jsonutils.to_primitive(x), [1, 2, 3, 4, 5])
-
- def test_iteritems(self):
- class IterItemsClass(object):
- def __init__(self):
- self.data = dict(a=1, b=2, c=3).items()
- self.index = 0
-
- def iteritems(self):
- return self.data
-
- x = IterItemsClass()
- p = jsonutils.to_primitive(x)
- self.assertEqual(p, {'a': 1, 'b': 2, 'c': 3})
-
- def test_iteritems_with_cycle(self):
- class IterItemsClass(object):
- def __init__(self):
- self.data = dict(a=1, b=2, c=3)
- self.index = 0
-
- def iteritems(self):
- return self.data.items()
-
- x = IterItemsClass()
- x2 = IterItemsClass()
- x.data['other'] = x2
- x2.data['other'] = x
-
- # If the cycle isn't caught, to_primitive() will eventually result in
- # an exception due to excessive recursion depth.
- jsonutils.to_primitive(x)
-
- def test_instance(self):
- class MysteryClass(object):
- a = 10
-
- def __init__(self):
- self.b = 1
-
- x = MysteryClass()
- self.assertEqual(jsonutils.to_primitive(x, convert_instances=True),
- dict(b=1))
-
- self.assertEqual(jsonutils.to_primitive(x), x)
-
- def test_typeerror(self):
- x = bytearray # Class, not instance
- if six.PY3:
- self.assertEqual(jsonutils.to_primitive(x), u"<class 'bytearray'>")
- else:
- self.assertEqual(jsonutils.to_primitive(x), u"<type 'bytearray'>")
-
- def test_nasties(self):
- def foo():
- pass
- x = [datetime, foo, dir]
- ret = jsonutils.to_primitive(x)
- self.assertEqual(len(ret), 3)
- self.assertTrue(ret[0].startswith(u"<module 'datetime' from ") or
- ret[0].startswith(u"<module 'datetime' (built-in)"))
- if six.PY3:
- self.assertTrue(ret[1].startswith(
- '<function ToPrimitiveTestCase.test_nasties.<locals>.foo at 0x'
- ))
- else:
- self.assertTrue(ret[1].startswith('<function foo at 0x'))
- self.assertEqual(ret[2], '<built-in function dir>')
-
- def test_depth(self):
- class LevelsGenerator(object):
- def __init__(self, levels):
- self._levels = levels
-
- def iteritems(self):
- if self._levels == 0:
- return iter([])
- else:
- return iter([(0, LevelsGenerator(self._levels - 1))])
-
- l4_obj = LevelsGenerator(4)
-
- json_l2 = {0: {0: '?'}}
- json_l3 = {0: {0: {0: '?'}}}
- json_l4 = {0: {0: {0: {0: '?'}}}}
-
- ret = jsonutils.to_primitive(l4_obj, max_depth=2)
- self.assertEqual(ret, json_l2)
-
- ret = jsonutils.to_primitive(l4_obj, max_depth=3)
- self.assertEqual(ret, json_l3)
-
- ret = jsonutils.to_primitive(l4_obj, max_depth=4)
- self.assertEqual(ret, json_l4)
-
- def test_ipaddr(self):
- thing = {'ip_addr': netaddr.IPAddress('1.2.3.4')}
- ret = jsonutils.to_primitive(thing)
- self.assertEqual({'ip_addr': '1.2.3.4'}, ret)
-
- def test_dumps_ipaddr(self):
- thing = {'ip_addr': netaddr.IPAddress('1.2.3.4')}
- ret = jsonutils.dumps(thing)
- self.assertEqual('{"ip_addr": "1.2.3.4"}', ret)
-
- def test_dump_ipaddr(self):
- thing = {'ip_addr': netaddr.IPAddress('1.2.3.4')}
- fp = six.StringIO()
- jsonutils.dump(thing, fp)
- self.assertEqual('{"ip_addr": "1.2.3.4"}', fp.getvalue())
-
- def test_message_with_param(self):
- msg = self.trans_fixture.lazy('A message with param: %s')
- msg = msg % 'test_domain'
- ret = jsonutils.to_primitive(msg)
- self.assertEqual(msg, ret)
-
- def test_message_with_named_param(self):
- msg = self.trans_fixture.lazy('A message with params: %(param)s')
- msg = msg % {'param': 'hello'}
- ret = jsonutils.to_primitive(msg)
- self.assertEqual(msg, ret)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.serialization-1.6.0/tests/test_msgpackutils.py new/oslo.serialization-1.9.0/tests/test_msgpackutils.py
--- old/oslo.serialization-1.6.0/tests/test_msgpackutils.py 2015-06-02 17:08:56.000000000 +0200
+++ new/oslo.serialization-1.9.0/tests/test_msgpackutils.py 1970-01-01 01:00:00.000000000 +0100
@@ -1,154 +0,0 @@
-# Copyright (C) 2015 Yahoo! Inc. All Rights Reserved.
-#
-# 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 datetime
-import itertools
-import sys
-import uuid
-
-import netaddr
-from oslotest import base as test_base
-from pytz import timezone
-import six
-import six.moves.xmlrpc_client as xmlrpclib
-import testtools
-
-from oslo_serialization import msgpackutils
-
-# NOTE(harlowja): itertools.count only started to take a step value
-# in python 2.7+ so we can't use it in 2.6...
-if sys.version_info[0:2] == (2, 6):
- _PY26 = True
-else:
- _PY26 = False
-
-
-_TZ_FMT = '%Y-%m-%d %H:%M:%S %Z%z'
-
-
-def _dumps_loads(obj):
- obj = msgpackutils.dumps(obj)
- return msgpackutils.loads(obj)
-
-
-class MsgPackUtilsTestMixin(test_base.BaseTestCase):
- def test_list(self):
- self.assertEqual(_dumps_loads([1, 2, 3]), [1, 2, 3])
-
- def test_empty_list(self):
- self.assertEqual(_dumps_loads([]), [])
-
- def test_tuple(self):
- # Seems like we do lose whether it was a tuple or not...
- #
- # Maybe fixed someday:
- #
- # https://github.com/msgpack/msgpack-python/issues/98
- self.assertEqual(_dumps_loads((1, 2, 3)), [1, 2, 3])
-
- def test_dict(self):
- self.assertEqual(_dumps_loads(dict(a=1, b=2, c=3)),
- dict(a=1, b=2, c=3))
-
- def test_empty_dict(self):
- self.assertEqual(_dumps_loads({}), {})
-
- def test_complex_dict(self):
- src = {
- 'now': datetime.datetime(1920, 2, 3, 4, 5, 6, 7),
- 'later': datetime.datetime(1921, 2, 3, 4, 5, 6, 9),
- 'a': 1,
- 'b': 2.0,
- 'c': [],
- 'd': set([1, 2, 3]),
- 'zzz': uuid.uuid4(),
- 'yyy': 'yyy',
- 'ddd': b'bbb',
- 'today': datetime.date.today(),
- }
- self.assertEqual(_dumps_loads(src), src)
-
- def test_itercount(self):
- it = itertools.count(1)
- six.next(it)
- six.next(it)
- it2 = _dumps_loads(it)
- self.assertEqual(six.next(it), six.next(it2))
-
- it = itertools.count(0)
- it2 = _dumps_loads(it)
- self.assertEqual(six.next(it), six.next(it2))
-
- @testtools.skipIf(_PY26, 'itertools.count step not supported')
- def test_itercount_step(self):
- it = itertools.count(1, 3)
- it2 = _dumps_loads(it)
- self.assertEqual(six.next(it), six.next(it2))
-
- def test_set(self):
- self.assertEqual(_dumps_loads(set([1, 2])), set([1, 2]))
-
- def test_empty_set(self):
- self.assertEqual(_dumps_loads(set([])), set([]))
-
- def test_frozenset(self):
- self.assertEqual(_dumps_loads(frozenset([1, 2])), frozenset([1, 2]))
-
- def test_empty_frozenset(self):
- self.assertEqual(_dumps_loads(frozenset([])), frozenset([]))
-
- def test_datetime_preserve(self):
- x = datetime.datetime(1920, 2, 3, 4, 5, 6, 7)
- self.assertEqual(_dumps_loads(x), x)
-
- def test_datetime(self):
- x = xmlrpclib.DateTime()
- x.decode("19710203T04:05:06")
- self.assertEqual(_dumps_loads(x), x)
-
- def test_ipaddr(self):
- thing = {'ip_addr': netaddr.IPAddress('1.2.3.4')}
- self.assertEqual(_dumps_loads(thing), thing)
-
- def test_today(self):
- today = datetime.date.today()
- self.assertEqual(today, _dumps_loads(today))
-
- def test_datetime_tz_clone(self):
- eastern = timezone('US/Eastern')
- now = datetime.datetime.now()
- e_dt = eastern.localize(now)
- e_dt2 = _dumps_loads(e_dt)
- self.assertEqual(e_dt, e_dt2)
- self.assertEqual(e_dt.strftime(_TZ_FMT), e_dt2.strftime(_TZ_FMT))
-
- def test_datetime_tz_different(self):
- eastern = timezone('US/Eastern')
- pacific = timezone('US/Pacific')
- now = datetime.datetime.now()
-
- e_dt = eastern.localize(now)
- p_dt = pacific.localize(now)
-
- self.assertNotEqual(e_dt, p_dt)
- self.assertNotEqual(e_dt.strftime(_TZ_FMT), p_dt.strftime(_TZ_FMT))
-
- e_dt2 = _dumps_loads(e_dt)
- p_dt2 = _dumps_loads(p_dt)
-
- self.assertNotEqual(e_dt2, p_dt2)
- self.assertNotEqual(e_dt2.strftime(_TZ_FMT), p_dt2.strftime(_TZ_FMT))
-
- self.assertEqual(e_dt, e_dt2)
- self.assertEqual(p_dt, p_dt2)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.serialization-1.6.0/tests/test_warning.py new/oslo.serialization-1.9.0/tests/test_warning.py
--- old/oslo.serialization-1.6.0/tests/test_warning.py 2015-06-02 17:08:56.000000000 +0200
+++ new/oslo.serialization-1.9.0/tests/test_warning.py 1970-01-01 01:00:00.000000000 +0100
@@ -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.serialization
- imp.reload(oslo.serialization)
- self.assertTrue(mock_warn.called)
- args = mock_warn.call_args
- self.assertIn('oslo_serialization', 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.serialization
-
- # 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.serialization.deprecated()
-
- foo()
- self.assertEqual(1, len(warning_msgs))
- msg = warning_msgs[0]
- self.assertIn('oslo_serialization', six.text_type(msg.message))
- self.assertEqual('test_warning.py', os.path.basename(msg.filename))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.serialization-1.6.0/tox.ini new/oslo.serialization-1.9.0/tox.ini
--- old/oslo.serialization-1.6.0/tox.ini 2015-06-02 17:08:56.000000000 +0200
+++ new/oslo.serialization-1.9.0/tox.ini 2015-09-08 18:00:19.000000000 +0200
@@ -35,3 +35,11 @@
show-source = True
ignore = E123,E125,H803
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
+
+[testenv:pip-missing-reqs]
+# do not install test-requirements as that will pollute the virtualenv for
+# determining missing packages
+# this also means that pip-missing-reqs must be installed separately, outside
+# of the requirements.txt files
+deps = pip_missing_reqs
+commands = pip-missing-reqs -d --ignore-module=oslo_serialization* --ignore-module=pkg_resources --ignore-file=oslo_serialization/test.py --ignore-file=oslo_serialization/tests/* oslo_serialization
\ No newline at end of file
1
0
Hello community,
here is the log from the commit of package python-oslo.utils for openSUSE:Factory checked in at 2015-10-30 13:42:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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 2015-09-09 20:20:54.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-oslo.utils.new/python-oslo.utils.changes 2015-10-30 13:42:20.000000000 +0100
@@ -1,0 +2,9 @@
+Tue Sep 15 10:27:07 UTC 2015 - tbechtold(a)suse.com
+
+- update to 2.5.0:
+ * Updated from global requirements
+ * Imported Translations from Transifex
+ * Updated from global requirements
+ * Updated from global requirements
+
+-------------------------------------------------------------------
Old:
----
oslo.utils-2.4.0.tar.gz
New:
----
oslo.utils-2.5.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.utils.spec ++++++
--- /var/tmp/diff_new_pack.1Gqemi/_old 2015-10-30 13:42:21.000000000 +0100
+++ /var/tmp/diff_new_pack.1Gqemi/_new 2015-10-30 13:42:21.000000000 +0100
@@ -17,7 +17,7 @@
Name: python-oslo.utils
-Version: 2.4.0
+Version: 2.5.0
Release: 0
Summary: Oslo utils library
License: Apache-2.0
++++++ oslo.utils-2.4.0.tar.gz -> oslo.utils-2.5.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-2.4.0/ChangeLog new/oslo.utils-2.5.0/ChangeLog
--- old/oslo.utils-2.4.0/ChangeLog 2015-08-24 23:36:26.000000000 +0200
+++ new/oslo.utils-2.5.0/ChangeLog 2015-09-08 18:00:50.000000000 +0200
@@ -1,6 +1,14 @@
CHANGES
=======
+2.5.0
+-----
+
+* Updated from global requirements
+* Imported Translations from Transifex
+* Updated from global requirements
+* Updated from global requirements
+
2.4.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-2.4.0/PKG-INFO new/oslo.utils-2.5.0/PKG-INFO
--- old/oslo.utils-2.4.0/PKG-INFO 2015-08-24 23:36:26.000000000 +0200
+++ new/oslo.utils-2.5.0/PKG-INFO 2015-09-08 18:00:50.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: oslo.utils
-Version: 2.4.0
+Version: 2.5.0
Summary: Oslo Utility library
Home-page: http://launchpad.net/oslo
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-2.4.0/oslo.utils/locale/en_GB/LC_MESSAGES/oslo.utils.po new/oslo.utils-2.5.0/oslo.utils/locale/en_GB/LC_MESSAGES/oslo.utils.po
--- old/oslo.utils-2.4.0/oslo.utils/locale/en_GB/LC_MESSAGES/oslo.utils.po 2015-08-24 23:35:55.000000000 +0200
+++ new/oslo.utils-2.5.0/oslo.utils/locale/en_GB/LC_MESSAGES/oslo.utils.po 2015-09-08 18:00:22.000000000 +0200
@@ -8,9 +8,9 @@
msgstr ""
"Project-Id-Version: oslo.utils\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2015-08-04 06:33+0000\n"
-"PO-Revision-Date: 2015-07-16 14:25+0000\n"
-"Last-Translator: openstackjenkins <jenkins(a)openstack.org>\n"
+"POT-Creation-Date: 2015-08-27 06:22+0000\n"
+"PO-Revision-Date: 2015-08-27 01:04+0000\n"
+"Last-Translator: Andi Chandler <andi(a)gowling.com>\n"
"Language-Team: English (United Kingdom) (http://www.transifex.com/openstack/"
"osloutils/language/en_GB/)\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
@@ -45,3 +45,7 @@
#, python-format
msgid "Unrecognized value '%(val)s', acceptable values are: %(acceptable)s"
msgstr "Unrecognised value '%(val)s', acceptable values are: %(acceptable)s"
+
+#, python-format
+msgid "Version %s is invalid."
+msgstr "Version %s is invalid."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-2.4.0/oslo.utils.egg-info/PKG-INFO new/oslo.utils-2.5.0/oslo.utils.egg-info/PKG-INFO
--- old/oslo.utils-2.4.0/oslo.utils.egg-info/PKG-INFO 2015-08-24 23:36:26.000000000 +0200
+++ new/oslo.utils-2.5.0/oslo.utils.egg-info/PKG-INFO 2015-09-08 18:00:50.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: oslo.utils
-Version: 2.4.0
+Version: 2.5.0
Summary: Oslo Utility library
Home-page: http://launchpad.net/oslo
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-2.4.0/oslo.utils.egg-info/pbr.json new/oslo.utils-2.5.0/oslo.utils.egg-info/pbr.json
--- old/oslo.utils-2.4.0/oslo.utils.egg-info/pbr.json 2015-08-24 23:36:26.000000000 +0200
+++ new/oslo.utils-2.5.0/oslo.utils.egg-info/pbr.json 2015-09-08 18:00:50.000000000 +0200
@@ -1 +1 @@
-{"is_release": true, "git_version": "4f1adea"}
\ No newline at end of file
+{"is_release": true, "git_version": "5f6e724"}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-2.4.0/oslo.utils.egg-info/requires.txt new/oslo.utils-2.5.0/oslo.utils.egg-info/requires.txt
--- old/oslo.utils-2.4.0/oslo.utils.egg-info/requires.txt 2015-08-24 23:36:26.000000000 +0200
+++ new/oslo.utils-2.5.0/oslo.utils.egg-info/requires.txt 2015-09-08 18:00:50.000000000 +0200
@@ -1,10 +1,10 @@
-pbr<2.0,>=1.4
+pbr<2.0,>=1.6
Babel>=1.3
six>=1.9.0
iso8601>=0.1.9
oslo.i18n>=1.5.0
monotonic>=0.3
pytz>=2013.6
-netaddr>=0.7.12
+netaddr!=0.7.16,>=0.7.12
netifaces>=0.10.4
debtcollector>=0.3.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-2.4.0/requirements.txt new/oslo.utils-2.5.0/requirements.txt
--- old/oslo.utils-2.4.0/requirements.txt 2015-08-24 23:35:55.000000000 +0200
+++ new/oslo.utils-2.5.0/requirements.txt 2015-09-08 18:00:22.000000000 +0200
@@ -7,13 +7,13 @@
# adding a new feature to oslo.utils means adding a new dependency,
# that is a likely indicator that the feature belongs somewhere else.
-pbr<2.0,>=1.4
+pbr<2.0,>=1.6
Babel>=1.3
six>=1.9.0
iso8601>=0.1.9
oslo.i18n>=1.5.0 # Apache-2.0
monotonic>=0.3 # Apache-2.0
pytz>=2013.6
-netaddr>=0.7.12
+netaddr!=0.7.16,>=0.7.12
netifaces>=0.10.4
debtcollector>=0.3.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-2.4.0/setup.cfg new/oslo.utils-2.5.0/setup.cfg
--- old/oslo.utils-2.4.0/setup.cfg 2015-08-24 23:36:26.000000000 +0200
+++ new/oslo.utils-2.5.0/setup.cfg 2015-09-08 18:00:50.000000000 +0200
@@ -52,7 +52,7 @@
universal = 1
[egg_info]
-tag_build =
tag_date = 0
tag_svn_revision = 0
+tag_build =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.utils-2.4.0/test-requirements.txt new/oslo.utils-2.5.0/test-requirements.txt
--- old/oslo.utils-2.4.0/test-requirements.txt 2015-08-24 23:35:55.000000000 +0200
+++ new/oslo.utils-2.5.0/test-requirements.txt 2015-09-08 18:00:22.000000000 +0200
@@ -25,4 +25,4 @@
mock>=1.2
# used for oslotest cross-testing scripts
-oslo.config>=2.1.0 # Apache-2.0
+oslo.config>=2.3.0 # Apache-2.0
1
0
Hello community,
here is the log from the commit of package python-oslo.i18n for openSUSE:Factory checked in at 2015-10-30 13:42:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.i18n (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.i18n.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.i18n"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.i18n/python-oslo.i18n.changes 2015-08-27 08:54:49.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-oslo.i18n.new/python-oslo.i18n.changes 2015-10-30 13:42:19.000000000 +0100
@@ -1,0 +2,9 @@
+Wed Sep 9 06:57:21 UTC 2015 - tbechtold(a)suse.com
+
+- update to 2.6.0:
+* Updated from global requirements
+* Trap formatting errors
+* Imported Translations from Transifex
+* Clean up _translate_msgid logic a bit
+
+-------------------------------------------------------------------
Old:
----
oslo.i18n-2.2.0.tar.gz
New:
----
oslo.i18n-2.6.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.i18n.spec ++++++
--- /var/tmp/diff_new_pack.5IxgUD/_old 2015-10-30 13:42:20.000000000 +0100
+++ /var/tmp/diff_new_pack.5IxgUD/_new 2015-10-30 13:42:20.000000000 +0100
@@ -19,7 +19,7 @@
%global sname oslo.i18n
Name: python-oslo.i18n
-Version: 2.2.0
+Version: 2.6.0
Release: 0
Summary: OpenStack i18n library
License: Apache-2.0
++++++ oslo.i18n-2.2.0.tar.gz -> oslo.i18n-2.6.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/AUTHORS new/oslo.i18n-2.6.0/AUTHORS
--- old/oslo.i18n-2.2.0/AUTHORS 2015-07-27 21:57:00.000000000 +0200
+++ new/oslo.i18n-2.6.0/AUTHORS 2015-09-08 17:41:43.000000000 +0200
@@ -2,6 +2,7 @@
Anderson Mesquita <andersonvom(a)gmail.com>
Andreas Jaeger <aj(a)suse.de>
Andrey Kurilin <akurilin(a)mirantis.com>
+Balazs Gibizer <balazs.gibizer(a)ericsson.com>
Ben Nemec <openstack(a)nemebean.com>
Brant Knudson <bknudson(a)us.ibm.com>
Chang Bo Guo <guochbo(a)cn.ibm.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/ChangeLog new/oslo.i18n-2.6.0/ChangeLog
--- old/oslo.i18n-2.2.0/ChangeLog 2015-07-27 21:57:00.000000000 +0200
+++ new/oslo.i18n-2.6.0/ChangeLog 2015-09-08 17:41:43.000000000 +0200
@@ -1,6 +1,32 @@
CHANGES
=======
+2.6.0
+-----
+
+* Updated from global requirements
+* Updated from global requirements
+
+2.5.0
+-----
+
+* Trap formatting errors
+
+2.4.0
+-----
+
+* Imported Translations from Transifex
+* Updated from global requirements
+* Imported Translations from Transifex
+* Updated from global requirements
+* Clean up _translate_msgid logic a bit
+
+2.3.0
+-----
+
+* Imported Translations from Transifex
+* Updated from global requirements
+
2.2.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/PKG-INFO new/oslo.i18n-2.6.0/PKG-INFO
--- old/oslo.i18n-2.2.0/PKG-INFO 2015-07-27 21:57:00.000000000 +0200
+++ new/oslo.i18n-2.6.0/PKG-INFO 2015-09-08 17:41:43.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: oslo.i18n
-Version: 2.2.0
+Version: 2.6.0
Summary: Oslo i18n library
Home-page: http://launchpad.net/oslo
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/oslo.i18n/locale/de/LC_MESSAGES/oslo.i18n.po new/oslo.i18n-2.6.0/oslo.i18n/locale/de/LC_MESSAGES/oslo.i18n.po
--- old/oslo.i18n-2.2.0/oslo.i18n/locale/de/LC_MESSAGES/oslo.i18n.po 2015-07-27 21:56:31.000000000 +0200
+++ new/oslo.i18n-2.6.0/oslo.i18n/locale/de/LC_MESSAGES/oslo.i18n.po 2015-09-08 17:41:03.000000000 +0200
@@ -4,20 +4,21 @@
#
# Translators:
# Andreas Jaeger <jaegerandi(a)gmail.com>, 2014
+# Robert Simai, 2015
msgid ""
msgstr ""
"Project-Id-Version: oslo.i18n\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2015-07-23 06:01+0000\n"
-"PO-Revision-Date: 2014-07-07 16:53+0000\n"
-"Last-Translator: Andreas Jaeger <jaegerandi(a)gmail.com>\n"
-"Language-Team: German (http://www.transifex.com/projects/p/osloi18n/language/"
+"POT-Creation-Date: 2015-08-13 06:02+0000\n"
+"PO-Revision-Date: 2015-08-12 10:58+0000\n"
+"Last-Translator: Robert Simai\n"
+"Language-Team: German (http://www.transifex.com/openstack/osloi18n/language/"
"de/)\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: Babel 1.3\n"
+"Generated-By: Babel 2.0\n"
msgid "Message objects do not support addition."
msgstr "Message-Objekt unterstützt keine Addition."
@@ -27,4 +28,4 @@
"characters. Please use unicode() or translate() instead."
msgstr ""
"Message-Objekte unterstützen str() nicht, da diese Nicht-ASCII Charackter "
-"enthalten können. Bitte benutze unicode() oder translate()."
+"enthalten können. Bitte verwenden Sie unicode() oder translate()."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/oslo.i18n/locale/en_GB/LC_MESSAGES/oslo.i18n.po new/oslo.i18n-2.6.0/oslo.i18n/locale/en_GB/LC_MESSAGES/oslo.i18n.po
--- old/oslo.i18n-2.2.0/oslo.i18n/locale/en_GB/LC_MESSAGES/oslo.i18n.po 2015-07-27 21:56:31.000000000 +0200
+++ new/oslo.i18n-2.6.0/oslo.i18n/locale/en_GB/LC_MESSAGES/oslo.i18n.po 2015-09-08 17:41:03.000000000 +0200
@@ -8,16 +8,16 @@
msgstr ""
"Project-Id-Version: oslo.i18n\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2015-07-23 06:01+0000\n"
+"POT-Creation-Date: 2015-08-04 06:16+0000\n"
"PO-Revision-Date: 2014-09-02 09:09+0000\n"
"Last-Translator: Andi Chandler <andi(a)gowling.com>\n"
-"Language-Team: English (United Kingdom) (http://www.transifex.com/projects/p/"
+"Language-Team: English (United Kingdom) (http://www.transifex.com/openstack/"
"osloi18n/language/en_GB/)\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: Babel 1.3\n"
+"Generated-By: Babel 2.0\n"
msgid "Message objects do not support addition."
msgstr "Message objects do not support addition."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/oslo.i18n/locale/es/LC_MESSAGES/oslo.i18n.po new/oslo.i18n-2.6.0/oslo.i18n/locale/es/LC_MESSAGES/oslo.i18n.po
--- old/oslo.i18n-2.2.0/oslo.i18n/locale/es/LC_MESSAGES/oslo.i18n.po 2015-07-27 21:56:31.000000000 +0200
+++ new/oslo.i18n-2.6.0/oslo.i18n/locale/es/LC_MESSAGES/oslo.i18n.po 2015-09-08 17:41:03.000000000 +0200
@@ -8,16 +8,16 @@
msgstr ""
"Project-Id-Version: oslo.i18n\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2015-07-23 06:01+0000\n"
+"POT-Creation-Date: 2015-08-04 06:16+0000\n"
"PO-Revision-Date: 2015-06-22 21:03+0000\n"
"Last-Translator: Adriana Chisco Landazábal <achisco94(a)gmail.com>\n"
-"Language-Team: Spanish (http://www.transifex.com/projects/p/osloi18n/"
-"language/es/)\n"
+"Language-Team: Spanish (http://www.transifex.com/openstack/osloi18n/language/"
+"es/)\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: Babel 1.3\n"
+"Generated-By: Babel 2.0\n"
msgid "Message objects do not support addition."
msgstr "Objectos de mensaje no soportan adición."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/oslo.i18n/locale/fr/LC_MESSAGES/oslo.i18n.po new/oslo.i18n-2.6.0/oslo.i18n/locale/fr/LC_MESSAGES/oslo.i18n.po
--- old/oslo.i18n-2.2.0/oslo.i18n/locale/fr/LC_MESSAGES/oslo.i18n.po 2015-07-27 21:56:31.000000000 +0200
+++ new/oslo.i18n-2.6.0/oslo.i18n/locale/fr/LC_MESSAGES/oslo.i18n.po 2015-09-08 17:41:03.000000000 +0200
@@ -9,16 +9,16 @@
msgstr ""
"Project-Id-Version: oslo.i18n\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2015-07-23 06:01+0000\n"
+"POT-Creation-Date: 2015-08-04 06:16+0000\n"
"PO-Revision-Date: 2014-09-25 09:36+0000\n"
"Last-Translator: Jonathan Dupart <jonathan+transifex(a)dupart.org>\n"
-"Language-Team: French (http://www.transifex.com/projects/p/osloi18n/language/"
+"Language-Team: French (http://www.transifex.com/openstack/osloi18n/language/"
"fr/)\n"
"Plural-Forms: nplurals=2; plural=(n > 1)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: Babel 1.3\n"
+"Generated-By: Babel 2.0\n"
msgid "Message objects do not support addition."
msgstr "Les objects message ne supportent pas l'ajout."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/oslo.i18n/locale/it/LC_MESSAGES/oslo.i18n.po new/oslo.i18n-2.6.0/oslo.i18n/locale/it/LC_MESSAGES/oslo.i18n.po
--- old/oslo.i18n-2.2.0/oslo.i18n/locale/it/LC_MESSAGES/oslo.i18n.po 2015-07-27 21:56:31.000000000 +0200
+++ new/oslo.i18n-2.6.0/oslo.i18n/locale/it/LC_MESSAGES/oslo.i18n.po 2015-09-08 17:41:03.000000000 +0200
@@ -8,16 +8,16 @@
msgstr ""
"Project-Id-Version: oslo.i18n\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2015-07-23 06:01+0000\n"
+"POT-Creation-Date: 2015-08-04 06:16+0000\n"
"PO-Revision-Date: 2014-08-24 11:27+0000\n"
"Last-Translator: PierAlberto <pieralbertopierini(a)gmail.com>\n"
-"Language-Team: Italian (http://www.transifex.com/projects/p/osloi18n/"
-"language/it/)\n"
+"Language-Team: Italian (http://www.transifex.com/openstack/osloi18n/language/"
+"it/)\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: Babel 1.3\n"
+"Generated-By: Babel 2.0\n"
msgid "Message objects do not support addition."
msgstr "I messaggi oggetti non supportano aggiunte."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/oslo.i18n/locale/ko_KR/LC_MESSAGES/oslo.i18n.po new/oslo.i18n-2.6.0/oslo.i18n/locale/ko_KR/LC_MESSAGES/oslo.i18n.po
--- old/oslo.i18n-2.2.0/oslo.i18n/locale/ko_KR/LC_MESSAGES/oslo.i18n.po 2015-07-27 21:56:31.000000000 +0200
+++ new/oslo.i18n-2.6.0/oslo.i18n/locale/ko_KR/LC_MESSAGES/oslo.i18n.po 2015-09-08 17:41:03.000000000 +0200
@@ -8,16 +8,16 @@
msgstr ""
"Project-Id-Version: oslo.i18n\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2015-07-23 06:01+0000\n"
+"POT-Creation-Date: 2015-08-04 06:16+0000\n"
"PO-Revision-Date: 2014-09-24 16:32+0000\n"
"Last-Translator: Sungjin Kang <potopro(a)gmail.com>\n"
-"Language-Team: Korean (Korea) (http://www.transifex.com/projects/p/osloi18n/"
+"Language-Team: Korean (Korea) (http://www.transifex.com/openstack/osloi18n/"
"language/ko_KR/)\n"
"Plural-Forms: nplurals=1; plural=0\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: Babel 1.3\n"
+"Generated-By: Babel 2.0\n"
msgid "Message objects do not support addition."
msgstr "메시지 객체는 추가 지원을하지 않습니다."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/oslo.i18n/locale/oslo.i18n-log-critical.pot new/oslo.i18n-2.6.0/oslo.i18n/locale/oslo.i18n-log-critical.pot
--- old/oslo.i18n-2.2.0/oslo.i18n/locale/oslo.i18n-log-critical.pot 2015-07-27 21:56:30.000000000 +0200
+++ new/oslo.i18n-2.6.0/oslo.i18n/locale/oslo.i18n-log-critical.pot 2015-09-08 17:41:03.000000000 +0200
@@ -1,19 +1,19 @@
# Translations template for oslo.i18n.
-# Copyright (C) 2014 ORGANIZATION
+# Copyright (C) 2015 ORGANIZATION
# This file is distributed under the same license as the oslo.i18n project.
-# FIRST AUTHOR <EMAIL@ADDRESS>, 2014.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2015.
#
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: oslo.i18n 0.1.0.6.gc9d841b\n"
+"Project-Id-Version: oslo.i18n 2.2.1.dev1\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2014-07-25 06:03+0000\n"
+"POT-Creation-Date: 2015-07-29 06:23+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: Babel 1.3\n"
+"Generated-By: Babel 2.0\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/oslo.i18n/locale/oslo.i18n-log-error.pot new/oslo.i18n-2.6.0/oslo.i18n/locale/oslo.i18n-log-error.pot
--- old/oslo.i18n-2.2.0/oslo.i18n/locale/oslo.i18n-log-error.pot 2015-07-27 21:56:30.000000000 +0200
+++ new/oslo.i18n-2.6.0/oslo.i18n/locale/oslo.i18n-log-error.pot 2015-09-08 17:41:03.000000000 +0200
@@ -1,19 +1,19 @@
# Translations template for oslo.i18n.
-# Copyright (C) 2014 ORGANIZATION
+# Copyright (C) 2015 ORGANIZATION
# This file is distributed under the same license as the oslo.i18n project.
-# FIRST AUTHOR <EMAIL@ADDRESS>, 2014.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2015.
#
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: oslo.i18n 0.1.0.6.gc9d841b\n"
+"Project-Id-Version: oslo.i18n 2.2.1.dev1\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2014-07-25 06:03+0000\n"
+"POT-Creation-Date: 2015-07-29 06:23+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: Babel 1.3\n"
+"Generated-By: Babel 2.0\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/oslo.i18n/locale/oslo.i18n-log-info.pot new/oslo.i18n-2.6.0/oslo.i18n/locale/oslo.i18n-log-info.pot
--- old/oslo.i18n-2.2.0/oslo.i18n/locale/oslo.i18n-log-info.pot 2015-07-27 21:56:30.000000000 +0200
+++ new/oslo.i18n-2.6.0/oslo.i18n/locale/oslo.i18n-log-info.pot 2015-09-08 17:41:03.000000000 +0200
@@ -1,19 +1,19 @@
# Translations template for oslo.i18n.
-# Copyright (C) 2014 ORGANIZATION
+# Copyright (C) 2015 ORGANIZATION
# This file is distributed under the same license as the oslo.i18n project.
-# FIRST AUTHOR <EMAIL@ADDRESS>, 2014.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2015.
#
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: oslo.i18n 0.1.0.6.gc9d841b\n"
+"Project-Id-Version: oslo.i18n 2.2.1.dev1\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2014-07-25 06:03+0000\n"
+"POT-Creation-Date: 2015-07-29 06:23+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: Babel 1.3\n"
+"Generated-By: Babel 2.0\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/oslo.i18n/locale/oslo.i18n-log-warning.pot new/oslo.i18n-2.6.0/oslo.i18n/locale/oslo.i18n-log-warning.pot
--- old/oslo.i18n-2.2.0/oslo.i18n/locale/oslo.i18n-log-warning.pot 2015-07-27 21:56:30.000000000 +0200
+++ new/oslo.i18n-2.6.0/oslo.i18n/locale/oslo.i18n-log-warning.pot 2015-09-08 17:41:03.000000000 +0200
@@ -1,19 +1,19 @@
# Translations template for oslo.i18n.
-# Copyright (C) 2014 ORGANIZATION
+# Copyright (C) 2015 ORGANIZATION
# This file is distributed under the same license as the oslo.i18n project.
-# FIRST AUTHOR <EMAIL@ADDRESS>, 2014.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2015.
#
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: oslo.i18n 0.1.0.6.gc9d841b\n"
+"Project-Id-Version: oslo.i18n 2.2.1.dev1\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2014-07-25 06:03+0000\n"
+"POT-Creation-Date: 2015-07-29 06:23+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: Babel 1.3\n"
+"Generated-By: Babel 2.0\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/oslo.i18n/locale/oslo.i18n.pot new/oslo.i18n-2.6.0/oslo.i18n/locale/oslo.i18n.pot
--- old/oslo.i18n-2.2.0/oslo.i18n/locale/oslo.i18n.pot 2015-07-27 21:56:30.000000000 +0200
+++ new/oslo.i18n-2.6.0/oslo.i18n/locale/oslo.i18n.pot 2015-09-08 17:41:03.000000000 +0200
@@ -1,27 +1,27 @@
# Translations template for oslo.i18n.
-# Copyright (C) 2014 ORGANIZATION
+# Copyright (C) 2015 ORGANIZATION
# This file is distributed under the same license as the oslo.i18n project.
-# FIRST AUTHOR <EMAIL@ADDRESS>, 2014.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2015.
#
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: oslo.i18n 73d16d8\n"
+"Project-Id-Version: oslo.i18n 2.2.1.dev1\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2014-06-05 22:20+0200\n"
+"POT-Creation-Date: 2015-07-29 06:23+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL(a)li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: Babel 1.3\n"
+"Generated-By: Babel 2.0\n"
-#: oslo/i18n/gettextutils.py:315
+#: oslo_i18n/_message.py:194
msgid "Message objects do not support addition."
msgstr ""
-#: oslo/i18n/gettextutils.py:325
+#: oslo_i18n/_message.py:205
msgid ""
"Message objects do not support str() because they may contain non-ascii "
"characters. Please use unicode() or translate() instead."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/oslo.i18n/locale/pl_PL/LC_MESSAGES/oslo.i18n.po new/oslo.i18n-2.6.0/oslo.i18n/locale/pl_PL/LC_MESSAGES/oslo.i18n.po
--- old/oslo.i18n-2.2.0/oslo.i18n/locale/pl_PL/LC_MESSAGES/oslo.i18n.po 2015-07-27 21:56:31.000000000 +0200
+++ new/oslo.i18n-2.6.0/oslo.i18n/locale/pl_PL/LC_MESSAGES/oslo.i18n.po 2015-09-08 17:41:03.000000000 +0200
@@ -8,17 +8,17 @@
msgstr ""
"Project-Id-Version: oslo.i18n\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2015-07-23 06:01+0000\n"
+"POT-Creation-Date: 2015-08-04 06:16+0000\n"
"PO-Revision-Date: 2014-08-21 11:28+0000\n"
"Last-Translator: Łukasz Jernaś <deejay1(a)srem.org>\n"
-"Language-Team: Polish (Poland) (http://www.transifex.com/projects/p/osloi18n/"
+"Language-Team: Polish (Poland) (http://www.transifex.com/openstack/osloi18n/"
"language/pl_PL/)\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: Babel 1.3\n"
+"Generated-By: Babel 2.0\n"
msgid "Message objects do not support addition."
msgstr "Obiekty Message nie wspierają dodawania."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/oslo.i18n/locale/pt/LC_MESSAGES/oslo.i18n.po new/oslo.i18n-2.6.0/oslo.i18n/locale/pt/LC_MESSAGES/oslo.i18n.po
--- old/oslo.i18n-2.2.0/oslo.i18n/locale/pt/LC_MESSAGES/oslo.i18n.po 1970-01-01 01:00:00.000000000 +0100
+++ new/oslo.i18n-2.6.0/oslo.i18n/locale/pt/LC_MESSAGES/oslo.i18n.po 2015-09-08 17:41:03.000000000 +0200
@@ -0,0 +1,30 @@
+# Portuguese translations for oslo.i18n.
+# Copyright (C) 2015 ORGANIZATION
+# This file is distributed under the same license as the oslo.i18n project.
+#
+# Translators:
+# MMSRS, 2015
+msgid ""
+msgstr ""
+"Project-Id-Version: oslo.i18n\n"
+"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
+"POT-Creation-Date: 2015-08-13 06:02+0000\n"
+"PO-Revision-Date: 2015-08-11 17:02+0000\n"
+"Last-Translator: MMSRS\n"
+"Language-Team: Portuguese (http://www.transifex.com/openstack/osloi18n/"
+"language/pt/)\n"
+"Plural-Forms: nplurals=2; plural=(n != 1)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Generated-By: Babel 2.0\n"
+
+msgid "Message objects do not support addition."
+msgstr "Os objetos de mensagem não suportam a adição."
+
+msgid ""
+"Message objects do not support str() because they may contain non-ascii "
+"characters. Please use unicode() or translate() instead."
+msgstr ""
+"Os objetos de mensagem não suportam str() porque eles poderão conter "
+"carateres não ascii. Por favor, use unicode() ou translate()."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/oslo.i18n/locale/zh_CN/LC_MESSAGES/oslo.i18n.po new/oslo.i18n-2.6.0/oslo.i18n/locale/zh_CN/LC_MESSAGES/oslo.i18n.po
--- old/oslo.i18n-2.2.0/oslo.i18n/locale/zh_CN/LC_MESSAGES/oslo.i18n.po 2015-07-27 21:56:31.000000000 +0200
+++ new/oslo.i18n-2.6.0/oslo.i18n/locale/zh_CN/LC_MESSAGES/oslo.i18n.po 2015-09-08 17:41:03.000000000 +0200
@@ -8,16 +8,16 @@
msgstr ""
"Project-Id-Version: oslo.i18n\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2015-07-23 06:01+0000\n"
+"POT-Creation-Date: 2015-08-04 06:16+0000\n"
"PO-Revision-Date: 2014-11-20 00:40+0000\n"
"Last-Translator: Xiao Xi LIU <liuxx(a)cn.ibm.com>\n"
-"Language-Team: Chinese (China) (http://www.transifex.com/projects/p/osloi18n/"
+"Language-Team: Chinese (China) (http://www.transifex.com/openstack/osloi18n/"
"language/zh_CN/)\n"
"Plural-Forms: nplurals=1; plural=0\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Generated-By: Babel 1.3\n"
+"Generated-By: Babel 2.0\n"
msgid "Message objects do not support addition."
msgstr "消息对象不支持添加操作。"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/oslo.i18n.egg-info/PKG-INFO new/oslo.i18n-2.6.0/oslo.i18n.egg-info/PKG-INFO
--- old/oslo.i18n-2.2.0/oslo.i18n.egg-info/PKG-INFO 2015-07-27 21:57:00.000000000 +0200
+++ new/oslo.i18n-2.6.0/oslo.i18n.egg-info/PKG-INFO 2015-09-08 17:41:43.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: oslo.i18n
-Version: 2.2.0
+Version: 2.6.0
Summary: Oslo i18n library
Home-page: http://launchpad.net/oslo
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/oslo.i18n.egg-info/SOURCES.txt new/oslo.i18n-2.6.0/oslo.i18n.egg-info/SOURCES.txt
--- old/oslo.i18n-2.2.0/oslo.i18n.egg-info/SOURCES.txt 2015-07-27 21:57:00.000000000 +0200
+++ new/oslo.i18n-2.6.0/oslo.i18n.egg-info/SOURCES.txt 2015-09-08 17:41:43.000000000 +0200
@@ -42,6 +42,7 @@
oslo.i18n/locale/it/LC_MESSAGES/oslo.i18n.po
oslo.i18n/locale/ko_KR/LC_MESSAGES/oslo.i18n.po
oslo.i18n/locale/pl_PL/LC_MESSAGES/oslo.i18n.po
+oslo.i18n/locale/pt/LC_MESSAGES/oslo.i18n.po
oslo.i18n/locale/zh_CN/LC_MESSAGES/oslo.i18n.po
oslo_i18n/__init__.py
oslo_i18n/_factory.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/oslo.i18n.egg-info/pbr.json new/oslo.i18n-2.6.0/oslo.i18n.egg-info/pbr.json
--- old/oslo.i18n-2.2.0/oslo.i18n.egg-info/pbr.json 2015-07-27 21:57:00.000000000 +0200
+++ new/oslo.i18n-2.6.0/oslo.i18n.egg-info/pbr.json 2015-09-08 17:41:43.000000000 +0200
@@ -1 +1 @@
-{"is_release": true, "git_version": "cefa610"}
\ No newline at end of file
+{"is_release": true, "git_version": "4417d33"}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/oslo.i18n.egg-info/requires.txt new/oslo.i18n-2.6.0/oslo.i18n.egg-info/requires.txt
--- old/oslo.i18n-2.2.0/oslo.i18n.egg-info/requires.txt 2015-07-27 21:57:00.000000000 +0200
+++ new/oslo.i18n-2.6.0/oslo.i18n.egg-info/requires.txt 2015-09-08 17:41:43.000000000 +0200
@@ -1,3 +1,3 @@
-pbr<2.0,>=1.3
+pbr<2.0,>=1.6
Babel>=1.3
six>=1.9.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/oslo_i18n/_message.py new/oslo.i18n-2.6.0/oslo_i18n/_message.py
--- old/oslo.i18n-2.2.0/oslo_i18n/_message.py 2015-07-27 21:56:30.000000000 +0200
+++ new/oslo.i18n-2.6.0/oslo_i18n/_message.py 2015-09-08 17:41:03.000000000 +0200
@@ -19,6 +19,7 @@
import copy
import gettext
import locale
+import logging
import os
import six
@@ -30,6 +31,9 @@
CONTEXT_SEPARATOR = "\x04"
+LOG = logging.getLogger(__name__)
+
+
class Message(six.text_type):
"""A Message object is a unicode object that can be translated.
@@ -90,9 +94,7 @@
translated_params = _translate.translate_args(self.params,
desired_locale)
- translated_message = translated_message % translated_params
-
- return translated_message
+ return self._safe_translate(translated_message, translated_params)
@staticmethod
def _translate_msgid(msgid, domain, desired_locale=None,
@@ -110,15 +112,17 @@
languages=[desired_locale],
fallback=True)
- # Primary translation function
if not has_contextual_form and not has_plural_form:
+ # This is the most common case, so check it first.
translator = lang.gettext if six.PY3 else lang.ugettext
-
translated_message = translator(msgid)
- return translated_message
- # Contextual translation function
- if has_contextual_form and not has_plural_form:
+ elif has_contextual_form and has_plural_form:
+ # Reserved for contextual and plural translation function,
+ # which is not yet implemented.
+ raise ValueError("Unimplemented.")
+
+ elif has_contextual_form:
(msgctx, msgtxt) = msgid
translator = lang.gettext if six.PY3 else lang.ugettext
@@ -126,31 +130,42 @@
translated_message = translator(msg_with_ctx)
if CONTEXT_SEPARATOR in translated_message:
- # Translation not found
+ # Translation not found, use the original text
translated_message = msgtxt
- return translated_message
-
- # Plural translation function
- if not has_contextual_form and has_plural_form:
+ elif has_plural_form:
(msgsingle, msgplural, msgcount) = msgid
translator = lang.ngettext if six.PY3 else lang.ungettext
-
translated_message = translator(msgsingle, msgplural, msgcount)
- return translated_message
- # Reserved for contextual and plural translation function
- if has_contextual_form and has_plural_form:
- raise ValueError("Unimplemented.")
+ return translated_message
- raise TypeError("Unknown msgid type.")
+ def _safe_translate(self, translated_message, translated_params):
+ try:
+ translated_message = translated_message % translated_params
+ except (KeyError, TypeError) as err:
+ # KeyError for parameters named in the translated_message
+ # but not found in translated_params and TypeError for
+ # type strings that do not match the type of the
+ # parameter.
+ #
+ # Log the error translating the message and use the
+ # original message string so the translator's bad message
+ # catalog doesn't break the caller.
+ LOG.debug(
+ (u'Failed to insert replacement values into translated '
+ u'message %s (Original: %r): %s'),
+ translated_message, self.msgid, err)
+ translated_message = self.msgid % translated_params
+
+ return translated_message
def __mod__(self, other):
# When we mod a Message we want the actual operation to be performed
# by the parent class (i.e. unicode()), the only thing we do here is
# save the original msgid and the parameters in case of a translation
params = self._sanitize_mod_params(other)
- unicode_mod = super(Message, self).__mod__(params)
+ unicode_mod = self._safe_translate(six.text_type(self), params)
modded = Message(self.msgid,
msgtext=unicode_mod,
params=params,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/oslo_i18n/tests/test_message.py new/oslo.i18n-2.6.0/oslo_i18n/tests/test_message.py
--- old/oslo.i18n-2.2.0/oslo_i18n/tests/test_message.py 2015-07-27 21:56:30.000000000 +0200
+++ new/oslo.i18n-2.6.0/oslo_i18n/tests/test_message.py 2015-09-08 17:41:03.000000000 +0200
@@ -157,6 +157,41 @@
self.assertEqual(expected, result)
self.assertEqual(expected, result.translate())
+ def test_mod_with_wrong_field_type_in_trans(self):
+ msgid = "Correct type %(arg1)s"
+ params = {'arg1': 'test1'}
+ with mock.patch('gettext.translation') as trans:
+ # Set up ugettext to return the original message with the
+ # correct format string.
+ trans.return_value.ugettext.return_value = msgid
+ # Build a message and give it some parameters.
+ result = _message.Message(msgid) % params
+ # Now set up ugettext to return the translated version of
+ # the original message, with a bad format string.
+ wrong_type = u'Wrong type %(arg1)d'
+ if six.PY3:
+ trans.return_value.gettext.return_value = wrong_type
+ else:
+ trans.return_value.ugettext.return_value = wrong_type
+ trans_result = result.translate()
+ expected = msgid % params
+ self.assertEqual(expected, trans_result)
+
+ def test_mod_with_wrong_field_type(self):
+ msgid = "Test that we handle unused args %(arg1)d"
+ params = {'arg1': 'test1'}
+
+ self.assertRaises(TypeError, lambda: _message.Message(msgid) % params)
+
+ def test_mod_with_missing_arg(self):
+ msgid = "Test that we handle missing args %(arg1)s %(arg2)s"
+ params = {'arg1': 'test1'}
+
+ e = self.assertRaises(KeyError,
+ lambda: _message.Message(msgid) % params)
+ self.assertIn('arg2', six.text_type(e),
+ 'Missing key \'arg2\' was not flagged')
+
def test_mod_with_integer_parameters(self):
msgid = "Some string with params: %d"
params = [0, 1, 10, 24124]
@@ -258,16 +293,6 @@
# Make sure unused params still there
self.assertEqual(result.params.keys(), params.keys())
- def test_mod_with_missing_named_parameters(self):
- msgid = ("Some string with params: %(param1)s %(param2)s"
- " and a missing one %(missing)s")
- params = {'param1': 'test',
- 'param2': 'test2'}
-
- test_me = lambda: _message.Message(msgid) % params
- # Just like with strings missing named parameters raise KeyError
- self.assertRaises(KeyError, test_me)
-
def test_add_disabled(self):
msgid = "A message"
test_me = lambda: _message.Message(msgid) + ' some string'
@@ -353,6 +378,59 @@
self.assertEqual(default_translation, msg.translate('XX'))
@mock.patch('gettext.translation')
+ @mock.patch('oslo_i18n._message.LOG')
+ def test_translate_message_bad_translation(self, mock_log,
+ mock_translation):
+ message_with_params = 'A message: %s'
+ es_translation = 'A message in Spanish: %s %s'
+ param = 'A Message param'
+
+ translations = {message_with_params: es_translation}
+ translator = fakes.FakeTranslations.translator({'es': translations})
+ mock_translation.side_effect = translator
+
+ msg = _message.Message(message_with_params)
+ msg = msg % param
+ self.assertFalse(mock_log.debug.called)
+
+ default_translation = message_with_params % param
+ self.assertEqual(default_translation, msg.translate('es'))
+ mock_log.debug.assert_called_with(('Failed to insert replacement '
+ 'values into translated message %s '
+ '(Original: %r): %s'),
+ es_translation,
+ message_with_params,
+ mock.ANY)
+
+ @mock.patch('gettext.translation')
+ @mock.patch('locale.getdefaultlocale', return_value=('es', ''))
+ @mock.patch('oslo_i18n._message.LOG')
+ def test_translate_message_bad_default_translation(self, mock_log,
+ mock_local,
+ mock_translation):
+ message_with_params = 'A message: %s'
+ es_translation = 'A message in Spanish: %s %s'
+ param = 'A Message param'
+
+ translations = {message_with_params: es_translation}
+ translator = fakes.FakeTranslations.translator({'es': translations})
+ mock_translation.side_effect = translator
+
+ msg = _message.Message(message_with_params)
+ msg = msg % param
+ mock_log.debug.assert_called_with(('Failed to insert replacement '
+ 'values into translated message %s '
+ '(Original: %r): %s'),
+ es_translation,
+ message_with_params,
+ mock.ANY)
+ mock_log.reset_mock()
+
+ default_translation = message_with_params % param
+ self.assertEqual(default_translation, msg)
+ self.assertFalse(mock_log.debug.called)
+
+ @mock.patch('gettext.translation')
def test_translate_message_with_object_param(self, mock_translation):
message_with_params = 'A message: %s'
es_translation = 'A message in Spanish: %s'
@@ -516,3 +594,73 @@
# Translation into other locales still works
self.assertEqual(zh_translation, msg.translate('zh'))
self.assertEqual(fr_translation, msg.translate('fr'))
+
+
+class TranslateMsgidTest(test_base.BaseTestCase):
+
+ @mock.patch('gettext.translation')
+ def test_contextual(self, translation):
+ lang = mock.Mock()
+ translation.return_value = lang
+ trans = mock.Mock()
+ trans.return_value = 'translated'
+ lang.gettext = trans
+ lang.ugettext = trans
+ result = _message.Message._translate_msgid(
+ ('context', 'message'),
+ domain='domain',
+ has_contextual_form=True,
+ has_plural_form=False,
+ )
+ self.assertEqual('translated', result)
+ trans.assert_called_with(
+ 'context' + _message.CONTEXT_SEPARATOR + 'message'
+ )
+
+ @mock.patch('gettext.translation')
+ def test_contextual_untranslatable(self, translation):
+ msg_with_context = 'context' + _message.CONTEXT_SEPARATOR + 'message'
+ lang = mock.Mock()
+ translation.return_value = lang
+ trans = mock.Mock()
+ trans.return_value = msg_with_context
+ lang.gettext = trans
+ lang.ugettext = trans
+ result = _message.Message._translate_msgid(
+ ('context', 'message'),
+ domain='domain',
+ has_contextual_form=True,
+ has_plural_form=False,
+ )
+ self.assertEqual('message', result)
+ trans.assert_called_with(msg_with_context)
+
+ @mock.patch('gettext.translation')
+ def test_plural(self, translation):
+ lang = mock.Mock()
+ translation.return_value = lang
+ trans = mock.Mock()
+ trans.return_value = 'translated'
+ lang.ngettext = trans
+ lang.ungettext = trans
+ result = _message.Message._translate_msgid(
+ ('single', 'plural', -1),
+ domain='domain',
+ has_contextual_form=False,
+ has_plural_form=True,
+ )
+ self.assertEqual('translated', result)
+ trans.assert_called_with(
+ 'single', 'plural', -1,
+ )
+
+ @mock.patch('gettext.translation')
+ def test_contextual_and_plural(self, translation):
+ self.assertRaises(
+ ValueError,
+ _message.Message._translate_msgid,
+ 'nothing',
+ domain='domain',
+ has_contextual_form=True,
+ has_plural_form=True,
+ )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/requirements.txt new/oslo.i18n-2.6.0/requirements.txt
--- old/oslo.i18n-2.2.0/requirements.txt 2015-07-27 21:56:31.000000000 +0200
+++ new/oslo.i18n-2.6.0/requirements.txt 2015-09-08 17:41:03.000000000 +0200
@@ -2,6 +2,6 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-pbr<2.0,>=1.3
+pbr<2.0,>=1.6
Babel>=1.3
six>=1.9.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslo.i18n-2.2.0/test-requirements.txt new/oslo.i18n-2.6.0/test-requirements.txt
--- old/oslo.i18n-2.2.0/test-requirements.txt 2015-07-27 21:56:31.000000000 +0200
+++ new/oslo.i18n-2.6.0/test-requirements.txt 2015-09-08 17:41:03.000000000 +0200
@@ -8,8 +8,8 @@
oslosphinx>=2.5.0 # Apache-2.0
mock>=1.2
-oslotest>=1.7.0 # Apache-2.0
+oslotest>=1.10.0 # Apache-2.0
coverage>=3.6
# for pre-release tests
-oslo.config>=1.11.0 # Apache-2.0
+oslo.config>=2.3.0 # Apache-2.0
1
0
Hello community,
here is the log from the commit of package python-taskflow for openSUSE:Factory checked in at 2015-10-30 13:42:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-taskflow (Old)
and /work/SRC/openSUSE:Factory/.python-taskflow.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-taskflow"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-taskflow/python-taskflow.changes 2015-08-27 08:57:04.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-taskflow.new/python-taskflow.changes 2015-10-30 13:42:18.000000000 +0100
@@ -1,0 +2,27 @@
+Thu Sep 10 14:32:04 UTC 2015 - seife+obs(a)b1-systems.com
+
+- fix version in spec file so that it actually can build
+
+-------------------------------------------------------------------
+Wed Sep 9 06:45:03 UTC 2015 - tbechtold(a)suse.com
+
+- update to 1.20.0:
+ * Updated from global requirements
+ * Add nicely made task structural diagram
+ * Updated from global requirements
+ * Fix busted stevedore doc(s) link
+ * Improve docstrings in graph flow to denote exceptions raised
+ * Enable testr OS_DEBUG to be TRACE(blather) by default
+ * Updated from global requirements
+ * Show intermediary compilation(s) when BLATHER is enabled
+ * Give the GC more of a break with regard to cycles
+ * Base class for deciders
+ * Remove extra runner layer and just use use machine in engine
+ * Updated from global requirements
+ * .gitignore update
+ * Avoid adding 1 to a failure (if it gets triggered)
+ * Replace the tree 'pformat()' recursion with non-recursive variant
+ * Fix seven typos and one readability on taskflow documentation
+- adjust Requires according to requirements.txt
+
+-------------------------------------------------------------------
Old:
----
taskflow-1.17.0.tar.gz
New:
----
taskflow-1.20.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-taskflow.spec ++++++
--- /var/tmp/diff_new_pack.UHR1o4/_old 2015-10-30 13:42:19.000000000 +0100
+++ /var/tmp/diff_new_pack.UHR1o4/_new 2015-10-30 13:42:19.000000000 +0100
@@ -17,7 +17,7 @@
Name: python-taskflow
-Version: 1.17.0
+Version: 1.20.0
Release: 0
Summary: Taskflow structured state management library
License: Apache-2.0
@@ -41,8 +41,8 @@
BuildRequires: python-testtools
BuildRequires: python-zake
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Requires: python-alembic >= 0.7.2
-Requires: python-automaton >= 0.2.0
+Requires: python-alembic >= 0.8.0
+Requires: python-automaton >= 0.5.0
Requires: python-cachetools >= 1.0.0
Requires: python-contextlib2 >= 0.4.0
Requires: python-debtcollector >= 0.3.0
@@ -51,10 +51,10 @@
Requires: python-futures >= 3.0
Requires: python-futurist >= 0.1.2
Requires: python-jsonschema >= 2.0.0
-Requires: python-monotonic >= 0.1
-Requires: python-networkx >= 1.8
+Requires: python-monotonic >= 0.3
+Requires: python-networkx >= 1.10
Requires: python-oslo.serialization >= 1.4.0
-Requires: python-oslo.utils >= 1.9.0
+Requires: python-oslo.utils >= 2.0.0
Requires: python-six >= 1.9.0
Requires: python-stevedore >= 1.5.0
++++++ taskflow-1.17.0.tar.gz -> taskflow-1.20.0.tar.gz ++++++
++++ 3066 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package python-troveclient for openSUSE:Factory checked in at 2015-10-30 13:42:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-troveclient (Old)
and /work/SRC/openSUSE:Factory/.python-troveclient.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-troveclient"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-troveclient/python-troveclient.changes 2014-10-22 16:22:37.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-troveclient.new/python-troveclient.changes 2015-10-30 13:42:16.000000000 +0100
@@ -1,0 +2,75 @@
+Tue Sep 15 08:08:56 UTC 2015 - tbechtold(a)suse.com
+
+- update to 1.3.0:
+ * Updated from global requirements
+ * Root enablement for Vertica clusters/instances
+ * Use more appropriate exceptions for validation
+ * Redis Clustering Initial Implementation
+ * Revert "Root enablement for Vertica clusters/instances"
+ * Implements Datastore Registration API
+ * Root enablement for Vertica clusters/instances
+ * Updated from global requirements
+ * Updated from global requirements
+ * Add a --marker argument to the backup commands
+ * Fixed missing periods in positional arguments
+ * Updated from global requirements
+ * Updated from global requirements
+ * Updated from global requirements
+ * Error message on cluster-create is misleading
+ * Make subcommands accept flavor name and cluster name
+ * Fix flavor-show problems with UUID
+ * Updated from global requirements
+ * Allow a user to pass an insecure environment variable
+ * Updated from global requirements
+ * Added more unit-tests to improve code coverage
+ * Updated from global requirements
+ * Fixes the non-existent exception NoTokenLookupException
+ * Fixes new hacking rules
+ * Updated coverage related options to project
+ * Updated from global requirements
+ * Drop use of 'oslo' namespace package
+ * Updated from global requirements
+ * Corrects order of parameters to assertEqual
+ * Update README to work with release tools
+ * Uncap library requirements for liberty
+ * Fixes unit-test in troveclient
+ * Add test to DatastoreVersionMembers
+ * Updated from global requirements
+ * Replication V2
+ * Add coverage library
+ * Fixed issues while using --bypass-url
+ * Clean up remaining references to TROVE_URL
+ * Correct order of parameters to assertEqual
+ * Updated from global requirements
+ * Changed documentation for datastore parameter for configuration-create
+ * Fix grammatical errors in profiler messages
+ * TroveClient API Documentation cleanup
+ * Updated from global requirements
+ * Show '-' for size when volume support disabled
+ * Handle obsolete and unused oslo modules
+ * Fixed typo in exception message
+ * Pass all kwargs through to adapter
+ * default endpoint_type to 'publicURL'
+ * Fallback to flavor's str_id when id is None
+ * Add profiling support to Trove client
+ * Remove RAX-specific auth in troveclient
+ * Add instance name as parameter to CLI
+ * Associate flavor types with datastore versions
+ * Workflow documentation is now in infra-manual
+ * Updated from global requirements
+ * Fixes client to send 0 for min/max size
+ * Adds support for Keystone V3 API
+ * Updated from global requirements
+ * Reverse fix for 1323866 as it regressed trove CLI
+ * Adds support for Keystone V3 API
+ * Updated from global requirements
+ * Fixed typo in doc/source
+ * Fixes trove show output
+ * Updated from global requirements
+ * Fix universal wheel support
+ * Use OpenStack branding for trove client
+ * Fix Cluster-Create and Cluster-Show Response
+- Add python-requires to _service file
+- Adjust Requires according to requirements.txt
+
+-------------------------------------------------------------------
Old:
----
python-troveclient-1.0.7.tar.gz
New:
----
python-troveclient-1.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-troveclient.spec ++++++
--- /var/tmp/diff_new_pack.R1o3fI/_old 2015-10-30 13:42:16.000000000 +0100
+++ /var/tmp/diff_new_pack.R1o3fI/_new 2015-10-30 13:42:16.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-troveclient
#
-# 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
@@ -19,7 +19,7 @@
%define component troveclient
Name: python-troveclient
-Version: 1.0.7
+Version: 1.3.0
Release: 0
Summary: Openstack Object DbaaS (Trove) API Client
License: Apache-2.0
@@ -35,11 +35,14 @@
BuildRequires: python-Babel
BuildRequires: python-PrettyTable >= 0.6
BuildRequires: python-httplib2
+BuildRequires: python-keystoneclient
BuildRequires: python-mock >= 1.0
BuildRequires: python-requests >= 1.1
+BuildRequires: python-requests-mock
BuildRequires: python-simplejson >= 2.0.9
BuildRequires: python-six
BuildRequires: python-testrepository >= 0.0.17
+BuildRequires: python-testscenarios
BuildRequires: python-testtools >= 0.9.32
#NOTE(saschpe): Compat client code, not used in production:
BuildRequires: python-httplib2
@@ -47,10 +50,12 @@
#NOTE(saschpe): End Compat client code, not used in production:
Requires: python >= 2.6.8
Requires: python-PrettyTable >= 0.7
-Requires: python-pbr >= 0.6
-Requires: python-requests >= 1.2.1
-Requires: python-simplejson >= 2.2
-Requires: python-six >= 1.7
+Requires: python-keystoneclient >= 1.6.0
+Requires: python-oslo.utils >= 2.0.0
+Requires: python-pbr >= 1.6
+Requires: python-requests >= 2.5.2
+Requires: python-simplejson >= 2.2.0
+Requires: python-six >= 1.9.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
BuildRequires: python-discover
++++++ _service ++++++
--- /var/tmp/diff_new_pack.R1o3fI/_old 2015-10-30 13:42:17.000000000 +0100
+++ /var/tmp/diff_new_pack.R1o3fI/_new 2015-10-30 13:42:17.000000000 +0100
@@ -1,10 +1,12 @@
<services>
- <service mode="disabled" name="download_files">
+ <service mode="disabled" name="download_files">
<param name="changesgenerate">enable</param>
</service>
<service mode="disabled" name="set_version">
<param name="basename">python-troveclient</param>
</service>
+ <service mode="disabled" name="python_requires">
+ </service>
<service name="refresh_patches" mode="disabled">
<param name="changesgenerate">enable</param>
</service>
++++++ python-troveclient-1.0.7.tar.gz -> python-troveclient-1.3.0.tar.gz ++++++
++++ 6023 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package python-designateclient for openSUSE:Factory checked in at 2015-10-30 13:42:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-designateclient (Old)
and /work/SRC/openSUSE:Factory/.python-designateclient.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-designateclient"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-designateclient/python-designateclient.changes 2015-07-12 22:52:33.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-designateclient.new/python-designateclient.changes 2015-10-30 13:42:14.000000000 +0100
@@ -1,0 +2,89 @@
+Sun Oct 4 07:30:30 UTC 2015 - tbechtold(a)suse.com
+
+- update to 1.5.0:
+ * Updated from global requirements
+ * Add formatting of output data
+ * Added appropriate error message for designate cli
+ * Meaningful Exception for over-quota on domains
+ * Added test cases for reports in designateclient
+ * Added diagnostics,sync and touch test cases for v1 designateclient
+ * V2 CLI Support
+ * Added quotas and servers test cases for designateclient
+ * Added test cases for designate v1 client
+ * Make is so exceptions have some message
+ * Updated from global requirements
+ * Update github's URL
+ * Updated from global requirements
+ * Implement socket timeout in v1
+ * Don't wildcard resolve names
+ * Updated from global requirements
+ * Updated from global requirements
+ * Improve help strings
+
+-------------------------------------------------------------------
+Fri Sep 25 07:13:49 UTC 2015 - dmueller(a)suse.com
+
+- add license
+
+-------------------------------------------------------------------
+Mon Sep 14 09:33:56 UTC 2015 - tbechtold(a)suse.com
+
+- update to 1.4.0:
+ * Convert byte to str for py3 compatibilty
+ * Updated from global requirements
+ * Updated from global requirements
+ * Add some missing Unit Tests to test_utils.py
+ * Solve some py3 compatibilty issues
+ * Fix py3 compatibilty issues
+ * Updated from global requirements
+ * Replacing print with print() to provide py 2/3 compatibility
+ * Updated from global requirements
+ * Updated from global requirements
+ * Fix for ttl values
+ * Log error message from EndpointNotFound exceptions
+ * Removed peronal email address from example
+ * Updated from global requirements
+ * Fix backwards compat for edit_managed/all_tenants
+ * Add .eggs to gitignore
+ * Add backwards compat for edit_managed/all_tenants
+ * Updated from global requirements
+ * Updated from global requirements
+ * Updated from global requirements
+ * Update github link
+ * Sync tox.ini and add py34
+ * Use oslosphinx from PyPi
+ * Drop incubating theme from docs
+ * Move all_tenants and edit_managed attributes to designate Client
+ * Log a more informative error upon EndpointNotFound
+ * Updated from global requirements
+ * V2 Bindings
+ * Add --edit-managed flag to cli
+ * Updated from global requirements
+ * Allow relative names in record-create
+ * Update README to work with release tools
+ * Uncap library requirements for liberty
+ * Allow to use domain names instead of ids
+ * Updated from global requirements
+ * Added extra previllege to list all domains from all tenants
+ * Updated from global requirements
+ * Updated from global requirements
+ * Fix if checking on ttl for Create/Update commands
+ * Updated from global requirements
+ * Workflow documentation is now in infra-manual
+ * Refactor KS session creation and support CA certs
+ * Move some useful code outside v1
+ * Make token + endpoints work correctly
+ * Move session creation up to shell
+ * Set defaults for endpoint_type and service_type
+ * Updated from global requirements
+ * Use keystone sessions for v1 client
+ * Fixes homepage in metadata and internal docs
+ * Updated from global requirements
+ * Updated from global requirements
+ * Fixes pypi tarball not delivering Apache 2.0 LICENSE file
+ * Updated from global requirements
+ * Updated from global requirements
+- Adjust Requires according to requirements.txt
+- Add python_requires to _service file
+
+-------------------------------------------------------------------
Old:
----
python-designateclient-1.1.0.tar.gz
New:
----
python-designateclient-1.5.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-designateclient.spec ++++++
--- /var/tmp/diff_new_pack.E21G6I/_old 2015-10-30 13:42:15.000000000 +0100
+++ /var/tmp/diff_new_pack.E21G6I/_new 2015-10-30 13:42:15.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-designateclient
#
-# 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
@@ -18,7 +18,7 @@
%define component designateclient
Name: python-%{component}
-Version: 1.1.0
+Version: 1.5.0
Release: 0
Summary: Openstack DNS (Designate) API Client
License: Apache-2.0
@@ -35,16 +35,24 @@
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
BuildRequires: python-discover
%endif
+BuildRequires: python-jsonschema
+BuildRequires: python-keystoneclient
+BuildRequires: python-mock
BuildRequires: python-mox >= 0.5.3
+BuildRequires: python-oslotest
BuildRequires: python-python-subunit
+BuildRequires: python-requests-mock
BuildRequires: python-testrepository >= 0.0.17
Requires: python >= 2.6.8
-Requires: python-cliff >= 1.4.3
-Requires: python-jsonschema >= 1.3.0
-Requires: python-keystoneclient >= 0.3.2
-Requires: python-pbr >= 0.5.21
-Requires: python-requests >= 1.1
-Requires: python-stevedore >= 0.10
+Requires: python-cliff >= 1.14.0
+Requires: python-debtcollector >= 0.3.0
+Requires: python-jsonschema >= 2.0.0
+Requires: python-keystoneclient >= 1.6.0
+Requires: python-oslo.utils >= 2.0.0
+Requires: python-pbr >= 1.6
+Requires: python-requests >= 2.5.2
+Requires: python-six >= 1.9.0
+Requires: python-stevedore >= 1.5.0
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()")}
@@ -83,7 +91,7 @@
%files
%defattr(-,root,root,-)
-%doc README.rst
+%doc LICENSE README.rst
%{_bindir}/designate
%{python_sitelib}/%{component}/
%{python_sitelib}/python_%{component}-*.egg-info
++++++ _service ++++++
--- /var/tmp/diff_new_pack.E21G6I/_old 2015-10-30 13:42:15.000000000 +0100
+++ /var/tmp/diff_new_pack.E21G6I/_new 2015-10-30 13:42:15.000000000 +0100
@@ -1,10 +1,12 @@
<services>
- <service mode="disabled" name="download_files">
+ <service mode="disabled" name="download_files">
<param name="changesgenerate">enable</param>
</service>
<service mode="disabled" name="set_version">
<param name="basename">python-designateclient</param>
</service>
+ <service mode="disabled" name="python_requires">
+ </service>
<service name="refresh_patches" mode="disabled">
<param name="changesgenerate">enable</param>
</service>
++++++ python-designateclient-1.1.0.tar.gz -> python-designateclient-1.5.0.tar.gz ++++++
++++ 6173 lines of diff (skipped)
1
0