openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- 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
August 2017
- 1 participants
- 2097 discussions
Hello community,
here is the log from the commit of package python-troveclient for openSUSE:Factory checked in at 2017-08-28 15:32:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-troveclient (Old)
and /work/SRC/openSUSE:Factory/.python-troveclient.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-troveclient"
Mon Aug 28 15:32:00 2017 rev:9 rq:515025 version:2.12.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-troveclient/python-troveclient.changes 2017-02-21 13:45:02.277247941 +0100
+++ /work/SRC/openSUSE:Factory/.python-troveclient.new/python-troveclient.changes 2017-08-28 15:32:01.935349561 +0200
@@ -1,0 +2,30 @@
+Mon Aug 7 14:31:48 UTC 2017 - cloud-devel(a)suse.de
+
+- update to version 2.12.0
+ - Add datastore-list to OSC
+ - Update the trove docs to follow the docs theme
+ - Update reno for stable/ocata
+ - [Fix gate]Update test requirement
+ - Add limit-list to OSC
+ - Handle log message interpolation by the logger
+ - Add list to OSC
+ - Add user-list to OSC
+ - Fix token response mock
+ - Correct help in --profile argument
+ - turn on warning-is-error for documentation builds
+ - Add related_to help message for instance help
+ - Drop pycrypto from tests dependencies
+ - Update reset-status docstring
+ - Add database-list to OSC
+ - rearrange docs into new standard layout
+ - update setup.cfg for classifier python 3.5
+ - Add backup-list to OSC
+ - Remove log translations
+ - Client changes for datastore-version volume-types
+ - Add configuration-list to OSC
+ - Add cli to docs
+ - Enable user/db operations on clusters
+ - Updated from global requirements
+ - Add cluster-list to OSC
+
+-------------------------------------------------------------------
Old:
----
python-troveclient-2.8.0.tar.gz
New:
----
python-troveclient-2.12.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-troveclient.spec ++++++
--- /var/tmp/diff_new_pack.tTax8F/_old 2017-08-28 15:32:02.983202247 +0200
+++ /var/tmp/diff_new_pack.tTax8F/_new 2017-08-28 15:32:02.987201684 +0200
@@ -17,7 +17,7 @@
Name: python-troveclient
-Version: 2.8.0
+Version: 2.12.0
Release: 0
Summary: Client library for OpenStack DBaaS API
License: Apache-2.0
@@ -29,14 +29,14 @@
BuildRequires: python-Sphinx
BuildRequires: python-devel
BuildRequires: python-httplib2 >= 0.7.5
-BuildRequires: python-keystoneauth1 >= 2.17.0
-BuildRequires: python-mistralclient >= 2.0.0
+BuildRequires: python-keystoneauth1 >= 2.21.0
+BuildRequires: python-mistralclient >= 3.1.0
BuildRequires: python-mock >= 2.0
-BuildRequires: python-oslo.utils >= 3.18.0
+BuildRequires: python-oslo.utils >= 3.20.0
BuildRequires: python-oslosphinx >= 4.7.0
-BuildRequires: python-pbr >= 1.8
+BuildRequires: python-pbr >= 2.0.0
BuildRequires: python-pycrypto >= 2.6
-BuildRequires: python-requests >= 2.10.0
+BuildRequires: python-requests >= 2.14.2
BuildRequires: python-requests-mock >= 1.1
BuildRequires: python-setuptools >= 16.0
BuildRequires: python-simplejson >= 2.2.0
@@ -46,12 +46,12 @@
BuildRequires: python-testtools >= 1.4.0
Requires: python-Babel >= 2.3.4
Requires: python-PrettyTable >= 0.7.1
-Requires: python-keystoneauth1 >= 2.17.0
-Requires: python-mistralclient >= 2.0.0
+Requires: python-keystoneauth1 >= 2.21.0
+Requires: python-mistralclient >= 3.1.0
Requires: python-oslo.i18n >= 2.1.0
-Requires: python-oslo.utils >= 3.18.0
-Requires: python-pbr >= 1.8
-Requires: python-requests >= 2.10.0
+Requires: python-oslo.utils >= 3.20.0
+Requires: python-pbr >= 2.0.0
+Requires: python-requests >= 2.14.2
Requires: python-simplejson >= 2.2.0
Requires: python-six >= 1.9.0
Requires: python-swiftclient >= 3.2.0
@@ -66,7 +66,7 @@
Summary: Documentation for OpenStack DBaaS API.
Group: Documentation
BuildRequires: python-Sphinx
-BuildRequires: python-oslosphinx >= 4.7.0
+BuildRequires: python-openstackdocstheme >= 1.11.0
%description doc
Documentation for the client library for interacting with Openstack
@@ -75,6 +75,7 @@
%prep
%autosetup -n %{name}-%{version}
%py_req_cleanup
+sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
%build
%py2_build
@@ -87,7 +88,10 @@
%py2_install
%check
+# Disable tests until https://bugs.launchpad.net/python-troveclient/+bug/1706538 got fixed
+%if "%{version}" != "2.11.0"
PYTHONPATH=. %{__python2} setup.py testr
+%endif
%files
%doc README.rst
++++++ _service ++++++
--- /var/tmp/diff_new_pack.tTax8F/_old 2017-08-28 15:32:03.107184816 +0200
+++ /var/tmp/diff_new_pack.tTax8F/_new 2017-08-28 15:32:03.135180880 +0200
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/open…</param>
+ <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/opens…</param>
<param name="output-name">python-troveclient.spec</param>
- <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/glob…</param>
+ <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/globa…</param>
<param name="changelog-email">cloud-devel(a)suse.de</param>
<param name="changelog-provider">gh,openstack,python-troveclient</param>
</service>
++++++ python-troveclient-2.8.0.tar.gz -> python-troveclient-2.12.0.tar.gz ++++++
++++ 7018 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package python-tooz for openSUSE:Factory checked in at 2017-08-28 15:31:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tooz (Old)
and /work/SRC/openSUSE:Factory/.python-tooz.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tooz"
Mon Aug 28 15:31:57 2017 rev:3 rq:515022 version:1.58.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tooz/python-tooz.changes 2017-02-21 13:39:24.308926489 +0100
+++ /work/SRC/openSUSE:Factory/.python-tooz.new/python-tooz.changes 2017-08-28 15:31:59.887637444 +0200
@@ -1,0 +2,55 @@
+Mon Aug 7 14:30:35 UTC 2017 - cloud-devel(a)suse.de
+
+- update to version 1.58.0
+ - etcd3: add etcd3 coordination driver
+ - Factorize tox envlist for better readability
+ - redis: fix concurrent access on acquire()
+ - {my,pg}sql: close connections when out of retry
+ - tests: fix etcd and consul test run
+ - pass on partitions
+ - pgsql: fix self._conn.close() being called without connection
+ - Implement heartbeat for FileDriver
+ - hashring: allow to use bytes as node name
+ - Update reno for stable/ocata
+ - coordination: factorize common async result futures code
+ - Turn on warning-is-error in doc build
+ - Make sure Lock.heartbeat() returns True/False
+ - etcd3: use discard() rather than remove()
+ - http->https for security
+ - doc: use list-table for driver support tables
+ - Separate etcd3gw driver that uses the etcd3 grpc gateway
+ - etcd3: replace custom lock code by more recent etcd3 lock code
+ - coordination: remove double serialization of capabilities
+ - consul: remove unused executor
+ - etcd: fix blocking argument
+ - get weight of existing members
+ - coordination: fix reversed fiels for __repr__ for events
+ - Add shared filelock
+ - postgresql: only pass username and password if they are set
+ - Fix psycopg2 connection argument
+ - Update URLs in documents according to document migration
+ - etcd: fix acquire(blocking=True) on request exception
+ - tests: tests fail if no URL is set + run partitioner tests on basic drivers
+ - Adds authentication support for zookeeperDriver
+ - coordination: do not get member list if not needed
+ - sql: close connection for lock if not used
+ - support unicode node name
+ - etcd3: fix test run
+ - test: leverage existing helper method in test_partitioner
+ - simplify hashring node lookup
+ - rearrange existing documentation to fit the new standard layout
+ - Fix docstring for group and member id
+ - Mutualize executor code in a mixin class
+ - Disable test_get_lock_serial_locking_two_lock_process for etcd3
+ - Simplify env list and test running
+ - doc: update heartbeat doc to use start_heart=True
+ - Switch tests to use latest etcd - 3.1.3
+ - etcd3: skip ProcessPool based test
+ - Rewrite heartbeat runner with event
+ - Switch from oslosphinx to openstackdocstheme
+ - FileDriver:Support multiple processes
+ - tests: fix missing .get() on some group operations
+ - add weight tests for add_nodes
+ - Enhance heartbeat sleep timer
+
+-------------------------------------------------------------------
Old:
----
tooz-1.48.0.tar.gz
New:
----
tooz-1.58.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-tooz.spec ++++++
--- /var/tmp/diff_new_pack.moR8Lf/_old 2017-08-28 15:32:01.167457517 +0200
+++ /var/tmp/diff_new_pack.moR8Lf/_new 2017-08-28 15:32:01.179455830 +0200
@@ -18,7 +18,7 @@
%global pypi_name tooz
Name: python-tooz
-Version: 1.48.0
+Version: 1.58.0
Release: 0
Summary: Coordination library for distributed systems
License: Apache-2.0
@@ -27,9 +27,19 @@
Source0: https://pypi.io/packages/source/t/%{pypi_name}/%{pypi_name}-%{version}.tar.…
BuildRequires: openstack-macros
BuildRequires: python-devel
-BuildRequires: python-pbr >= 1.8
+BuildRequires: python-enum34
+BuildRequires: python-fasteners >= 0.7
+BuildRequires: python-futures >= 3.0
+BuildRequires: python-futurist >= 0.11.0
+BuildRequires: python-iso8601 >= 0.1.11
+BuildRequires: python-oslo.serialization >= 1.10.0
+BuildRequires: python-oslo.utils >= 3.20.0
+BuildRequires: python-pbr >= 2.0.0
BuildRequires: python-setuptools >= 16.0
+BuildRequires: python-stevedore >= 1.20.0
+BuildRequires: python-tenacity >= 3.2.1
BuildRequires: python-testtools >= 1.4.0
+BuildRequires: python-voluptuous >= 0.8.9
Requires: python-Babel >= 2.3.4
Requires: python-enum34
Requires: python-fasteners >= 0.7
@@ -38,9 +48,9 @@
Requires: python-iso8601 >= 0.1.11
Requires: python-msgpack-python >= 0.4.0
Requires: python-oslo.serialization >= 1.10.0
-Requires: python-oslo.utils >= 3.18.0
+Requires: python-oslo.utils >= 3.20.0
Requires: python-six >= 1.9.0
-Requires: python-stevedore >= 1.17.1
+Requires: python-stevedore >= 1.20.0
Requires: python-tenacity >= 3.2.1
Requires: python-voluptuous >= 0.8.9
Requires: python-zake >= 0.1.6
@@ -55,11 +65,7 @@
Summary: Documentation for %{name}
Group: Documentation
BuildRequires: python-Sphinx
-BuildRequires: python-enum34
-BuildRequires: python-futures >= 3.0
-BuildRequires: python-oslo.utils >= 3.18.0
-BuildRequires: python-oslosphinx >= 4.7.0
-BuildRequires: python-stevedore >= 1.17.1
+BuildRequires: python-openstackdocstheme >= 1.11.0
%description doc
The Tooz project aims at centralizing the most common distributed primitives
@@ -71,6 +77,7 @@
%prep
%autosetup -n %{pypi_name}-%{version}
%py_req_cleanup
+sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
%build
%py2_build
@@ -81,7 +88,7 @@
rm -rf html/.{doctrees,buildinfo}
%check
-%{__python2} setup.py testr
+%{__python2} setup.py test
%install
%py2_install
++++++ _service ++++++
--- /var/tmp/diff_new_pack.moR8Lf/_old 2017-08-28 15:32:01.331434465 +0200
+++ /var/tmp/diff_new_pack.moR8Lf/_new 2017-08-28 15:32:01.331434465 +0200
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/open…</param>
+ <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/opens…</param>
<param name="output-name">python-tooz.spec</param>
- <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/glob…</param>
+ <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/globa…</param>
<param name="changelog-email">cloud-devel(a)suse.de</param>
<param name="changelog-provider">gh,openstack,tooz</param>
</service>
++++++ tooz-1.48.0.tar.gz -> tooz-1.58.0.tar.gz ++++++
++++ 4649 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package python-tempest-lib for openSUSE:Factory checked in at 2017-08-28 15:31:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tempest-lib (Old)
and /work/SRC/openSUSE:Factory/.python-tempest-lib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tempest-lib"
Mon Aug 28 15:31:54 2017 rev:6 rq:515021 version:1.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tempest-lib/python-tempest-lib.changes 2016-09-30 15:30:02.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-tempest-lib.new/python-tempest-lib.changes 2017-08-28 15:31:57.351993923 +0200
@@ -1,0 +2,5 @@
+Mon Aug 7 14:29:14 UTC 2017 - tbechtold(a)suse.com
+
+- switch to stable/pike spec template
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-tempest-lib.spec ++++++
--- /var/tmp/diff_new_pack.EKVGJg/_old 2017-08-28 15:31:58.095889341 +0200
+++ /var/tmp/diff_new_pack.EKVGJg/_new 2017-08-28 15:31:58.107887654 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-tempest-lib
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -25,18 +25,18 @@
Url: http://www.openstack.org/
Source0: https://pypi.io/packages/source/t/tempest-lib/tempest-lib-%{version}.tar.gz
BuildRequires: openstack-macros
+BuildRequires: python-Sphinx
BuildRequires: python-ddt >= 1.0.1
BuildRequires: python-devel
BuildRequires: python-httplib2 >= 0.7.5
BuildRequires: python-jsonschema >= 2.0.0
BuildRequires: python-mock >= 2.0
-BuildRequires: python-oslo.log >= 1.14.0
-BuildRequires: python-oslosphinx >= 2.5.0
+BuildRequires: python-oslo.log >= 3.22.0
+BuildRequires: python-oslosphinx >= 4.7.0
BuildRequires: python-oslotest >= 1.10.0
BuildRequires: python-paramiko >= 2.0
-BuildRequires: python-pbr >= 1.6
+BuildRequires: python-pbr >= 2.0.0
BuildRequires: python-python-subunit >= 0.0.18
-BuildRequires: python-sphinx >= 1.2.1
BuildRequires: python-testrepository >= 0.0.18
BuildRequires: python-testscenarios >= 0.4
BuildRequires: python-testtools >= 1.4.0
@@ -45,8 +45,8 @@
Requires: python-httplib2 >= 0.7.5
Requires: python-iso8601 >= 0.1.11
Requires: python-jsonschema >= 2.0.0
-Requires: python-os-testr >= 0.7.0
-Requires: python-oslo.log >= 1.14.0
+Requires: python-os-testr >= 0.8.0
+Requires: python-oslo.log >= 3.22.0
Requires: python-six >= 1.9.0
BuildArch: noarch
@@ -54,7 +54,8 @@
OpenStack Functional Testing Library
%prep
-%setup -q -n tempest-lib-%{version}
+%autosetup -n tempest-lib-%{version}
+%py_req_cleanup
%build
%{__python2} setup.py build
@@ -72,7 +73,7 @@
%files
%defattr(-,root,root,-)
%license LICENSE
-%doc README.rst ChangeLog AUTHORS
+%doc README.rst ChangeLog
%{python2_sitelib}/tempest_lib
%{python2_sitelib}/*.egg-info
1
0
Hello community,
here is the log from the commit of package python-senlinclient for openSUSE:Factory checked in at 2017-08-28 15:31:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-senlinclient (Old)
and /work/SRC/openSUSE:Factory/.python-senlinclient.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-senlinclient"
Mon Aug 28 15:31:52 2017 rev:3 rq:515018 version:1.4.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-senlinclient/python-senlinclient.changes 2017-02-21 13:44:57.321947015 +0100
+++ /work/SRC/openSUSE:Factory/.python-senlinclient.new/python-senlinclient.changes 2017-08-28 15:31:55.592241321 +0200
@@ -1,0 +2,64 @@
+Mon Aug 7 14:21:17 UTC 2017 - cloud-devel(a)suse.de
+
+- update to version 1.4.0
+ - OSC command for node op and cluster op
+ - Enable coverage report in console output
+ - Param "response" is not used any more in
+ - Profile id or name is a default profile
+ - Enable some off-by-default checks
+ - Update reno for stable/ocata
+ - import cli-reference from openstack-manuals
+ - Fix hacking requirement for testing
+ - Cleanup sphinx building
+ - Add filter "user_id" for receiver list
+ - Fix SDK version problem
+ - Revise service list help info
+ - Add --config option parameter for cluster-create command
+ - Delete TODO about event-delete, The event-delete
+ - Revert "Revert "Revert "Revert "Fix `openstack cluster profile validate` bug""""
+ - Initial test hooks for functional test
+ - Avoid import internal classes from SDK (3)
+ - Using fixtures.MockPatch instead of mockpatch.Patch
+ - remove redundant value when cluster-show
+ - Add services list
+ - Update imoprt order
+ - Replaces yaml.load() with yaml.safe_load()
+ - Update and optimize documentation links
+ - Fix openstackdocstheme settings
+ - Fix senlin cluster policy list error
+ - Check node status before do cluster-recover action
+ - Fix `openstack cluster service`
+ - Add user_id in receiver list
+ - Revise `senlin service-list`
+ - Fix cluster update failed problem
+ - Make --os-profile load from environment variables
+ - Revise command reminder when we run `senlin cluster-resize`
+ - Client support for "destroy_after_deletion" in cluster del nodes
+ - Add oslo_debug_helper to tox.ini
+ - Replace six.itervalues with dict.values()
+ - Fix receiver-update mistake
+ - delete bash_completion in subcommand
+ - Unify style of 'domain' field
+ - The python 3.4 support is removed
+ - Print support status while listing policy types
+ - Fix `openstack cluster service` Exception raised
+ - Support check before do node-recover action
+ - Fixed warnings when building docs
+ - Remove a py34 environment from tox
+ - Revise command reminder when we run `openstack cluster resize`
+ - fix setup.cfg cluster service path error
+ - Add an installation doc
+ - Remove log translations
+ - Support receiver update operation
+ - List services doc link cannot be found
+ - Fix development document api-ref link error
+ - Support to cluster-op and node-op operations
+ - Support status output for profile type list
+ - Avoid import internal classes from SDK (2)
+ - Fix html_last_updated_fmt for Python3.
+ - Add parameter in CLUSTER_DEL_NODES action
+ - Support profile-only to cluster update
+ - Updated from global requirements
+ - Avoid import internal classes from SDK
+
+-------------------------------------------------------------------
Old:
----
python-senlinclient-1.2.0.tar.gz
New:
----
python-senlinclient-1.4.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-senlinclient.spec ++++++
--- /var/tmp/diff_new_pack.Q3JA9M/_old 2017-08-28 15:31:56.956049588 +0200
+++ /var/tmp/diff_new_pack.Q3JA9M/_new 2017-08-28 15:31:56.960049025 +0200
@@ -18,7 +18,7 @@
%global sname python-senlinclient
Name: python-senlinclient
-Version: 1.2.0
+Version: 1.4.0
Release: 0
Summary: Python API and CLI for OpenStack Senlin
License: Apache-2.0
@@ -36,16 +36,16 @@
BuildRequires: python-jsonschema >= 2.0.0
BuildRequires: python-mock >= 2.0
BuildRequires: python-openstackclient >= 3.3.0
-BuildRequires: python-openstacksdk >= 0.9.10
+BuildRequires: python-openstacksdk >= 0.9.17
BuildRequires: python-os-testr >= 0.8.0
-BuildRequires: python-osc-lib >= 1.2.0
+BuildRequires: python-osc-lib >= 1.5.1
BuildRequires: python-oslo.i18n >= 2.1.0
BuildRequires: python-oslo.serialization >= 1.10.0
-BuildRequires: python-oslo.utils >= 3.18.0
+BuildRequires: python-oslo.utils >= 3.20.0
BuildRequires: python-oslotest >= 1.10.0
-BuildRequires: python-pbr >= 1.8
+BuildRequires: python-pbr >= 2.0.0
BuildRequires: python-python-subunit >= 0.0.18
-BuildRequires: python-requests >= 2.10.0
+BuildRequires: python-requests >= 2.14.2
BuildRequires: python-requests-mock >= 1.1
BuildRequires: python-testtools >= 1.4.0
Requires: python-PrettyTable >= 0.7.1
@@ -53,15 +53,15 @@
Requires: python-appdirs >= 1.3.0
Requires: python-heatclient >= 1.6.1
Requires: python-jsonschema >= 2.0.0
-Requires: python-keystoneauth1 >= 2.17.0
+Requires: python-keystoneauth1 >= 2.21.0
Requires: python-openstackclient >= 3.3.0
-Requires: python-openstacksdk >= 0.9.10
-Requires: python-osc-lib >= 1.2.0
+Requires: python-openstacksdk >= 0.9.17
+Requires: python-osc-lib >= 1.5.1
Requires: python-oslo.i18n >= 2.1.0
Requires: python-oslo.serialization >= 1.10.0
-Requires: python-oslo.utils >= 3.18.0
-Requires: python-pbr >= 1.8
-Requires: python-requests >= 2.10.0
+Requires: python-oslo.utils >= 3.20.0
+Requires: python-pbr >= 2.0.0
+Requires: python-requests >= 2.14.2
Requires: python-six >= 1.9.0
BuildArch: noarch
@@ -75,7 +75,7 @@
Summary: Documentation for OpenStack Senlin API Client
Group: Documentation
BuildRequires: python-Sphinx
-BuildRequires: python-oslosphinx >= 4.7.0
+BuildRequires: python-openstackdocstheme >= 1.11.0
BuildRequires: python-reno >= 1.8.0
%description doc
@@ -86,6 +86,7 @@
%prep
%autosetup -n %{sname}-%{version}
%py_req_cleanup
+sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
%build
%{py2_build}
++++++ _service ++++++
--- /var/tmp/diff_new_pack.Q3JA9M/_old 2017-08-28 15:31:57.004042840 +0200
+++ /var/tmp/diff_new_pack.Q3JA9M/_new 2017-08-28 15:31:57.004042840 +0200
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/open…</param>
+ <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/opens…</param>
<param name="output-name">python-senlinclient.spec</param>
- <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/glob…</param>
+ <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/globa…</param>
<param name="changelog-email">cloud-devel(a)suse.de</param>
<param name="changelog-provider">gh,openstack,python-senlinclient</param>
</service>
++++++ python-senlinclient-1.2.0.tar.gz -> python-senlinclient-1.4.0.tar.gz ++++++
++++ 7827 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package python-saharaclient for openSUSE:Factory checked in at 2017-08-28 15:31:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-saharaclient (Old)
and /work/SRC/openSUSE:Factory/.python-saharaclient.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-saharaclient"
Mon Aug 28 15:31:50 2017 rev:6 rq:515017 version:1.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-saharaclient/python-saharaclient.changes 2017-02-21 13:44:51.386784322 +0100
+++ /work/SRC/openSUSE:Factory/.python-saharaclient.new/python-saharaclient.changes 2017-08-28 15:31:52.184720374 +0200
@@ -1,0 +2,20 @@
+Mon Aug 7 14:19:37 UTC 2017 - cloud-devel(a)suse.de
+
+- update to version 1.3.0
+ - Fix a bug in jobs.py
+ - Replace six.iteritems() with .items()
+ - Remove log translations
+ - Clone sahara hacking checks to saharaclient
+ - Use 'project' instead of 'tenant'
+ - Spelling replaced from "ot" to "of"
+ - Set client module __version__
+ - [Fix gate]Update test requirement
+ - doc: migrate to openstackdocstheme
+ - doc: enable warning-is-error and fix warnings
+ - PYthon 3.5 is added
+ - Update reno for stable/ocata
+ - Fixed log messages
+ - Updated from global requirements
+ - Fix html_last_updated_fmt for Python3
+
+-------------------------------------------------------------------
Old:
----
python-saharaclient-1.1.0.tar.gz
New:
----
python-saharaclient-1.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-saharaclient.spec ++++++
--- /var/tmp/diff_new_pack.7IFZJV/_old 2017-08-28 15:31:52.864624788 +0200
+++ /var/tmp/diff_new_pack.7IFZJV/_new 2017-08-28 15:31:52.868624226 +0200
@@ -18,7 +18,7 @@
%global sname saharaclient
Name: python-saharaclient
-Version: 1.1.0
+Version: 1.3.0
Release: 0
Summary: Client library for OpenStack Sahara API
License: Apache-2.0
@@ -30,28 +30,28 @@
BuildRequires: python-keystoneclient >= 3.8.0
BuildRequires: python-mock >= 2.0
BuildRequires: python-os-testr >= 0.8.0
-BuildRequires: python-osc-lib >= 1.2.0
+BuildRequires: python-osc-lib >= 1.5.1
BuildRequires: python-oslo.i18n >= 2.1.0
-BuildRequires: python-oslo.log >= 3.11.0
+BuildRequires: python-oslo.log >= 3.22.0
BuildRequires: python-oslo.serialization >= 1.10.0
-BuildRequires: python-oslo.utils >= 3.18.0
+BuildRequires: python-oslo.utils >= 3.20.0
BuildRequires: python-oslotest >= 1.10.0
-BuildRequires: python-pbr >= 1.8
-BuildRequires: python-requests >= 2.10.0
+BuildRequires: python-pbr >= 2.0.0
+BuildRequires: python-requests >= 2.14.2
BuildRequires: python-requests-mock >= 1.1
BuildRequires: python-setuptools >= 16.0
BuildRequires: python-testrepository >= 0.0.18
Requires: python-Babel >= 2.3.4
Requires: python-PrettyTable >= 0.7.1
-Requires: python-keystoneauth1 >= 2.17.0
+Requires: python-keystoneauth1 >= 2.21.0
Requires: python-keystoneclient >= 3.8.0
Requires: python-openstackclient >= 3.3.0
-Requires: python-osc-lib >= 1.2.0
+Requires: python-osc-lib >= 1.5.1
Requires: python-oslo.i18n >= 2.1.0
-Requires: python-oslo.log >= 3.11.0
+Requires: python-oslo.log >= 3.22.0
Requires: python-oslo.serialization >= 1.10.0
-Requires: python-oslo.utils >= 3.18.0
-Requires: python-requests >= 2.10.0
+Requires: python-oslo.utils >= 3.20.0
+Requires: python-requests >= 2.14.2
Requires: python-six >= 1.9.0
BuildArch: noarch
@@ -62,7 +62,7 @@
Summary: Documentation for Client library for OpenStack Sahara API
Group: Documentation
BuildRequires: python-Sphinx
-BuildRequires: python-oslosphinx >= 4.7.0
+BuildRequires: python-openstackdocstheme >= 1.11.0
%description doc
Python client library for interacting with OpenStack Sahara API.
@@ -72,6 +72,7 @@
%py_req_cleanup
# FIXME: can be removed when https://review.openstack.org/#/c/363681/ is merged
sed -i -e 's/^\s\{4\}git_cmd\(.*\)/ "\/usr\/bin\/true"\1/' doc/source/conf.py
+sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
%build
%py2_build
@@ -85,6 +86,8 @@
rm -rf doc/build/html/.{doctrees,buildinfo}
%check
+# we don't want to depend on hacking/flake8/pep8
+rm -v saharaclient/tests/unit/test_hacking.py
%{__python2} setup.py testr
%files
++++++ _service ++++++
--- /var/tmp/diff_new_pack.7IFZJV/_old 2017-08-28 15:31:52.928615792 +0200
+++ /var/tmp/diff_new_pack.7IFZJV/_new 2017-08-28 15:31:52.928615792 +0200
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/open…</param>
+ <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/opens…</param>
<param name="output-name">python-saharaclient.spec</param>
- <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/glob…</param>
+ <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/globa…</param>
<param name="changelog-email">cloud-devel(a)suse.de</param>
<param name="changelog-provider">gh,openstack,python-saharaclient</param>
</service>
++++++ python-saharaclient-1.1.0.tar.gz -> python-saharaclient-1.3.0.tar.gz ++++++
++++ 2770 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package python-os-win for openSUSE:Factory checked in at 2017-08-28 15:31:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-os-win (Old)
and /work/SRC/openSUSE:Factory/.python-os-win.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-os-win"
Mon Aug 28 15:31:48 2017 rev:3 rq:515016 version:2.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-os-win/python-os-win.changes 2017-04-06 11:01:53.545769584 +0200
+++ /work/SRC/openSUSE:Factory/.python-os-win.new/python-os-win.changes 2017-08-28 15:31:48.765201112 +0200
@@ -1,0 +2,52 @@
+Mon Aug 7 14:03:56 UTC 2017 - cloud-devel(a)suse.de
+
+- update to version 2.1.0
+ - Add hacking rules for ctypes libraries
+ - vmutils: Adds vnuma_enabled argument to update_vm
+ - networkutils: fixes update_cache
+ - removes the VirtualSystemType kwarg when fetching VMs
+ - Fixed all typos in comments
+ - Retry changing VM state in case of exceptions
+ - Add cluster vm owner change listener
+ - Fixes cached old WMI service objects issue
+ - pathutils: Adds retry decorator to rmdir
+ - Retrieve VM disk attachment info
+ - Indicating the location tests directory in oslo_debug_helper
+ - py35: fixes exception.message reference issues
+ - Optimize the link address
+ - vmutils: set all *DataRoot paths to the same value
+ - Ignores "Not found" jobs when stopping jobs
+ - Uses _compat_conn where WMI objects need to be updated or added
+ - Change intermediary vm state handling
+ - Replaces CRLF line endings to LF line endings
+ - Remove old iSCSI initiator utils modules
+ - Cleanup livemigrationutils
+ - updates hacking requirement
+ - pep8: fixes indentation issues
+ - Add Python 3.5 classifier and venv
+ - Rearrange imports
+ - Remove deprecated IOUtils class
+ - Improve WMI job check method
+ - Fix cluster group migration status checks
+ - Improve VM snapshots support
+ - networkutils: specializes the exception raised by _get_vnic_settings
+ - Allow setting VM snapshot types
+ - tests: Sets baseutils.BaseUtilsVirt._old_wmi
+ - Replacing six.iteritems() with .items()
+ - Adds config option for caching WMI objects
+ - Add support for setting the port profile id
+ - raises exceptions.NotFound instead of x_wmi: Not Found
+ - Ensure failed disk attachments are cleaned up
+ - vmutils: Adds remove_all_pci_devices method
+ - Fix share local address check
+ - Remove log translations
+ - Synchronize iscsi_target_utils
+ - Add 'rm -f .testrepository/times.dbm' command in testenv
+ - vmutils: Planned VMs separation
+ - Refactor Windows API usage
+ - pathutils: Adds copy_folder_files method
+ - vmutils: Allows updating and disabling instance RemoteFX
+ - Wrap "WMI not found" exception
+ - Updated from global requirements
+
+-------------------------------------------------------------------
Old:
----
os-win-1.4.1.tar.gz
New:
----
os-win-2.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-os-win.spec ++++++
--- /var/tmp/diff_new_pack.ecDSba/_old 2017-08-28 15:31:49.313124081 +0200
+++ /var/tmp/diff_new_pack.ecDSba/_new 2017-08-28 15:31:49.325122395 +0200
@@ -18,7 +18,7 @@
%global sname os-win
Name: python-os-win
-Version: 1.4.1
+Version: 2.1.0
Release: 0
Summary: Hyper-V library for OpenStack projects
License: Apache-2.0
@@ -33,10 +33,10 @@
BuildRequires: python-mock >= 2.0
BuildRequires: python-oslo.concurrency >= 3.8.0
BuildRequires: python-oslo.i18n >= 2.1.0
-BuildRequires: python-oslo.log >= 3.11.0
+BuildRequires: python-oslo.log >= 3.22.0
BuildRequires: python-oslosphinx >= 4.7.0
BuildRequires: python-oslotest >= 1.10.0
-BuildRequires: python-pbr >= 1.8
+BuildRequires: python-pbr >= 2.0.0
BuildRequires: python-python-subunit >= 0.0.18
BuildRequires: python-testrepository >= 0.0.18
BuildRequires: python-testscenarios >= 0.4
@@ -44,12 +44,12 @@
Requires: python-Babel >= 2.3.4
Requires: python-eventlet >= 0.18.2
Requires: python-oslo.concurrency >= 3.8.0
-Requires: python-oslo.config >= 3.14.0
+Requires: python-oslo.config >= 4.0.0
Requires: python-oslo.i18n >= 2.1.0
-Requires: python-oslo.log >= 3.11.0
+Requires: python-oslo.log >= 3.22.0
Requires: python-oslo.service >= 1.10.0
-Requires: python-oslo.utils >= 3.18.0
-Requires: python-pbr >= 1.8
+Requires: python-oslo.utils >= 3.20.0
+Requires: python-pbr >= 2.0.0
BuildArch: noarch
%description
@@ -68,10 +68,12 @@
%prep
%autosetup -n %{sname}-%{version}
%py_req_cleanup
+# we dont want to run the hacking tests again (and dont want the needed deps)
+rm -f os_win/tests/unit/test_hacking.py
%build
%{py2_build}
-%{__python2} setup.py build_sphinx
+%{__python2} setup.py build_sphinx --builder=html,man
rm -rf html/.{doctrees,buildinfo}
%install
++++++ _service ++++++
--- /var/tmp/diff_new_pack.ecDSba/_old 2017-08-28 15:31:49.385113960 +0200
+++ /var/tmp/diff_new_pack.ecDSba/_new 2017-08-28 15:31:49.385113960 +0200
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/open…</param>
+ <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/opens…</param>
<param name="output-name">python-os-win.spec</param>
- <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/glob…</param>
+ <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/globa…</param>
<param name="changelog-email">cloud-devel(a)suse.de</param>
<param name="changelog-provider">gh,openstack,os-win</param>
</service>
++++++ os-win-1.4.1.tar.gz -> os-win-2.1.0.tar.gz ++++++
++++ 12492 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package python-os-testr for openSUSE:Factory checked in at 2017-08-28 15:31:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-os-testr (Old)
and /work/SRC/openSUSE:Factory/.python-os-testr.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-os-testr"
Mon Aug 28 15:31:45 2017 rev:6 rq:515012 version:0.8.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-os-testr/python-os-testr.changes 2016-11-15 18:01:34.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-os-testr.new/python-os-testr.changes 2017-08-28 15:31:47.565369792 +0200
@@ -1,0 +2,19 @@
+Mon Aug 7 14:02:19 UTC 2017 - cloud-devel(a)suse.de
+
+- update to version 0.8.2
+ - Save subunit results file when using --no-discover
+ - Fix typo and change regexp to regex
+ - Add Constraints support
+ - Track failures during sorting of test results
+ - Fix error when without --regex option
+ - [Fix gate]Update test requirement
+ - Remove unused Babel setup
+ - Updated from global requirements
+
+-------------------------------------------------------------------
+Mon Feb 13 08:42:49 UTC 2017 - tbechtold(a)suse.com
+
+- update _service
+- update Requires
+
+-------------------------------------------------------------------
Old:
----
os-testr-0.8.0.tar.gz
New:
----
os-testr-0.8.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-os-testr.spec ++++++
--- /var/tmp/diff_new_pack.XpJy6w/_old 2017-08-28 15:31:48.433247780 +0200
+++ /var/tmp/diff_new_pack.XpJy6w/_new 2017-08-28 15:31:48.437247218 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-os-testr
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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 @@
%global sname os-testr
Name: python-os-testr
-Version: 0.8.0
+Version: 0.8.2
Release: 0
Summary: A testr wrapper to provide functionality for OpenStack projects
License: Apache-2.0
@@ -29,11 +29,11 @@
BuildRequires: python-ddt >= 1.0.1
BuildRequires: python-devel
BuildRequires: python-oslotest >= 1.10.0
-BuildRequires: python-pbr >= 1.6
+BuildRequires: python-pbr >= 2.0.0
BuildRequires: python-testrepository >= 0.0.18
BuildRequires: python-testscenarios >= 0.4
Requires: python-Babel >= 2.3.4
-Requires: python-pbr >= 1.6
+Requires: python-pbr >= 2.0.0
Requires: python-python-subunit >= 0.0.18
Requires: python-testrepository >= 0.0.18
Requires: python-testtools >= 1.4.0
@@ -49,13 +49,14 @@
Summary: Documentation for the testr
Group: Documentation
BuildRequires: python-Sphinx
-BuildRequires: python-oslosphinx >= 2.5.0
+BuildRequires: python-oslosphinx >= 4.7.0
%description doc
Documentation for the testr wrapper.
%prep
-%setup -q -n %{sname}-%{version}
+%autosetup -n %{sname}-%{version}
+%py_req_cleanup
%build
%{py2_build}
++++++ _service ++++++
--- /var/tmp/diff_new_pack.XpJy6w/_old 2017-08-28 15:31:48.481241033 +0200
+++ /var/tmp/diff_new_pack.XpJy6w/_new 2017-08-28 15:31:48.481241033 +0200
@@ -1,14 +1,12 @@
<services>
<service mode="disabled" name="renderspec">
- <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/newton/ope…</param>
+ <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/opens…</param>
<param name="output-name">python-os-testr.spec</param>
- <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/newton/glo…</param>
+ <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/globa…</param>
+ <param name="changelog-email">cloud-devel(a)suse.de</param>
+ <param name="changelog-provider">gh,openstack,os-testr</param>
</service>
<service mode="disabled" name="download_files">
- <param name="changesgenerate">enable</param>
- </service>
- <service name="refresh_patches" mode="disabled">
- <param name="changesgenerate">enable</param>
</service>
<service name="format_spec_file" mode="disabled"/>
</services>
++++++ os-testr-0.8.0.tar.gz -> os-testr-0.8.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-testr-0.8.0/AUTHORS new/os-testr-0.8.2/AUTHORS
--- old/os-testr-0.8.0/AUTHORS 2016-09-28 21:26:08.000000000 +0200
+++ new/os-testr-0.8.2/AUTHORS 2017-05-16 17:13:47.000000000 +0200
@@ -1,3 +1,4 @@
+Andreas Jaeger <aj(a)suse.com>
Assaf Muller <amuller(a)redhat.com>
Attila Fazekas <afazekas(a)redhat.com>
Christian Berendt <berendt(a)b1-systems.de>
@@ -7,15 +8,19 @@
James Page <james.page(a)ubuntu.com>
John Griffith <john.griffith8(a)gmail.com>
Kun Huang <gareth(a)openstacker.org>
+Luz Cazares <luz.cazares(a)intel.com>
Masayuki Igawa <mas-igawa(a)ut.jp.nec.com>
Masayuki Igawa <masayuki.igawa(a)gmail.com>
+Masayuki Igawa <masayuki(a)igawa.me>
Matthew Treinish <mtreinish(a)kortar.org>
Monty Taylor <mordred(a)inaugust.com>
Shu Muto <shu-mutou(a)rf.jp.nec.com>
TerryHowe <terrylhowe(a)gmail.com>
Thomas Bechtold <tbechtold(a)suse.com>
+Tony Breeds <tony(a)bakeyournoodle.com>
Yushiro FURUKAWA <y.furukawa_2(a)jp.fujitsu.com>
guo yunxian <yunxian.guo(a)easystack.cn>
janonymous <janonymous.codevulture(a)gmail.com>
melanie witt <melwittt(a)gmail.com>
+ricolin <rico.lin(a)easystack.cn>
step6829 <stephen.lowrie(a)rackspace.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-testr-0.8.0/ChangeLog new/os-testr-0.8.2/ChangeLog
--- old/os-testr-0.8.0/ChangeLog 2016-09-28 21:26:08.000000000 +0200
+++ new/os-testr-0.8.2/ChangeLog 2017-05-16 17:13:47.000000000 +0200
@@ -1,6 +1,23 @@
CHANGES
=======
+0.8.2
+-----
+
+* Updated from global requirements
+* Remove unused Babel setup
+
+0.8.1
+-----
+
+* Updated from global requirements
+* [Fix gate]Update test requirement
+* Fix error when without --regex option
+* Updated from global requirements
+* Add Constraints support
+* Fix typo and change regexp to regex
+* Track failures during sorting of test results
+
0.8.0
-----
@@ -17,7 +34,8 @@
* Construct a list of test cases instead of passing a regexp
* Add support for Python versions
* Delete openstack/common in flake8 exclude list
-* Simplify logic in _get_test_list
+* Save subunit results file when using --no-discover
+* Simplify logic in \_get\_test\_list
* Remove discover from test-requirements
* Make subprocess outputs to text for Python 3
* Fix doc warnings and disable smarty-pants
@@ -60,13 +78,13 @@
-----
* Add support to ostestr to use subunit-trace color
-* Add subunit_trace --color option's doc
+* Add subunit\_trace --color option's doc
* Fix documentation typos
* Fix coverage section in tox.ini
-* Add delete *.pyc command before executing ostestr
-* Change to always parsing classes from test_id
+* Add delete \*.pyc command before executing ostestr
+* Change to always parsing classes from test\_id
* Add colored output feature to subunit-trace
-* Add *.egg* to .gitignore
+* Add \*.egg\* to .gitignore
* Fail if no tests were successfully executed
* Fix syntax of the README file
@@ -85,10 +103,10 @@
* Add whitelist file support
* Fix issues with the blacklist file regex generation
-* Use test_to_run var in no-discover
-* Minor refactoring to make os_testr more testable
+* Use test\_to\_run var in no-discover
+* Minor refactoring to make os\_testr more testable
* Switch to using autogenerated ChangeLog in docs
-* Change ignore-errors to ignore_errors
+* Change ignore-errors to ignore\_errors
* Handle a skipped test without a reason message
* Minimize output when --abbreviate is used
* Make use of argparse groups and add some tests
@@ -98,7 +116,7 @@
* Convert file names to regular expressions
* Handle incomplete subunit streams
-* Set min pbr version in setup_requires
+* Set min pbr version in setup\_requires
* update requirements
* Add TODO entry for moving away from subprocess in ostestr
* Improved docs for os-testr commands
@@ -110,7 +128,7 @@
* Disable printing percent change on run time by default
* Misc Python 3 compatibility fixes
* Catch exception trying to extract test time
-* Fix ValueError in subunit_trace
+* Fix ValueError in subunit\_trace
* Add support for having comments in the exclude file
* Add TODO file to os-testr
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-testr-0.8.0/PKG-INFO new/os-testr-0.8.2/PKG-INFO
--- old/os-testr-0.8.0/PKG-INFO 2016-09-28 21:26:08.000000000 +0200
+++ new/os-testr-0.8.2/PKG-INFO 2017-05-16 17:13:47.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: os-testr
-Version: 0.8.0
+Version: 0.8.2
Summary: A testr wrapper to provide functionality for OpenStack projects
Home-page: http://docs.openstack.org/developer/os-testr/
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-testr-0.8.0/doc/source/ostestr.rst new/os-testr-0.8.2/doc/source/ostestr.rst
--- old/os-testr-0.8.0/doc/source/ostestr.rst 2016-09-28 21:24:04.000000000 +0200
+++ new/os-testr-0.8.2/doc/source/ostestr.rst 2017-05-16 17:12:16.000000000 +0200
@@ -122,13 +122,13 @@
When ostestr is asked to do more complex test selection than a sinlge regex,
it will ask testr for a full list of tests than passing the filtered test list
back to testr.
-ostestr allows you do to do simple test exclusion via apssing rejection/black regexp::
+ostestr allows you do to do simple test exclusion via apssing rejection/black regex::
- $ ostestr --back-regex 'slow_tests|bad_tests'
+ $ ostestr --black-regex 'slow_tests|bad_tests'
ostestr also allow you to combine these argumants::
- $ ostestr --regex ui\.interface --back-regexp 'slow_tests|bad_tests'
+ $ ostestr --regex ui\.interface --black-regex 'slow_tests|bad_tests'
Here first we selected all tests which matches to 'ui\.interface',
than we are dropping all test which matches
@@ -147,7 +147,7 @@
^regex1 # Excludes these tests
.*regex2 # exclude those tests
-The regexp used in the blacklist File or passed as argument, will be used
+The regex used in the blacklist File or passed as argument, will be used
to drop tests from the initial selection list.
Will generate a list which will exclude both any tests
matching '^regex1' and '.*regex2'. If a blacklist file is used in conjunction
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-testr-0.8.0/os_testr/ostestr.py new/os-testr-0.8.2/os_testr/ostestr.py
--- old/os-testr-0.8.0/os_testr/ostestr.py 2016-09-28 21:24:04.000000000 +0200
+++ new/os-testr-0.8.2/os_testr/ostestr.py 2017-05-16 17:12:16.000000000 +0200
@@ -16,12 +16,14 @@
import argparse
import atexit
import copy
+import io
import os
import subprocess
import sys
import tempfile
import pbr.version
+
from subunit import run as subunit_run
from testtools import run as testtools_run
@@ -58,8 +60,8 @@
help='Test rejection regex. If a test cases name '
'matches on re.search() operation , '
'it will be removed from the final test list. '
- 'Effectively the black-regexp is added to '
- ' black regexp list, but you do need to edit a file. '
+ 'Effectively the black-regex is added to '
+ ' black regex list, but you do need to edit a file. '
'The black filtering happens after the initial '
' white selection, which by default is everything.')
pretty = parser.add_mutually_exclusive_group()
@@ -195,17 +197,29 @@
def call_subunit_run(test_id, pretty, subunit):
+ env = copy.deepcopy(os.environ)
+ cmd_save_results = ['testr', 'load', '--subunit']
+
if pretty:
- env = copy.deepcopy(os.environ)
+ # Use subunit run module
cmd = ['python', '-m', 'subunit.run', test_id]
ps = subprocess.Popen(cmd, env=env, stdout=subprocess.PIPE)
- proc = subprocess.Popen(['subunit-trace', '--no-failure-debug', '-f'],
- env=env, stdin=ps.stdout)
+ # Save subunit results via testr
+ pfile = subprocess.Popen(cmd_save_results, env=env,
+ stdin=ps.stdout, stdout=subprocess.PIPE)
ps.stdout.close()
+ # Transform output via subunit-trace
+ proc = subprocess.Popen(['subunit-trace', '--no-failure-debug', '-f'],
+ env=env, stdin=pfile.stdout)
+ pfile.stdout.close()
proc.communicate()
return proc.returncode
elif subunit:
- subunit_run.main([sys.argv[0], test_id], sys.stdout)
+ sstdout = io.BytesIO()
+ subunit_run.main([sys.argv[0], test_id], sstdout)
+ pfile = subprocess.Popen(cmd_save_results, env=env,
+ stdin=subprocess.PIPE)
+ pfile.communicate(input=sstdout.getvalue())
else:
testtools_run.main([sys.argv[0], test_id], sys.stdout)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-testr-0.8.0/os_testr/regex_builder.py new/os-testr-0.8.2/os_testr/regex_builder.py
--- old/os-testr-0.8.0/os_testr/regex_builder.py 2016-09-28 21:24:05.000000000 +0200
+++ new/os-testr-0.8.2/os_testr/regex_builder.py 2017-05-16 17:12:16.000000000 +0200
@@ -19,7 +19,10 @@
def _get_test_list(regex, env=None):
env = env or copy.deepcopy(os.environ)
- proc = subprocess.Popen(['testr', 'list-tests', regex], env=env,
+ testr_args = ['testr', 'list-tests']
+ if regex:
+ testr_args.append(regex)
+ proc = subprocess.Popen(testr_args, env=env,
stdout=subprocess.PIPE, universal_newlines=True)
out = proc.communicate()[0]
raw_test_list = out.split('\n')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-testr-0.8.0/os_testr/subunit2html.py new/os-testr-0.8.2/os_testr/subunit2html.py
--- old/os-testr-0.8.0/os_testr/subunit2html.py 2016-09-28 21:24:04.000000000 +0200
+++ new/os-testr-0.8.2/os_testr/subunit2html.py 2017-05-16 17:12:16.000000000 +0200
@@ -617,18 +617,31 @@
# unittest does not seems to run in any particular order.
# Here at least we want to group them together by class.
rmap = {}
+ classes = []
# Differentiate between classes that have test failures so we can sort
# them at the top of the html page for easier troubleshooting
- failclasses = []
- passclasses = []
+ clsmap_has_failure = collections.defaultdict(bool)
+
+ def track_has_failure(name, n):
+ if n == 1 or n == 2:
+ clsmap_has_failure[name] = True
+
for n, t, o, e in result_list:
- classes = failclasses if n == 1 or n == 2 else passclasses
if hasattr(t, '_tests'):
for inner_test in t._tests:
- self._add_cls(rmap, classes, inner_test,
- (n, inner_test, o, e))
+ name = self._add_cls(rmap, classes, inner_test,
+ (n, inner_test, o, e))
+ track_has_failure(name, n)
else:
- self._add_cls(rmap, classes, t, (n, t, o, e))
+ name = self._add_cls(rmap, classes, t, (n, t, o, e))
+ track_has_failure(name, n)
+
+ failclasses = []
+ passclasses = []
+ for cls in classes:
+ append_to = (failclasses if clsmap_has_failure[str(cls)]
+ else passclasses)
+ append_to.append(cls)
classort = lambda s: str(s)
sortedfailclasses = sorted(failclasses, key=classort)
sortedpassclasses = sorted(passclasses, key=classort)
@@ -649,6 +662,7 @@
rmap[str(cls)] = []
classes.append(cls)
rmap[str(cls)].append(data_tuple)
+ return str(cls)
def _generate_report_test(self, rows, cid, tid, n, t, o, e):
# e.g. 'pt1.1', 'ft1.1', etc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-testr-0.8.0/os_testr/testlist_builder.py new/os-testr-0.8.2/os_testr/testlist_builder.py
--- old/os-testr-0.8.0/os_testr/testlist_builder.py 2016-09-28 21:24:05.000000000 +0200
+++ new/os-testr-0.8.2/os_testr/testlist_builder.py 2017-05-16 17:12:16.000000000 +0200
@@ -70,7 +70,7 @@
black_data = None
if black_regex:
- msg = "Skipped bacuse of regexp provided as a command line argument:"
+ msg = "Skipped because of regex provided as a command line argument:"
record = (re.compile(black_regex), msg, [])
if black_data:
black_data.append(record)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-testr-0.8.0/os_testr/tests/test_ostestr.py new/os-testr-0.8.2/os_testr/tests/test_ostestr.py
--- old/os-testr-0.8.0/os_testr/tests/test_ostestr.py 2016-09-28 21:24:04.000000000 +0200
+++ new/os-testr-0.8.2/os_testr/tests/test_ostestr.py 2017-05-16 17:12:16.000000000 +0200
@@ -18,7 +18,7 @@
Tests for `os_testr` module.
"""
-
+import io
import mock
from os_testr import ostestr as os_testr
@@ -115,3 +115,73 @@
'call_subunit_run',
side_effect=_fake_run):
os_testr.main()
+
+ def test_call_subunit_run_pretty(self):
+ '''Test call_subunit_run
+
+ Test ostestr call_subunit_run function when:
+ Pretty is True
+ '''
+ pretty = True
+ subunit = False
+
+ with mock.patch('subprocess.Popen', autospec=True) as mock_popen:
+ mock_popen.return_value.returncode = 0
+ mock_popen.return_value.stdout = io.BytesIO()
+
+ os_testr.call_subunit_run('project.tests.foo', pretty, subunit)
+
+ # Validate Popen was called three times
+ self.assertTrue(mock_popen.called, 'Popen was never called')
+ count = mock_popen.call_count
+ self.assertEqual(3, count, 'Popen was called %s'
+ ' instead of 3 times' % count)
+
+ # Validate Popen called the right functions
+ called = mock_popen.call_args_list
+ msg = "Function %s not called"
+ function = ['python', '-m', 'subunit.run', 'project.tests.foo']
+ self.assertIn(function, called[0][0], msg % 'subunit.run')
+ function = ['testr', 'load', '--subunit']
+ self.assertIn(function, called[1][0], msg % 'testr load')
+ function = ['subunit-trace', '--no-failure-debug', '-f']
+ self.assertIn(function, called[2][0], msg % 'subunit-trace')
+
+ def test_call_subunit_run_sub(self):
+ '''Test call_subunit run
+
+ Test ostestr call_subunit_run function when:
+ Pretty is False and Subunit is True
+ '''
+ pretty = False
+ subunit = True
+
+ with mock.patch('subprocess.Popen', autospec=True) as mock_popen:
+ os_testr.call_subunit_run('project.tests.foo', pretty, subunit)
+
+ # Validate Popen was called once
+ self.assertTrue(mock_popen.called, 'Popen was never called')
+ count = mock_popen.call_count
+ self.assertEqual(1, count, 'Popen was called more than once')
+
+ # Validate Popen called the right function
+ called = mock_popen.call_args
+ function = ['testr', 'load', '--subunit']
+ self.assertIn(function, called[0], "testr load not called")
+
+ def test_call_subunit_run_testtools(self):
+ '''Test call_subunit_run
+
+ Test ostestr call_subunit_run function when:
+ Pretty is False and Subunit is False
+ '''
+ pretty = False
+ subunit = False
+
+ with mock.patch('testtools.run.main', autospec=True) as mock_run:
+ os_testr.call_subunit_run('project.tests.foo', pretty, subunit)
+
+ # Validate testtool.run was called once
+ self.assertTrue(mock_run.called, 'testtools.run was never called')
+ count = mock_run.call_count
+ self.assertEqual(1, count, 'testtools.run called more than once')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-testr-0.8.0/os_testr/tests/test_regex_builder.py new/os-testr-0.8.2/os_testr/tests/test_regex_builder.py
--- old/os-testr-0.8.0/os_testr/tests/test_regex_builder.py 2016-09-28 21:24:05.000000000 +0200
+++ new/os-testr-0.8.2/os_testr/tests/test_regex_builder.py 2017-05-16 17:12:16.000000000 +0200
@@ -174,3 +174,16 @@
def test__get_test_list(self):
test_list = os_testr._get_test_list('test__get_test_list')
self.assertIn('test__get_test_list', test_list[0])
+
+ def test__get_test_list_regex_is_empty(self):
+ test_list = os_testr._get_test_list('')
+ self.assertIn('', test_list[0])
+
+ def test__get_test_list_regex_is_none(self):
+ test_list = os_testr._get_test_list(None)
+ # NOTE(masayukig): We should get all of the tests. So we should have
+ # more than one test case.
+ self.assertGreater(len(test_list), 1)
+ self.assertIn('os_testr.tests.test_regex_builder.'
+ 'TestGetTestList.test__get_test_list_regex_is_none',
+ test_list)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-testr-0.8.0/os_testr/tests/test_subunit2html.py new/os-testr-0.8.2/os_testr/tests/test_subunit2html.py
--- old/os-testr-0.8.0/os_testr/tests/test_subunit2html.py 2016-09-28 21:24:04.000000000 +0200
+++ new/os-testr-0.8.2/os_testr/tests/test_subunit2html.py 2017-05-16 17:12:16.000000000 +0200
@@ -54,8 +54,10 @@
# example.path.to.test4 has a failure
obj.addFailure(tests[4], err)
obj.addSuccess(tests[7])
- # example.path.to.test6 has a failure
+ # example.path.to.test6 has a success, a failure, and a success
+ obj.addSuccess(tests[6])
obj.addFailure(tests[6], err)
+ obj.addSuccess(tests[6])
sorted_result = obj._sortResult(obj.result)
# _sortResult returns a list of results of format:
# [(class, [test_result_tuple, ...]), ...]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-testr-0.8.0/os_testr/tests/testlist_builder.py new/os-testr-0.8.2/os_testr/tests/testlist_builder.py
--- old/os-testr-0.8.0/os_testr/tests/testlist_builder.py 2016-09-28 21:24:05.000000000 +0200
+++ new/os-testr-0.8.2/os_testr/tests/testlist_builder.py 2017-05-16 17:12:16.000000000 +0200
@@ -38,7 +38,7 @@
self.assertEqual(r[2], [])
if r[1] == 'note':
note_cnt += 1
- self.assertIn('search', dir(r[0])) # like a compiled regexp
+ self.assertIn('search', dir(r[0])) # like a compiled regex
self.assertEqual(note_cnt, 4)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-testr-0.8.0/os_testr.egg-info/PKG-INFO new/os-testr-0.8.2/os_testr.egg-info/PKG-INFO
--- old/os-testr-0.8.0/os_testr.egg-info/PKG-INFO 2016-09-28 21:26:08.000000000 +0200
+++ new/os-testr-0.8.2/os_testr.egg-info/PKG-INFO 2017-05-16 17:13:47.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: os-testr
-Version: 0.8.0
+Version: 0.8.2
Summary: A testr wrapper to provide functionality for OpenStack projects
Home-page: http://docs.openstack.org/developer/os-testr/
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-testr-0.8.0/os_testr.egg-info/SOURCES.txt new/os-testr-0.8.2/os_testr.egg-info/SOURCES.txt
--- old/os-testr-0.8.0/os_testr.egg-info/SOURCES.txt 2016-09-28 21:26:08.000000000 +0200
+++ new/os-testr-0.8.2/os_testr.egg-info/SOURCES.txt 2017-05-16 17:13:47.000000000 +0200
@@ -58,4 +58,5 @@
os_testr/tests/utils/__init__.py
os_testr/tests/utils/test_colorizer.py
os_testr/utils/__init__.py
-os_testr/utils/colorizer.py
\ No newline at end of file
+os_testr/utils/colorizer.py
+tools/tox_install.sh
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-testr-0.8.0/os_testr.egg-info/pbr.json new/os-testr-0.8.2/os_testr.egg-info/pbr.json
--- old/os-testr-0.8.0/os_testr.egg-info/pbr.json 2016-09-28 21:26:08.000000000 +0200
+++ new/os-testr-0.8.2/os_testr.egg-info/pbr.json 2017-05-16 17:13:47.000000000 +0200
@@ -1 +1 @@
-{"is_release": true, "git_version": "0de62e3"}
\ No newline at end of file
+{"git_version": "e84d062", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-testr-0.8.0/os_testr.egg-info/requires.txt new/os-testr-0.8.2/os_testr.egg-info/requires.txt
--- old/os-testr-0.8.0/os_testr.egg-info/requires.txt 2016-09-28 21:26:08.000000000 +0200
+++ new/os-testr-0.8.2/os_testr.egg-info/requires.txt 2017-05-16 17:13:47.000000000 +0200
@@ -1,5 +1,4 @@
-pbr>=1.6
-Babel>=2.3.4
+pbr!=2.1.0,>=2.0.0
testrepository>=0.0.18
python-subunit>=0.0.18
testtools>=1.4.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-testr-0.8.0/requirements.txt new/os-testr-0.8.2/requirements.txt
--- old/os-testr-0.8.0/requirements.txt 2016-09-28 21:24:04.000000000 +0200
+++ new/os-testr-0.8.2/requirements.txt 2017-05-16 17:12:16.000000000 +0200
@@ -2,8 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-pbr>=1.6 # Apache-2.0
-Babel>=2.3.4 # BSD
+pbr!=2.1.0,>=2.0.0 # Apache-2.0
testrepository>=0.0.18 # Apache-2.0/BSD
python-subunit>=0.0.18 # Apache-2.0/BSD
testtools>=1.4.0 # MIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-testr-0.8.0/setup.cfg new/os-testr-0.8.2/setup.cfg
--- old/os-testr-0.8.0/setup.cfg 2016-09-28 21:26:08.000000000 +0200
+++ new/os-testr-0.8.2/setup.cfg 2017-05-16 17:13:47.000000000 +0200
@@ -38,22 +38,7 @@
[upload_sphinx]
upload-dir = doc/build/html
-[compile_catalog]
-directory = os_testr/locale
-domain = os-testr
-
-[update_catalog]
-domain = os-testr
-output_dir = os_testr/locale
-input_file = os_testr/locale/os-testr.pot
-
-[extract_messages]
-keywords = _ gettext ngettext l_ lazy_gettext
-mapping_file = babel.cfg
-output_file = os_testr/locale/os-testr.pot
-
[egg_info]
tag_build =
tag_date = 0
-tag_svn_revision = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-testr-0.8.0/setup.py new/os-testr-0.8.2/setup.py
--- old/os-testr-0.8.0/setup.py 2016-09-28 21:24:04.000000000 +0200
+++ new/os-testr-0.8.2/setup.py 2017-05-16 17:12:16.000000000 +0200
@@ -25,5 +25,5 @@
pass
setuptools.setup(
- setup_requires=['pbr>=1.8'],
+ setup_requires=['pbr>=2.0.0'],
pbr=True)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-testr-0.8.0/test-requirements.txt new/os-testr-0.8.2/test-requirements.txt
--- old/os-testr-0.8.0/test-requirements.txt 2016-09-28 21:24:05.000000000 +0200
+++ new/os-testr-0.8.2/test-requirements.txt 2017-05-16 17:12:16.000000000 +0200
@@ -2,10 +2,10 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-hacking<0.11,>=0.10.2 # Apache-2.0
+hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
-coverage>=3.6 # Apache-2.0
-sphinx!=1.3b1,<1.4,>=1.2.1 # BSD
+coverage!=4.4,>=4.0 # Apache-2.0
+sphinx>=1.5.1 # BSD
oslosphinx>=4.7.0 # Apache-2.0
oslotest>=1.10.0 # Apache-2.0
testscenarios>=0.4 # Apache-2.0/BSD
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-testr-0.8.0/tools/tox_install.sh new/os-testr-0.8.2/tools/tox_install.sh
--- old/os-testr-0.8.0/tools/tox_install.sh 1970-01-01 01:00:00.000000000 +0100
+++ new/os-testr-0.8.2/tools/tox_install.sh 2017-05-16 17:12:16.000000000 +0200
@@ -0,0 +1,30 @@
+#!/usr/bin/env bash
+
+# Client constraint file contains this client version pin that is in conflict
+# with installing the client from source. We should remove the version pin in
+# the constraints file before applying it for from-source installation.
+
+CONSTRAINTS_FILE="$1"
+shift 1
+
+set -e
+
+# NOTE(tonyb): Place this in the tox enviroment's log dir so it will get
+# published to logs.openstack.org for easy debugging.
+localfile="$VIRTUAL_ENV/log/upper-constraints.txt"
+
+if [[ "$CONSTRAINTS_FILE" != http* ]]; then
+ CONSTRAINTS_FILE="file://$CONSTRAINTS_FILE"
+fi
+# NOTE(tonyb): need to add curl to bindep.txt if the project supports bindep
+curl "$CONSTRAINTS_FILE" --insecure --progress-bar --output "$localfile"
+
+pip install -c"$localfile" openstack-requirements
+
+# This is the main purpose of the script: Allow local installation of
+# the current repo. It is listed in constraints file and thus any
+# install will be constrained and we need to unconstrain it.
+edit-constraints "$localfile" -- "$CLIENT_NAME"
+
+pip install -c"$localfile" -U "$@"
+exit $?
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-testr-0.8.0/tox.ini new/os-testr-0.8.2/tox.ini
--- old/os-testr-0.8.0/tox.ini 2016-09-28 21:24:04.000000000 +0200
+++ new/os-testr-0.8.2/tox.ini 2017-05-16 17:12:16.000000000 +0200
@@ -1,13 +1,15 @@
[tox]
-minversion = 1.6
+minversion = 2.0
envlist = py35,py34,py27,pypy,pep8
skipsdist = True
[testenv]
usedevelop = True
-install_command = pip install -U {opts} {packages}
+install_command = {toxinidir}/tools/tox_install.sh {env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
+ BRANCH_NAME=master
+ CLIENT_NAME=os-testr
whitelist_externals = find
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
1
0
Hello community,
here is the log from the commit of package python-oslo.vmware for openSUSE:Factory checked in at 2017-08-28 15:31:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.vmware (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.vmware.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.vmware"
Mon Aug 28 15:31:43 2017 rev:10 rq:515009 version:2.23.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.vmware/python-oslo.vmware.changes 2017-02-21 13:42:40.705220232 +0100
+++ /work/SRC/openSUSE:Factory/.python-oslo.vmware.new/python-oslo.vmware.changes 2017-08-28 15:31:44.945738077 +0200
@@ -1,0 +2,28 @@
+Mon Aug 7 13:59:56 UTC 2017 - cloud-devel(a)suse.de
+
+- update to version 2.23.0
+ - Trivial: Remove testscenarios from test-requirements.txt
+ - rearrange existing documentation to fit the new standard layout
+ - Make the mock call in MemoryCacheTest forward-compatible
+ - Remove log translations
+ - Make sure host in maintenance mode excluded from image upload
+ - Add hacking rule to prevent log translations
+ - Wrong member variable name in class Datastore
+ - Improve unit test coverage
+ - Use https for references to openstack.org
+ - Use request_handler() for ExtensionManager APIs
+ - Update URLs in documents according to document migration
+ - [Fix gate]Update test requirement
+ - pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz)
+ - Update reno for stable/ocata
+ - Do not prune some special XML elements which are empty
+ - Improving cover testenv
+ - Improve logging for task updates
+ - Updated from global requirements
+ - Enable warning-is-error in doc build
+ - Switch from oslosphinx to openstackdocstheme
+ - Add in support for removeKey
+- drop 0001-Make-the-mock-call-in-MemoryCacheTest-forward-compat.patch
+ Applied upstream
+
+-------------------------------------------------------------------
Old:
----
0001-Make-the-mock-call-in-MemoryCacheTest-forward-compat.patch
oslo.vmware-2.17.0.tar.gz
New:
----
oslo.vmware-2.23.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.vmware.spec ++++++
--- /var/tmp/diff_new_pack.fNdZ3A/_old 2017-08-28 15:31:45.653638555 +0200
+++ /var/tmp/diff_new_pack.fNdZ3A/_new 2017-08-28 15:31:45.657637993 +0200
@@ -18,17 +18,16 @@
%global pypi_name oslo.vmware
Name: python-oslo.vmware
-Version: 2.17.0
+Version: 2.23.0
Release: 0
Summary: Oslo VMware library for OpenStack projects
License: Apache-2.0
Group: Development/Languages/Python
Url: http://launchpad.net/oslo.vmware
Source0: https://pypi.io/packages/source/o/%{pypi_name}/%{pypi_name}-%{version}.tar.…
-#FIXME(jpena): remove patch once it is fixed upstream (https://review.openstack.org/355851)
-Patch0001: 0001-Make-the-mock-call-in-MemoryCacheTest-forward-compat.patch
BuildRequires: openstack-macros
BuildRequires: python-Babel >= 2.3.4
+BuildRequires: python-ddt >= 1.0.1
BuildRequires: python-devel
BuildRequires: python-eventlet >= 0.18.2
BuildRequires: python-fixtures >= 3.0.0
@@ -38,27 +37,27 @@
BuildRequires: python-netaddr >= 0.7.13
BuildRequires: python-oslo.concurrency >= 3.8.0
BuildRequires: python-oslo.i18n >= 2.1.0
-BuildRequires: python-oslo.utils >= 3.18.0
-BuildRequires: python-pbr >= 1.8
+BuildRequires: python-oslo.utils >= 3.20.0
+BuildRequires: python-pbr >= 2.0.0
BuildRequires: python-python-subunit >= 0.0.18
-BuildRequires: python-requests >= 2.10.0
+BuildRequires: python-requests >= 2.14.2
BuildRequires: python-suds-jurko >= 0.6
BuildRequires: python-testrepository >= 0.0.18
BuildRequires: python-testscenarios >= 0.4
BuildRequires: python-testtools >= 1.4.0
-BuildRequires: python-urllib3 >= 1.15.1
+BuildRequires: python-urllib3 >= 1.21.1
Requires: python-PyYAML >= 3.10.0
Requires: python-eventlet >= 0.18.2
Requires: python-lxml >= 2.3
Requires: python-netaddr >= 0.7.13
Requires: python-oslo.concurrency >= 3.8.0
Requires: python-oslo.i18n >= 2.1.0
-Requires: python-oslo.utils >= 3.18.0
-Requires: python-requests >= 2.10.0
+Requires: python-oslo.utils >= 3.20.0
+Requires: python-requests >= 2.14.2
Requires: python-six >= 1.9.0
-Requires: python-stevedore >= 1.17.1
+Requires: python-stevedore >= 1.20.0
Requires: python-suds-jurko >= 0.6
-Requires: python-urllib3 >= 1.15.1
+Requires: python-urllib3 >= 1.21.1
BuildArch: noarch
%description
@@ -73,15 +72,16 @@
Summary: Documentation for OpenStack common VMware library
Group: Development/Languages/Python
BuildRequires: python-Sphinx
-BuildRequires: python-oslosphinx >= 4.7.0
+BuildRequires: python-openstackdocstheme >= 1.11.0
Requires: %{name} = %{version}
%description doc
Documentation for OpenStack common VMware library.
%prep
-%autosetup -n %{pypi_name}-%{version} -p1
+%autosetup -n %{pypi_name}-%{version}
%py_req_cleanup
+sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
%build
%py2_build
++++++ _service ++++++
--- /var/tmp/diff_new_pack.fNdZ3A/_old 2017-08-28 15:31:45.717629559 +0200
+++ /var/tmp/diff_new_pack.fNdZ3A/_new 2017-08-28 15:31:45.717629559 +0200
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/open…</param>
+ <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/opens…</param>
<param name="output-name">python-oslo.vmware.spec</param>
- <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/glob…</param>
+ <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/globa…</param>
<param name="changelog-email">cloud-devel(a)suse.de</param>
<param name="changelog-provider">gh,openstack,oslo.vmware</param>
</service>
++++++ oslo.vmware-2.17.0.tar.gz -> oslo.vmware-2.23.0.tar.gz ++++++
++++ 1830 lines of diff (skipped)
1
0
28 Aug '17
Hello community,
here is the log from the commit of package python-oslo.versionedobjects for openSUSE:Factory checked in at 2017-08-28 15:31:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslo.versionedobjects (Old)
and /work/SRC/openSUSE:Factory/.python-oslo.versionedobjects.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslo.versionedobjects"
Mon Aug 28 15:31:41 2017 rev:3 rq:515007 version:1.26.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslo.versionedobjects/python-oslo.versionedobjects.changes 2017-02-21 13:42:35.509953150 +0100
+++ /work/SRC/openSUSE:Factory/.python-oslo.versionedobjects.new/python-oslo.versionedobjects.changes 2017-08-28 15:31:42.786041700 +0200
@@ -1,0 +2,20 @@
+Mon Aug 7 13:58:38 UTC 2017 - cloud-devel(a)suse.de
+
+- update to version 1.26.0
+ - rearrange existing documentation to fit the new standard layout
+ - Fix the object is unhashable when inheriting the class
+ - Add unit test for unicode in object __repr__
+ - Update URLs in documents according to document migration
+ - Fix string interpolation in ValueError
+ - Start adding some basic ovo examples (with an initial basic one)
+ - Change Object schema type to be array instead of string.
+ - [Fix gate]Update test requirement
+ - fields: fix stringifying of objects when subclasses=True
+ - Remove support for py34
+ - Update reno for stable/ocata
+ - Remove pbr warnerrors in favor of sphinx check
+ - Updated from global requirements
+ - Enable warning-is-error in doc build
+ - switch from oslosphinx to openstackdocstheme
+
+-------------------------------------------------------------------
Old:
----
oslo.versionedobjects-1.21.0.tar.gz
New:
----
oslo.versionedobjects-1.26.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslo.versionedobjects.spec ++++++
--- /var/tmp/diff_new_pack.kAb3SI/_old 2017-08-28 15:31:43.413953424 +0200
+++ /var/tmp/diff_new_pack.kAb3SI/_new 2017-08-28 15:31:43.417952862 +0200
@@ -17,7 +17,7 @@
Name: python-oslo.versionedobjects
-Version: 1.21.0
+Version: 1.26.0
Release: 0
Summary: Oslo Versioned Objects library
License: Apache-2.0
@@ -29,28 +29,28 @@
BuildRequires: python-iso8601 >= 0.1.11
BuildRequires: python-jsonschema >= 2.0.0
BuildRequires: python-oslo.concurrency >= 3.8.0
-BuildRequires: python-oslo.config >= 3.14.0
-BuildRequires: python-oslo.context >= 2.9.0
+BuildRequires: python-oslo.config >= 4.0.0
+BuildRequires: python-oslo.context >= 2.14.0
BuildRequires: python-oslo.i18n >= 2.1.0
-BuildRequires: python-oslo.log >= 3.11.0
-BuildRequires: python-oslo.messaging >= 5.14.0
+BuildRequires: python-oslo.log >= 3.22.0
+BuildRequires: python-oslo.messaging >= 5.24.2
BuildRequires: python-oslo.serialization >= 1.10.0
-BuildRequires: python-oslo.utils >= 3.18.0
+BuildRequires: python-oslo.utils >= 3.20.0
BuildRequires: python-oslotest >= 1.10.0
-BuildRequires: python-pbr >= 1.8
+BuildRequires: python-pbr >= 2.0.0
BuildRequires: python-testtools >= 1.4.0
-Requires: python-WebOb >= 1.6.0
+Requires: python-WebOb >= 1.7.1
Requires: python-iso8601 >= 0.1.11
Requires: python-jsonschema >= 2.0.0
Requires: python-netaddr >= 0.7.13
Requires: python-oslo.concurrency >= 3.8.0
-Requires: python-oslo.config >= 3.14.0
-Requires: python-oslo.context >= 2.9.0
+Requires: python-oslo.config >= 4.0.0
+Requires: python-oslo.context >= 2.14.0
Requires: python-oslo.i18n >= 2.1.0
-Requires: python-oslo.log >= 3.11.0
-Requires: python-oslo.messaging >= 5.14.0
+Requires: python-oslo.log >= 3.22.0
+Requires: python-oslo.messaging >= 5.24.2
Requires: python-oslo.serialization >= 1.10.0
-Requires: python-oslo.utils >= 3.18.0
+Requires: python-oslo.utils >= 3.20.0
Requires: python-six >= 1.9.0
BuildArch: noarch
@@ -66,7 +66,7 @@
Summary: osloversionedobjects library - Documentation
Group: Documentation/HTML
BuildRequires: python-Sphinx
-BuildRequires: python-oslosphinx >= 4.7.0
+BuildRequires: python-openstackdocstheme >= 1.11.0
Requires: %{name} = %{version}
%description doc
@@ -75,6 +75,7 @@
%prep
%autosetup -n oslo.versionedobjects-%{version}
%py_req_cleanup
+sed -i 's/^warning-is-error.*/warning-is-error = 0/g' setup.cfg
%build
%{py2_build}
++++++ _service ++++++
--- /var/tmp/diff_new_pack.kAb3SI/_old 2017-08-28 15:31:43.461946677 +0200
+++ /var/tmp/diff_new_pack.kAb3SI/_new 2017-08-28 15:31:43.461946677 +0200
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/open…</param>
+ <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/opens…</param>
<param name="output-name">python-oslo.versionedobjects.spec</param>
- <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/glob…</param>
+ <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/globa…</param>
<param name="changelog-email">cloud-devel(a)suse.de</param>
<param name="changelog-provider">gh,openstack,oslo.versionedobjects</param>
</service>
++++++ oslo.versionedobjects-1.21.0.tar.gz -> oslo.versionedobjects-1.26.0.tar.gz ++++++
++++ 4136 lines of diff (skipped)
1
0
Hello community,
here is the log from the commit of package python-oslotest for openSUSE:Factory checked in at 2017-08-28 15:31:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-oslotest (Old)
and /work/SRC/openSUSE:Factory/.python-oslotest.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-oslotest"
Mon Aug 28 15:31:39 2017 rev:11 rq:515002 version:2.17.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-oslotest/python-oslotest.changes 2017-02-21 13:46:57.313021825 +0100
+++ /work/SRC/openSUSE:Factory/.python-oslotest.new/python-oslotest.changes 2017-08-28 15:31:41.134273916 +0200
@@ -1,0 +2,15 @@
+Mon Aug 7 13:56:48 UTC 2017 - cloud-devel(a)suse.de
+
+- update to version 2.17.0
+ - Remove pbr warnerrors in favor of sphinx check
+ - Trivial fix style in document
+ - Using fixtures instead of deprecated mockpatch module
+ - rearrange content to fit the new standard layout
+ - Update URLs in documents according to document migration
+ - [Fix gate]Update test requirement
+ - Update reno for stable/ocata
+ - Remove support for py34
+ - Updated from global requirements
+ - Switch from oslosphinx to openstackdocstheme
+
+-------------------------------------------------------------------
Old:
----
oslotest-2.13.0.tar.gz
New:
----
oslotest-2.17.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-oslotest.spec ++++++
--- /var/tmp/diff_new_pack.Vv37p2/_old 2017-08-28 15:31:41.878169334 +0200
+++ /var/tmp/diff_new_pack.Vv37p2/_new 2017-08-28 15:31:41.882168771 +0200
@@ -17,7 +17,7 @@
Name: python-oslotest
-Version: 2.13.0
+Version: 2.17.0
Release: 0
Summary: OpenStack test framework
License: Apache-2.0
@@ -25,12 +25,12 @@
Url: https://launchpad.net/oslotest
Source0: https://pypi.io/packages/source/o/oslotest/oslotest-%{version}.tar.gz
BuildRequires: openstack-macros
-## BuildRequires: python-debtcollector >= 1.2.0
+BuildRequires: python-debtcollector >= 1.2.0
BuildRequires: python-devel
BuildRequires: python-fixtures >= 3.0.0
BuildRequires: python-mock >= 2.0
BuildRequires: python-mox3 >= 0.7.0
-BuildRequires: python-pbr >= 1.8
+BuildRequires: python-pbr >= 2.0.0
BuildRequires: python-python-subunit >= 0.0.18
BuildRequires: python-six >= 1.9.0
BuildRequires: python-testrepository >= 0.0.18
@@ -40,7 +40,7 @@
Requires: python-mock >= 2.0
Requires: python-mox3 >= 0.7.0
# NOTE: python-os-client-config is only needed for functional testing
-# Requires: python-os-client-config >= 1.22.0
+# Requires: python-os-client-config >= 1.27.0
Requires: python-python-subunit >= 0.0.18
Requires: python-six >= 1.9.0
Requires: python-testrepository >= 0.0.18
@@ -61,8 +61,8 @@
%install
%{py2_install}
-## %check
-# %{__python2} setup.py test
+%check
+%{__python2} setup.py test
%files
%license LICENSE
++++++ _service ++++++
--- /var/tmp/diff_new_pack.Vv37p2/_old 2017-08-28 15:31:41.938160900 +0200
+++ /var/tmp/diff_new_pack.Vv37p2/_new 2017-08-28 15:31:41.942160338 +0200
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/open…</param>
+ <param name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/opens…</param>
<param name="output-name">python-oslotest.spec</param>
- <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/ocata/glob…</param>
+ <param name="requirements">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/pike/globa…</param>
<param name="changelog-email">cloud-devel(a)suse.de</param>
<param name="changelog-provider">gh,openstack,oslotest</param>
</service>
++++++ oslotest-2.13.0.tar.gz -> oslotest-2.17.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/AUTHORS new/oslotest-2.17.0/AUTHORS
--- old/oslotest-2.13.0/AUTHORS 2017-01-18 15:12:34.000000000 +0100
+++ new/oslotest-2.17.0/AUTHORS 2017-07-18 15:10:30.000000000 +0200
@@ -29,21 +29,27 @@
Joshua Harlow <harlowja(a)yahoo-inc.com>
Julien Danjou <julien(a)danjou.info>
Luis A. Garcia <luis(a)linux.vnet.ibm.com>
+Luong Anh Tuan <tuanla(a)vn.fujitsu.com>
Marc Koderer <m.koderer(a)telekom.de>
Mark McLoughlin <markmc(a)redhat.com>
Masayuki Igawa <masayuki.igawa(a)gmail.com>
Mauro S. M. Rodrigues <maurosr(a)linux.vnet.ibm.com>
Monty Taylor <mordred(a)inaugust.com>
Noorul Islam K M <noorul(a)noorul.com>
+OpenStack Release Bot <infra-root(a)openstack.org>
Rajaram Mallya <rajarammallya(a)gmail.com>
Ronald Bradford <ronald.bradford(a)gmail.com>
Sergey Kraynev <skraynev(a)mirantis.com>
Soren Hansen <soren(a)linux2go.dk>
Steve Martinelli <stevemar(a)ca.ibm.com>
Tony Breeds <tony(a)bakeyournoodle.com>
+Van Hung Pham <hungpv(a)vn.fujitsu.com>
Victor Stinner <vstinner(a)redhat.com>
+Vu Cong Tuan <tuanvc(a)vn.fujitsu.com>
Yuriy Taraday <yorik.sar(a)gmail.com>
Zhongyue Luo <zhongyue.nah(a)intel.com>
+kavithahr <kavitha.r(a)nectechnologies.in>
melissaml <ma.lei(a)99cloud.net>
+ricolin <rico.lin(a)easystack.cn>
venkatamahesh <venkatamaheshkotha(a)gmail.com>
yan.haifeng <yanheven(a)qq.com>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/ChangeLog new/oslotest-2.17.0/ChangeLog
--- old/oslotest-2.13.0/ChangeLog 2017-01-18 15:12:34.000000000 +0100
+++ new/oslotest-2.17.0/ChangeLog 2017-07-18 15:10:30.000000000 +0200
@@ -1,6 +1,46 @@
CHANGES
=======
+2.17.0
+------
+
+* Update URLs in documents according to document migration
+* rearrange content to fit the new standard layout
+* Using fixtures instead of deprecated mockpatch module
+
+2.16.1
+------
+
+* Switch from oslosphinx to openstackdocstheme
+
+2.16.0
+------
+
+* Updated from global requirements
+* Trivial fix style in document
+* Updated from global requirements
+* Remove pbr warnerrors in favor of sphinx check
+* Updated from global requirements
+* Updated from global requirements
+* Updated from global requirements
+* Updated from global requirements
+* Updated from global requirements
+
+2.15.0
+------
+
+* Updated from global requirements
+* Remove support for py34
+
+2.14.0
+------
+
+* Updated from global requirements
+* [Fix gate]Update test requirement
+* Updated from global requirements
+* Update reno for stable/ocata
+* Updated from global requirements
+
2.13.0
------
@@ -96,7 +136,7 @@
* Fix coverage configuration and execution
* Updated from global requirements
-* Add documentation about using oslo_debug_helper
+* Add documentation about using oslo\_debug\_helper
* add oslo.config a test requirement
* clean up readme and doc title
* clean up toctree
@@ -113,7 +153,7 @@
1.10.0
------
-* Allow TRACE and integer logging levels for 'OS_DEBUG'
+* Allow TRACE and integer logging levels for 'OS\_DEBUG'
* Updated from global requirements
* Updated from global requirements
* Updated from global requirements
@@ -132,7 +172,7 @@
-----
* Updated from global requirements
-* Allow ``OS_DEBUG`` environment variable to specify log level
+* Allow \`\`OS\_DEBUG\`\` environment variable to specify log level
* Updated from global requirements
* always rebuild cross-test venv
* Add CreateFileWithContent fixture
@@ -145,12 +185,12 @@
-----
* Updated from global requirements
-* Fix argument handling in oslo_run_cross_tests
+* Fix argument handling in oslo\_run\_cross\_tests
* Add class to deal with clouds.yaml support
* Remove unneeded runtime pbr dep
* Updated from global requirements
* Advertise support for Python3.4 / Remove support for Python 3.3
-* Do not sync run_cross_tests.sh
+* Do not sync run\_cross\_tests.sh
* Remove unused discover dependency
1.6.0
@@ -183,7 +223,7 @@
* Publish cross-test runner as part of oslotest
* Remove six.moves call
* Fix for mktemp failure on osx
-* Activate pep8 check that _ is imported
+* Activate pep8 check that \_ is imported
* Workflow documentation is now in infra-manual
* Fix the URL for reporting bugs in the README
@@ -194,19 +234,19 @@
* Updated from global requirements
* Updated from global requirements
* Add pbr to installation requirements
-* Clean up the docs for oslo_debug_helper
+* Clean up the docs for oslo\_debug\_helper
1.2.0
-----
* Updated from global requirements
-* Set install_command in tox to avoid pre-releases
+* Set install\_command in tox to avoid pre-releases
* Add an extra parameter for test directory in debugger script
* Handle tempfile content encoding
* Work toward Python 3.4 support and testing
* Add links to best practices video and etherpad
* Updated from global requirements
-* Drop .sh extension from oslo_debug_helper.sh
+* Drop .sh extension from oslo\_debug\_helper.sh
* Add history/changelog to docs
* fix typo and formatting in contributing docs
@@ -218,7 +258,7 @@
* Ensure that mock.patch.stopall is called last
* Remove differences between Python 2.x and 3.x versions
* Require six
-* Add documentation for running oslo_debug_heler.sh
+* Add documentation for running oslo\_debug\_heler.sh
* Restructure oslotest docs
* Add pdb support to tox with debug helper shell script
* Updated from global requirements
@@ -244,7 +284,7 @@
1.0.0
-----
-* Import run_cross_tests.sh from oslo-incubator
+* Import run\_cross\_tests.sh from oslo-incubator
* Fix up documentation files
* Fake logger as instance attribute
* Require testrepository and other tools at runtime
@@ -290,7 +330,7 @@
* Add eclipse project files to .gitignore
* Add .testrepository to .gitignore
* Ignore backup files in .gitignore
-* Add join_consumer_pool() to RPC connections
+* Add join\_consumer\_pool() to RPC connections
* Add a fixture for dealing with mock patching
* Start adding reusable test fixtures
* updating sphinx documentation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/HACKING.rst new/oslotest-2.17.0/HACKING.rst
--- old/oslotest-2.13.0/HACKING.rst 2017-01-18 15:10:36.000000000 +0100
+++ new/oslotest-2.17.0/HACKING.rst 2017-07-18 15:08:50.000000000 +0200
@@ -1,4 +1,4 @@
Style Commandments
===============================================
-Read the OpenStack Style Commandments http://docs.openstack.org/developer/hacking/
\ No newline at end of file
+Read the OpenStack Style Commandments https://docs.openstack.org/hacking/latest/
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/PKG-INFO new/oslotest-2.17.0/PKG-INFO
--- old/oslotest-2.13.0/PKG-INFO 2017-01-18 15:12:34.000000000 +0100
+++ new/oslotest-2.17.0/PKG-INFO 2017-07-18 15:10:30.000000000 +0200
@@ -1,8 +1,8 @@
Metadata-Version: 1.1
Name: oslotest
-Version: 2.13.0
+Version: 2.17.0
Summary: Oslo test framework
-Home-page: http://docs.openstack.org/developer/oslotest
+Home-page: https://docs.openstack.org/oslotest/latest/
Author: OpenStack
Author-email: openstack-dev(a)lists.openstack.org
License: UNKNOWN
@@ -23,9 +23,9 @@
better support for mocking results.
* Free software: Apache license
- * Documentation: http://docs.openstack.org/developer/oslotest
- * Source: http://git.openstack.org/cgit/openstack/oslotest
- * Bugs: http://bugs.launchpad.net/oslotest
+ * Documentation: https://docs.openstack.org/oslotest/latest/
+ * Source: https://git.openstack.org/cgit/openstack/oslotest
+ * Bugs: https://bugs.launchpad.net/oslotest
Platform: UNKNOWN
@@ -38,5 +38,4 @@
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/README.rst new/oslotest-2.17.0/README.rst
--- old/oslotest-2.13.0/README.rst 2017-01-18 15:10:36.000000000 +0100
+++ new/oslotest-2.17.0/README.rst 2017-07-18 15:08:50.000000000 +0200
@@ -15,6 +15,6 @@
better support for mocking results.
* Free software: Apache license
-* Documentation: http://docs.openstack.org/developer/oslotest
-* Source: http://git.openstack.org/cgit/openstack/oslotest
-* Bugs: http://bugs.launchpad.net/oslotest
+* Documentation: https://docs.openstack.org/oslotest/latest/
+* Source: https://git.openstack.org/cgit/openstack/oslotest
+* Bugs: https://bugs.launchpad.net/oslotest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/conf.py new/oslotest-2.17.0/doc/source/conf.py
--- old/oslotest-2.13.0/doc/source/conf.py 2017-01-18 15:10:36.000000000 +0100
+++ new/oslotest-2.17.0/doc/source/conf.py 2017-07-18 15:08:50.000000000 +0200
@@ -23,7 +23,7 @@
extensions = [
'sphinx.ext.autodoc',
#'sphinx.ext.intersphinx',
- 'oslosphinx'
+ 'openstackdocstheme',
]
# autodoc generation is a bit aggressive and a nuisance when doing heavy
@@ -56,12 +56,22 @@
# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
# html_theme_path = ["."]
-# html_theme = '_theme'
# html_static_path = ['static']
+html_theme = 'openstackdocs'
+
+# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
+# using the given strftime format.
+# html_last_updated_fmt = '%b %d, %Y'
+html_last_updated_fmt = '%Y-%m-%d %H:%M'
# Output file base name for HTML help builder.
htmlhelp_basename = '%sdoc' % project
+# openstackdocstheme options
+repository_name = 'openstack/oslotest'
+bug_project = 'oslotest'
+bug_tag = ''
+
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass
# [howto/manual]).
@@ -74,3 +84,4 @@
# Example configuration for intersphinx: refer to the Python standard library.
#intersphinx_mapping = {'http://docs.python.org/': None}
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/contributing.rst new/oslotest-2.17.0/doc/source/contributing.rst
--- old/oslotest-2.13.0/doc/source/contributing.rst 2017-01-18 15:10:36.000000000 +0100
+++ new/oslotest-2.17.0/doc/source/contributing.rst 1970-01-01 01:00:00.000000000 +0100
@@ -1,5 +0,0 @@
-============
-Contributing
-============
-
-.. include:: ../../CONTRIBUTING.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/contributor/index.rst new/oslotest-2.17.0/doc/source/contributor/index.rst
--- old/oslotest-2.13.0/doc/source/contributor/index.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/oslotest-2.17.0/doc/source/contributor/index.rst 2017-07-18 15:08:50.000000000 +0200
@@ -0,0 +1,5 @@
+============
+Contributing
+============
+
+.. include:: ../../../CONTRIBUTING.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/cross-testing.rst new/oslotest-2.17.0/doc/source/cross-testing.rst
--- old/oslotest-2.13.0/doc/source/cross-testing.rst 2017-01-18 15:10:36.000000000 +0100
+++ new/oslotest-2.17.0/doc/source/cross-testing.rst 1970-01-01 01:00:00.000000000 +0100
@@ -1,102 +0,0 @@
-============================
- Cross-project Unit Testing
-============================
-
-Libraries in OpenStack have an unusual ability to introduce breaking
-changes. All of the projects are run together from source in one form
-or another during the integration tests, but they are not combined
-from source when unit tests are run. The server applications do not
-generally import code from other projects, so their unit tests are
-isolated. The libraries, however, are fundamentally intended to be
-used during unit tests as well as integration tests. Testing the full
-cross-product of libraries and consuming projects would consume all
-available test servers, and so we cannot run all of the tests on all
-patches to the libraries. As an alternative, we have a few scripts in
-``oslotest`` for running the unit tests in serial. The result takes
-far too long (usually overnight) to run in the OpenStack
-infrastructure. Instead, they are usually run by hand on a dedicated
-system. A cloud VM works well for this purpose, especially considering
-how much of it is now automated.
-
-Check Out OpenStack Source
-==========================
-
-The first step for all of the cross-project unit tests tools is to
-ensure that you have a full copy of the OpenStack source checked
-out. You can do this yourself through gerrit's ssh API, or you can use
-the ``clone_openstack.sh`` command in the tools directory of the
-``openstack/oslo-incubator`` repository.
-
-For example::
-
- $ mkdir -p ~/repos/openstack
- $ cd ~/repos/openstack
- $ git clone git://git.openstack.org/openstack/oslo-incubator
- $ cd ~/repos
- $ ./openstack/oslo-incubator/tools/clone_openstack.sh
-
-The first time the script runs it will take quite some time, since it
-has to download the entire history of every OpenStack project.
-
-Testing One Project
-===================
-
-``oslo_run_cross_tests`` runs one set of unit tests for one library
-against all of the consuming projects. It should be run from the
-directory with the library to be tested, and passed arguments telling
-it about another project whose tests should be run.
-
-For example, to run the ``py27`` test suite from nova using the
-currently checked out sources for ``oslo.config``, run::
-
- $ cd ~/repos/openstack/oslo.config
- $ tox -e venv -- oslo_run_cross_tests ~/repos/openstack/nova py27
-
-Testing All Consumers
-=====================
-
-``oslo_run_pre_release_tests`` builds on ``oslo_run_cross_tests`` to
-find all of the consuming projects and run their tests
-automatically. The pre-release script needs to know where the source
-has been checked out, so the first step is to create its configuration
-file.
-
-Edit ``~/.oslo.conf`` to contain::
-
- [DEFAULT]
- repo_root = /path/to/repos
-
-Replace ``/path/to/repos`` with the full, expanded, absolute path to
-the location where the source code was checked out. For example, if
-you followed the instructions above using ``clone_openstack.sh`` in
-``~/repos`` and your user name is ``theuser`` the path would be
-``/home/theuser/repos``.
-
-Returning to the earlier example, to test ``oslo.config`` with all of
-the projects that use it, go to the ``oslo.config`` source directory
-and run ``oslo_run_pre_release_tests``.
-
-::
-
- $ cd ~/repos/openstack/oslo.config
- $ tox -e venv -- oslo_run_pre_release_tests
-
-The output for each test set is logged to a separate file in the
-current directory, to make them easy to examine.
-
-Use the ``--update`` or ``-u`` option to force a ``git pull`` for each
-consuming projects before running its tests (useful for maintaining a
-long-running system to host these tests).
-
-Use the ``--verbose`` or ``-v`` option to report more verbosely about
-what is happening, including the number of projects being tested.
-
-Use ``--env`` or ``-e`` to add a tox environment to test. By default
-the ``py27`` and ``pep8`` environments are used because those have
-been shown to provide a good balance between finding problems and
-running the tests quickly.
-
-Use the ``--ref`` option to test a specific commit reference of the
-library under test. The default is to leave the source directory
-untouched, but if this option is specified ``git checkout`` is used to
-force the source tree to the specified reference.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/debugging.rst new/oslotest-2.17.0/doc/source/debugging.rst
--- old/oslotest-2.13.0/doc/source/debugging.rst 2017-01-18 15:10:36.000000000 +0100
+++ new/oslotest-2.17.0/doc/source/debugging.rst 1970-01-01 01:00:00.000000000 +0100
@@ -1,29 +0,0 @@
-=================
- Debugging Tests
-=================
-
-Running tests through testrepository_ makes it difficult to use pdb for
-debugging them. oslotest includes ``oslo_debug_helper`` to make using
-pdb simpler/possible.
-
-First, add a pdb call to the test code::
-
- import pdb; pdb.set_trace()
-
-Then run the tests through ``oslo_debug_helper`` like
-
-::
-
- $ oslo_debug_helper [tests to run]
-
-or
-
-::
-
- $ tox -e venv -- oslo_debug_helper [tests to run]
-
-.. seealso::
-
- * https://wiki.openstack.org/wiki/Testr
-
-.. _testrepository: https://pypi.python.org/pypi/testrepository
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/features.rst new/oslotest-2.17.0/doc/source/features.rst
--- old/oslotest-2.13.0/doc/source/features.rst 2017-01-18 15:10:36.000000000 +0100
+++ new/oslotest-2.17.0/doc/source/features.rst 1970-01-01 01:00:00.000000000 +0100
@@ -1,64 +0,0 @@
-==========
- Features
-==========
-
-Debugging with oslo_debug_helper
-================================
-
-The oslotest package also distributes a shell file that may be used to assist
-in debugging python code. The shell file uses testtools, and supports debugging
-with `pdb <https://docs.python.org/2/library/pdb.html>`_.
-
-Adding breakpoints to the code
-------------------------------
-
-The typical usage to break into the debugger from a running program is to
-insert:
-
-.. code-block:: python
-
- import pdb; pdb.set_trace()
-
-Update tox.ini
---------------
-
-Within the ``tox.ini`` file of your project add the following::
-
- [testenv:debug]
- commands = oslo_debug_helper {posargs}
-
-If the project name, and the module that precedes the tests directory do not
-match, then consider passing a `-t` argument to `oslo_debug_helper` to
-indicate the directory where tests are located.
-
-For example, the ``python-keystoneclient`` project has tests in
-``keystoneclient/tests``, thus it would have to pass in::
-
- [testenv:debug]
- commands = oslo_debug_helper -t keystoneclient/tests {posargs}
-
-Similarly, most ``oslo`` projects have the tests at the package level, it
-would have to pass in::
-
- [testenv:debug]
- commands = oslo_debug_helper -t tests {posargs}
-
-Debugging with tox
-------------------
-
-To enable debugging, run tox with the ``debug`` environment:
-
-.. code-block:: bash
-
- $ tox -e debug
- $ tox -e debug test_notifications
- $ tox -e debug test_notifications.NotificationsTestCase
- $ tox -e debug test_notifications.NotificationsTestCase.test_send_notification
-
-Which results in an interactive prompt:
-
-.. code-block:: bash
-
- > /opt/stack/ceilometer/ceilometer/tests/identity/test_notifications.py(106)notification_for_role_change()
- -> action_name = '%s.%s' % (action, ROLE_ASSIGNMENT)
- (Pdb)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/history.rst new/oslotest-2.17.0/doc/source/history.rst
--- old/oslotest-2.13.0/doc/source/history.rst 2017-01-18 15:10:36.000000000 +0100
+++ new/oslotest-2.17.0/doc/source/history.rst 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-.. include:: ../../ChangeLog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/index.rst new/oslotest-2.17.0/doc/source/index.rst
--- old/oslotest-2.13.0/doc/source/index.rst 2017-01-18 15:10:36.000000000 +0100
+++ new/oslotest-2.17.0/doc/source/index.rst 2017-07-18 15:08:50.000000000 +0200
@@ -1,33 +1,14 @@
-=======================================================
- oslotest -- OpenStack Testing Framework and Utilities
-=======================================================
+=====================================================
+oslotest -- OpenStack Testing Framework and Utilities
+=====================================================
.. toctree::
:maxdepth: 2
- installation
- testing
- features
- cross-testing
- debugging
- resources
- contributing
-
-API
-===
-
-.. toctree::
- :maxdepth: 1
-
- api/autoindex
-
-Release Notes
-=============
-
-.. toctree::
- :maxdepth: 1
-
- history
+ install/index
+ contributor/index
+ user/index
+ reference/index
Indices and tables
==================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/install/index.rst new/oslotest-2.17.0/doc/source/install/index.rst
--- old/oslotest-2.13.0/doc/source/install/index.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/oslotest-2.17.0/doc/source/install/index.rst 2017-07-18 15:08:50.000000000 +0200
@@ -0,0 +1,7 @@
+============
+Installation
+============
+
+At the command line::
+
+ $ pip install oslotest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/installation.rst new/oslotest-2.17.0/doc/source/installation.rst
--- old/oslotest-2.13.0/doc/source/installation.rst 2017-01-18 15:10:36.000000000 +0100
+++ new/oslotest-2.17.0/doc/source/installation.rst 1970-01-01 01:00:00.000000000 +0100
@@ -1,7 +0,0 @@
-============
-Installation
-============
-
-At the command line::
-
- $ pip install oslotest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/reference/index.rst new/oslotest-2.17.0/doc/source/reference/index.rst
--- old/oslotest-2.13.0/doc/source/reference/index.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/oslotest-2.17.0/doc/source/reference/index.rst 2017-07-18 15:08:50.000000000 +0200
@@ -0,0 +1,9 @@
+.. _using:
+
+API
+===
+
+.. toctree::
+ :maxdepth: 1
+
+ api/autoindex
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/resources.rst new/oslotest-2.17.0/doc/source/resources.rst
--- old/oslotest-2.13.0/doc/source/resources.rst 2017-01-18 15:10:36.000000000 +0100
+++ new/oslotest-2.17.0/doc/source/resources.rst 1970-01-01 01:00:00.000000000 +0100
@@ -1,10 +0,0 @@
-========================
- Other Useful Resources
-========================
-
-* Mock_ library documentation
-* OpenStack Bootstrapping Hour: Mock Best Practices: `video
- <https://www.youtube.com/watch?v=jCWtLoSEfmw>`__ and `etherpad
- <https://etherpad.openstack.org/p/obh-mock-best-practices>`__
-
-.. _Mock: http://www.voidspace.org.uk/python/mock/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/testing.rst new/oslotest-2.17.0/doc/source/testing.rst
--- old/oslotest-2.13.0/doc/source/testing.rst 2017-01-18 15:10:36.000000000 +0100
+++ new/oslotest-2.17.0/doc/source/testing.rst 1970-01-01 01:00:00.000000000 +0100
@@ -1,30 +0,0 @@
-=========
- Testing
-=========
-
-Cross-testing With Other Projects
-=================================
-
-The oslotest package can be cross-tested against its consuming
-projects to ensure that no changes to the library break the tests in
-those other projects.
-
-In the Gate
------------
-
-Refer to the instructions in
-https://wiki.openstack.org/wiki/Oslo/UsingALibrary for setting up
-cross-test jobs in the gate.
-
-Locally
--------
-
-To run the cross-tests locally, invoke the script directly, passing
-the path to the other source repository and the tox environment name
-to use:
-
-::
-
- $ cd oslo.test
- $ ./tools/oslo_run_cross_tests ~/repos/openstack/oslo.config py27
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/user/cross-testing.rst new/oslotest-2.17.0/doc/source/user/cross-testing.rst
--- old/oslotest-2.13.0/doc/source/user/cross-testing.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/oslotest-2.17.0/doc/source/user/cross-testing.rst 2017-07-18 15:08:50.000000000 +0200
@@ -0,0 +1,102 @@
+==========================
+Cross-project Unit Testing
+==========================
+
+Libraries in OpenStack have an unusual ability to introduce breaking
+changes. All of the projects are run together from source in one form
+or another during the integration tests, but they are not combined
+from source when unit tests are run. The server applications do not
+generally import code from other projects, so their unit tests are
+isolated. The libraries, however, are fundamentally intended to be
+used during unit tests as well as integration tests. Testing the full
+cross-product of libraries and consuming projects would consume all
+available test servers, and so we cannot run all of the tests on all
+patches to the libraries. As an alternative, we have a few scripts in
+``oslotest`` for running the unit tests in serial. The result takes
+far too long (usually overnight) to run in the OpenStack
+infrastructure. Instead, they are usually run by hand on a dedicated
+system. A cloud VM works well for this purpose, especially considering
+how much of it is now automated.
+
+Check Out OpenStack Source
+==========================
+
+The first step for all of the cross-project unit tests tools is to
+ensure that you have a full copy of the OpenStack source checked
+out. You can do this yourself through gerrit's ssh API, or you can use
+the ``clone_openstack.sh`` command in the tools directory of the
+``openstack/oslo-incubator`` repository.
+
+For example::
+
+ $ mkdir -p ~/repos/openstack
+ $ cd ~/repos/openstack
+ $ git clone git://git.openstack.org/openstack/oslo-incubator
+ $ cd ~/repos
+ $ ./openstack/oslo-incubator/tools/clone_openstack.sh
+
+The first time the script runs it will take quite some time, since it
+has to download the entire history of every OpenStack project.
+
+Testing One Project
+===================
+
+``oslo_run_cross_tests`` runs one set of unit tests for one library
+against all of the consuming projects. It should be run from the
+directory with the library to be tested, and passed arguments telling
+it about another project whose tests should be run.
+
+For example, to run the ``py27`` test suite from nova using the
+currently checked out sources for ``oslo.config``, run::
+
+ $ cd ~/repos/openstack/oslo.config
+ $ tox -e venv -- oslo_run_cross_tests ~/repos/openstack/nova py27
+
+Testing All Consumers
+=====================
+
+``oslo_run_pre_release_tests`` builds on ``oslo_run_cross_tests`` to
+find all of the consuming projects and run their tests
+automatically. The pre-release script needs to know where the source
+has been checked out, so the first step is to create its configuration
+file.
+
+Edit ``~/.oslo.conf`` to contain::
+
+ [DEFAULT]
+ repo_root = /path/to/repos
+
+Replace ``/path/to/repos`` with the full, expanded, absolute path to
+the location where the source code was checked out. For example, if
+you followed the instructions above using ``clone_openstack.sh`` in
+``~/repos`` and your user name is ``theuser`` the path would be
+``/home/theuser/repos``.
+
+Returning to the earlier example, to test ``oslo.config`` with all of
+the projects that use it, go to the ``oslo.config`` source directory
+and run ``oslo_run_pre_release_tests``.
+
+::
+
+ $ cd ~/repos/openstack/oslo.config
+ $ tox -e venv -- oslo_run_pre_release_tests
+
+The output for each test set is logged to a separate file in the
+current directory, to make them easy to examine.
+
+Use the ``--update`` or ``-u`` option to force a ``git pull`` for each
+consuming projects before running its tests (useful for maintaining a
+long-running system to host these tests).
+
+Use the ``--verbose`` or ``-v`` option to report more verbosely about
+what is happening, including the number of projects being tested.
+
+Use ``--env`` or ``-e`` to add a tox environment to test. By default
+the ``py27`` and ``pep8`` environments are used because those have
+been shown to provide a good balance between finding problems and
+running the tests quickly.
+
+Use the ``--ref`` option to test a specific commit reference of the
+library under test. The default is to leave the source directory
+untouched, but if this option is specified ``git checkout`` is used to
+force the source tree to the specified reference.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/user/debugging.rst new/oslotest-2.17.0/doc/source/user/debugging.rst
--- old/oslotest-2.13.0/doc/source/user/debugging.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/oslotest-2.17.0/doc/source/user/debugging.rst 2017-07-18 15:08:50.000000000 +0200
@@ -0,0 +1,29 @@
+===============
+Debugging Tests
+===============
+
+Running tests through testrepository_ makes it difficult to use pdb for
+debugging them. oslotest includes ``oslo_debug_helper`` to make using
+pdb simpler/possible.
+
+First, add a pdb call to the test code::
+
+ import pdb; pdb.set_trace()
+
+Then run the tests through ``oslo_debug_helper`` like
+
+::
+
+ $ oslo_debug_helper [tests to run]
+
+or
+
+::
+
+ $ tox -e venv -- oslo_debug_helper [tests to run]
+
+.. seealso::
+
+ * https://wiki.openstack.org/wiki/Testr
+
+.. _testrepository: https://pypi.python.org/pypi/testrepository
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/user/features.rst new/oslotest-2.17.0/doc/source/user/features.rst
--- old/oslotest-2.13.0/doc/source/user/features.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/oslotest-2.17.0/doc/source/user/features.rst 2017-07-18 15:08:50.000000000 +0200
@@ -0,0 +1,64 @@
+========
+Features
+========
+
+Debugging with oslo_debug_helper
+================================
+
+The oslotest package also distributes a shell file that may be used to assist
+in debugging python code. The shell file uses testtools, and supports debugging
+with `pdb <https://docs.python.org/2/library/pdb.html>`_.
+
+Adding breakpoints to the code
+------------------------------
+
+The typical usage to break into the debugger from a running program is to
+insert:
+
+.. code-block:: python
+
+ import pdb; pdb.set_trace()
+
+Update tox.ini
+--------------
+
+Within the ``tox.ini`` file of your project add the following::
+
+ [testenv:debug]
+ commands = oslo_debug_helper {posargs}
+
+If the project name, and the module that precedes the tests directory do not
+match, then consider passing a `-t` argument to `oslo_debug_helper` to
+indicate the directory where tests are located.
+
+For example, the ``python-keystoneclient`` project has tests in
+``keystoneclient/tests``, thus it would have to pass in::
+
+ [testenv:debug]
+ commands = oslo_debug_helper -t keystoneclient/tests {posargs}
+
+Similarly, most ``oslo`` projects have the tests at the package level, it
+would have to pass in::
+
+ [testenv:debug]
+ commands = oslo_debug_helper -t tests {posargs}
+
+Debugging with tox
+------------------
+
+To enable debugging, run tox with the ``debug`` environment:
+
+.. code-block:: bash
+
+ $ tox -e debug
+ $ tox -e debug test_notifications
+ $ tox -e debug test_notifications.NotificationsTestCase
+ $ tox -e debug test_notifications.NotificationsTestCase.test_send_notification
+
+Which results in an interactive prompt:
+
+.. code-block:: bash
+
+ > /opt/stack/ceilometer/ceilometer/tests/identity/test_notifications.py(106)notification_for_role_change()
+ -> action_name = '%s.%s' % (action, ROLE_ASSIGNMENT)
+ (Pdb)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/user/history.rst new/oslotest-2.17.0/doc/source/user/history.rst
--- old/oslotest-2.13.0/doc/source/user/history.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/oslotest-2.17.0/doc/source/user/history.rst 2017-07-18 15:08:50.000000000 +0200
@@ -0,0 +1 @@
+.. include:: ../../../ChangeLog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/user/index.rst new/oslotest-2.17.0/doc/source/user/index.rst
--- old/oslotest-2.13.0/doc/source/user/index.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/oslotest-2.17.0/doc/source/user/index.rst 2017-07-18 15:08:50.000000000 +0200
@@ -0,0 +1,13 @@
+==============
+Using oslotest
+==============
+
+.. toctree::
+ :maxdepth: 2
+
+ features
+ debugging
+ testing
+ cross-testing
+ resources
+ history
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/user/resources.rst new/oslotest-2.17.0/doc/source/user/resources.rst
--- old/oslotest-2.13.0/doc/source/user/resources.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/oslotest-2.17.0/doc/source/user/resources.rst 2017-07-18 15:08:50.000000000 +0200
@@ -0,0 +1,10 @@
+======================
+Other Useful Resources
+======================
+
+* Mock_ library documentation
+* OpenStack Bootstrapping Hour: Mock Best Practices: `video
+ <https://www.youtube.com/watch?v=jCWtLoSEfmw>`__ and `etherpad
+ <https://etherpad.openstack.org/p/obh-mock-best-practices>`__
+
+.. _Mock: http://www.voidspace.org.uk/python/mock/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/doc/source/user/testing.rst new/oslotest-2.17.0/doc/source/user/testing.rst
--- old/oslotest-2.13.0/doc/source/user/testing.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/oslotest-2.17.0/doc/source/user/testing.rst 2017-07-18 15:08:50.000000000 +0200
@@ -0,0 +1,30 @@
+=======
+Testing
+=======
+
+Cross-testing With Other Projects
+=================================
+
+The oslotest package can be cross-tested against its consuming
+projects to ensure that no changes to the library break the tests in
+those other projects.
+
+In the Gate
+-----------
+
+Refer to the instructions in
+https://wiki.openstack.org/wiki/Oslo/UsingALibrary for setting up
+cross-test jobs in the gate.
+
+Locally
+-------
+
+To run the cross-tests locally, invoke the script directly, passing
+the path to the other source repository and the tox environment name
+to use:
+
+::
+
+ $ cd oslo.test
+ $ ./tools/oslo_run_cross_tests ~/repos/openstack/oslo.config py27
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/oslotest/tests/unit/test_base.py new/oslotest-2.17.0/oslotest/tests/unit/test_base.py
--- old/oslotest-2.13.0/oslotest/tests/unit/test_base.py 2017-01-18 15:10:36.000000000 +0100
+++ new/oslotest-2.17.0/oslotest/tests/unit/test_base.py 2017-07-18 15:08:50.000000000 +0200
@@ -18,12 +18,12 @@
import os
import unittest
+import fixtures
import six
from six.moves import mock
import testtools
from oslotest import base
-from oslotest import mockpatch
class TestBaseTestCase(testtools.TestCase):
@@ -125,7 +125,7 @@
patcher.start()
self.addCleanup(patcher.stop)
super(TestManualMock, self).setUp()
- self.useFixture(mockpatch.Patch('fixtures.Timeout'))
+ self.useFixture(fixtures.MockPatch('fixtures.Timeout'))
self.unstopped = mock.patch('os.environ.put')
def tearDown(self):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/oslotest/tests/unit/test_mockpatch.py new/oslotest-2.17.0/oslotest/tests/unit/test_mockpatch.py
--- old/oslotest-2.13.0/oslotest/tests/unit/test_mockpatch.py 2017-01-18 15:10:36.000000000 +0100
+++ new/oslotest-2.17.0/oslotest/tests/unit/test_mockpatch.py 2017-07-18 15:08:50.000000000 +0200
@@ -12,15 +12,15 @@
# License for the specific language governing permissions and limitations
# under the License.
+import fixtures
from oslotest import base
-from oslotest import mockpatch
class TestMockPatchSymbols(base.BaseTestCase):
def test_reference(self):
# Applications expect these public symbols to be available until the
# deprecated module is removed.
- self.assertTrue(mockpatch.PatchObject)
- self.assertTrue(mockpatch.Patch)
- self.assertTrue(mockpatch.Multiple)
+ self.assertTrue(fixtures.MockPatchObject)
+ self.assertTrue(fixtures.MockPatch)
+ self.assertTrue(fixtures.MockPatchMultiple)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/oslotest.egg-info/PKG-INFO new/oslotest-2.17.0/oslotest.egg-info/PKG-INFO
--- old/oslotest-2.13.0/oslotest.egg-info/PKG-INFO 2017-01-18 15:12:34.000000000 +0100
+++ new/oslotest-2.17.0/oslotest.egg-info/PKG-INFO 2017-07-18 15:10:30.000000000 +0200
@@ -1,8 +1,8 @@
Metadata-Version: 1.1
Name: oslotest
-Version: 2.13.0
+Version: 2.17.0
Summary: Oslo test framework
-Home-page: http://docs.openstack.org/developer/oslotest
+Home-page: https://docs.openstack.org/oslotest/latest/
Author: OpenStack
Author-email: openstack-dev(a)lists.openstack.org
License: UNKNOWN
@@ -23,9 +23,9 @@
better support for mocking results.
* Free software: Apache license
- * Documentation: http://docs.openstack.org/developer/oslotest
- * Source: http://git.openstack.org/cgit/openstack/oslotest
- * Bugs: http://bugs.launchpad.net/oslotest
+ * Documentation: https://docs.openstack.org/oslotest/latest/
+ * Source: https://git.openstack.org/cgit/openstack/oslotest
+ * Bugs: https://bugs.launchpad.net/oslotest
Platform: UNKNOWN
@@ -38,5 +38,4 @@
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/oslotest.egg-info/SOURCES.txt new/oslotest-2.17.0/oslotest.egg-info/SOURCES.txt
--- old/oslotest-2.13.0/oslotest.egg-info/SOURCES.txt 2017-01-18 15:12:34.000000000 +0100
+++ new/oslotest-2.17.0/oslotest.egg-info/SOURCES.txt 2017-07-18 15:10:30.000000000 +0200
@@ -13,15 +13,17 @@
test-requirements.txt
tox.ini
doc/source/conf.py
-doc/source/contributing.rst
-doc/source/cross-testing.rst
-doc/source/debugging.rst
-doc/source/features.rst
-doc/source/history.rst
doc/source/index.rst
-doc/source/installation.rst
-doc/source/resources.rst
-doc/source/testing.rst
+doc/source/contributor/index.rst
+doc/source/install/index.rst
+doc/source/reference/index.rst
+doc/source/user/cross-testing.rst
+doc/source/user/debugging.rst
+doc/source/user/features.rst
+doc/source/user/history.rst
+doc/source/user/index.rst
+doc/source/user/resources.rst
+doc/source/user/testing.rst
oslotest/__init__.py
oslotest/base.py
oslotest/createfile.py
@@ -54,6 +56,7 @@
releasenotes/notes/add-reno-996dd44974d53238.yaml
releasenotes/source/conf.py
releasenotes/source/index.rst
+releasenotes/source/ocata.rst
releasenotes/source/unreleased.rst
releasenotes/source/_static/.placeholder
releasenotes/source/_templates/.placeholder
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/oslotest.egg-info/pbr.json new/oslotest-2.17.0/oslotest.egg-info/pbr.json
--- old/oslotest-2.13.0/oslotest.egg-info/pbr.json 2017-01-18 15:12:34.000000000 +0100
+++ new/oslotest-2.17.0/oslotest.egg-info/pbr.json 2017-07-18 15:10:30.000000000 +0200
@@ -1 +1 @@
-{"is_release": true, "git_version": "5337479"}
\ No newline at end of file
+{"git_version": "491d9ca", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/oslotest.egg-info/requires.txt new/oslotest-2.17.0/oslotest.egg-info/requires.txt
--- old/oslotest-2.13.0/oslotest.egg-info/requires.txt 2017-01-18 15:12:34.000000000 +0100
+++ new/oslotest-2.17.0/oslotest.egg-info/requires.txt 2017-07-18 15:10:30.000000000 +0200
@@ -4,6 +4,6 @@
testrepository>=0.0.18
testtools>=1.4.0
mock>=2.0
-mox3>=0.7.0
-os-client-config>=1.22.0
+mox3!=0.19.0,>=0.7.0
+os-client-config>=1.27.0
debtcollector>=1.2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/releasenotes/source/conf.py new/oslotest-2.17.0/releasenotes/source/conf.py
--- old/oslotest-2.13.0/releasenotes/source/conf.py 2017-01-18 15:10:36.000000000 +0100
+++ new/oslotest-2.17.0/releasenotes/source/conf.py 2017-07-18 15:08:50.000000000 +0200
@@ -35,7 +35,7 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
- 'oslosphinx',
+ 'openstackdocstheme',
'reno.sphinxext',
]
@@ -109,7 +109,7 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = 'default'
+html_theme = 'openstackdocs'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
@@ -148,6 +148,7 @@
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
# html_last_updated_fmt = '%b %d, %Y'
+html_last_updated_fmt = '%Y-%m-%d %H:%M'
# If true, SmartyPants will be used to convert quotes and dashes to
# typographically correct entities.
@@ -189,6 +190,10 @@
# Output file base name for HTML help builder.
htmlhelp_basename = 'oslotestReleaseNotesDoc'
+# openstackdocstheme options
+repository_name = 'openstack/oslotest'
+bug_project = 'oslotest'
+bug_tag = ''
# -- Options for LaTeX output ---------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/releasenotes/source/index.rst new/oslotest-2.17.0/releasenotes/source/index.rst
--- old/oslotest-2.13.0/releasenotes/source/index.rst 2017-01-18 15:10:36.000000000 +0100
+++ new/oslotest-2.17.0/releasenotes/source/index.rst 2017-07-18 15:08:50.000000000 +0200
@@ -6,3 +6,4 @@
:maxdepth: 1
unreleased
+ ocata
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/releasenotes/source/ocata.rst new/oslotest-2.17.0/releasenotes/source/ocata.rst
--- old/oslotest-2.13.0/releasenotes/source/ocata.rst 1970-01-01 01:00:00.000000000 +0100
+++ new/oslotest-2.17.0/releasenotes/source/ocata.rst 2017-07-18 15:08:50.000000000 +0200
@@ -0,0 +1,6 @@
+===================================
+ Ocata Series Release Notes
+===================================
+
+.. release-notes::
+ :branch: origin/stable/ocata
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/requirements.txt new/oslotest-2.17.0/requirements.txt
--- old/oslotest-2.13.0/requirements.txt 2017-01-18 15:10:36.000000000 +0100
+++ new/oslotest-2.17.0/requirements.txt 2017-07-18 15:08:50.000000000 +0200
@@ -8,6 +8,6 @@
testrepository>=0.0.18 # Apache-2.0/BSD
testtools>=1.4.0 # MIT
mock>=2.0 # BSD
-mox3>=0.7.0 # Apache-2.0
-os-client-config>=1.22.0 # Apache-2.0
+mox3!=0.19.0,>=0.7.0 # Apache-2.0
+os-client-config>=1.27.0 # Apache-2.0
debtcollector>=1.2.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/setup.cfg new/oslotest-2.17.0/setup.cfg
--- old/oslotest-2.13.0/setup.cfg 2017-01-18 15:12:34.000000000 +0100
+++ new/oslotest-2.17.0/setup.cfg 2017-07-18 15:10:30.000000000 +0200
@@ -5,7 +5,7 @@
README.rst
author = OpenStack
author-email = openstack-dev(a)lists.openstack.org
-home-page = http://docs.openstack.org/developer/oslotest
+home-page = https://docs.openstack.org/oslotest/latest/
classifier =
Environment :: OpenStack
Intended Audience :: Developers
@@ -16,7 +16,6 @@
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
- Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
[files]
@@ -31,13 +30,16 @@
source-dir = doc/source
build-dir = doc/build
all_files = 1
+warning-is-error = 1
[upload_sphinx]
upload-dir = doc/build/html
[pbr]
-warnerrors = true
autodoc_index_modules = true
+api_doc_dir = reference/api
+autodoc_exclude_modules =
+ oslotest.tests.*
[wheel]
universal = true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/setup.py new/oslotest-2.17.0/setup.py
--- old/oslotest-2.13.0/setup.py 2017-01-18 15:10:36.000000000 +0100
+++ new/oslotest-2.17.0/setup.py 2017-07-18 15:08:50.000000000 +0200
@@ -25,5 +25,5 @@
pass
setuptools.setup(
- setup_requires=['pbr>=1.8'],
+ setup_requires=['pbr>=2.0.0'],
pbr=True)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/test-requirements.txt new/oslotest-2.17.0/test-requirements.txt
--- old/oslotest-2.13.0/test-requirements.txt 2017-01-18 15:10:36.000000000 +0100
+++ new/oslotest-2.17.0/test-requirements.txt 2017-07-18 15:08:50.000000000 +0200
@@ -2,16 +2,16 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-hacking<0.11,>=0.10.0
+hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
# when we can require tox>= 1.4, this can go into tox.ini:
# [testenv:cover]
# deps = {[testenv]deps} coverage
-coverage>=4.0 # Apache-2.0
+coverage!=4.4,>=4.0 # Apache-2.0
# this is required for the docs build jobs
-sphinx!=1.3b1,<1.4,>=1.2.1 # BSD
-oslosphinx>=4.7.0 # Apache-2.0
-oslo.config!=3.18.0,>=3.14.0 # Apache-2.0
+sphinx>=1.6.2 # BSD
+openstackdocstheme>=1.11.0 # Apache-2.0
+oslo.config!=4.3.0,!=4.4.0,>=4.0.0 # Apache-2.0
-reno>=1.8.0 # Apache-2.0
+reno!=2.3.1,>=1.8.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/oslotest-2.13.0/tox.ini new/oslotest-2.17.0/tox.ini
--- old/oslotest-2.13.0/tox.ini 2017-01-18 15:10:36.000000000 +0100
+++ new/oslotest-2.17.0/tox.ini 2017-07-18 15:08:50.000000000 +0200
@@ -1,7 +1,7 @@
[tox]
minversion = 2.0
distribute = False
-envlist = py35,py34,py27,pep8
+envlist = py35,py27,pep8
[testenv]
setenv =
1
0