Hello community,
here is the log from the commit of package python-freezerclient for
openSUSE:Factory checked in at 2020-10-26 16:14:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-freezerclient (Old)
and /work/SRC/openSUSE:Factory/.python-freezerclient.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-freezerclient"
Mon Oct 26 16:14:51 2020 rev:9 rq:841177 version:4.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-freezerclient/python-freezerclient.changes
2020-06-05 20:12:32.766190031 +0200
+++
/work/SRC/openSUSE:Factory/.python-freezerclient.new.3463/python-freezerclient.changes
2020-10-26 16:15:44.002905096 +0100
@@ -1,0 +2,14 @@
+Fri Oct 9 19:07:06 UTC 2020 - [email protected]
+
+- update to version 4.0.0
+ - Add py38 in tox.
+ - Switch to newer openstackdocstheme and reno versions
+ - Fix tip error
+ - Use unittest.mock instead of third party mock
+ - Add Python3 victoria unit tests
+ - Remove keystone v2 related code
+ - Update hacking for Python3
+ - Fix hacking min version to 3.0.1
+ - Update master for stable/ussuri
+
+-------------------------------------------------------------------
Old:
----
python-freezerclient-3.0.1.tar.gz
New:
----
python-freezerclient-4.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-freezerclient.spec ++++++
--- /var/tmp/diff_new_pack.lbxnpf/_old 2020-10-26 16:15:44.830905858 +0100
+++ /var/tmp/diff_new_pack.lbxnpf/_new 2020-10-26 16:15:44.834905861 +0100
@@ -17,13 +17,13 @@
Name: python-freezerclient
-Version: 3.0.1
+Version: 4.0.0
Release: 0
Summary: Python API and CLI for OpenStack Freezer
License: Apache-2.0
Group: Development/Languages/Python
URL: https://launchpad.net/python-freezerclient
-Source0:
https://files.pythonhosted.org/packages/source/p/python-freezerclient/python-freezerclient-3.0.1.tar.gz
+Source0:
https://files.pythonhosted.org/packages/source/p/python-freezerclient/python-freezerclient-4.0.0.tar.gz
BuildRequires: openstack-macros
BuildRequires: python3-cliff >= 2.8.0
BuildRequires: python3-fixtures
@@ -34,7 +34,6 @@
BuildRequires: python3-oslotest
BuildRequires: python3-pbr >= 2.0.0
BuildRequires: python3-python-subunit
-BuildRequires: python3-setuptools >= 21.0.0
BuildRequires: python3-stestr
BuildRequires: python3-testtools
BuildArch: noarch
@@ -81,7 +80,7 @@
%{py3_build}
# Build HTML docs and man page
-PBR_VERSION=3.0.1 %sphinx_build -b html doc/source doc/build/html
+PBR_VERSION=4.0.0 %sphinx_build -b html doc/source doc/build/html
rm -r doc/build/html/.{doctrees,buildinfo}
%install
++++++ _service ++++++
--- /var/tmp/diff_new_pack.lbxnpf/_old 2020-10-26 16:15:44.866905891 +0100
+++ /var/tmp/diff_new_pack.lbxnpf/_new 2020-10-26 16:15:44.866905891 +0100
@@ -1,6 +1,6 @@
<services>
<service mode="disabled" name="renderspec">
- <param
name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/stable/ussuri/openstack/python-freezerclient/python-freezerclient.spec.j2</param>
+ <param
name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/stable/victoria/openstack/python-freezerclient/python-freezerclient.spec.j2</param>
<param name="output-name">python-freezerclient.spec</param>
<param
name="requirements">https://opendev.org/openstack/python-freezerclient/raw/branch/master/requirements.txt</param>
<param name="changelog-email">[email protected]</param>
++++++ python-freezerclient-3.0.1.tar.gz -> python-freezerclient-4.0.0.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-freezerclient-3.0.1/.zuul.yaml
new/python-freezerclient-4.0.0/.zuul.yaml
--- old/python-freezerclient-3.0.1/.zuul.yaml 2020-04-11 20:59:26.000000000
+0200
+++ new/python-freezerclient-4.0.0/.zuul.yaml 2020-09-14 15:55:49.000000000
+0200
@@ -2,7 +2,7 @@
templates:
- check-requirements
- openstack-lower-constraints-jobs
- - openstack-python3-ussuri-jobs
+ - openstack-python3-victoria-jobs
- publish-openstack-docs-pti
- release-notes-jobs-python3
check:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-freezerclient-3.0.1/AUTHORS
new/python-freezerclient-4.0.0/AUTHORS
--- old/python-freezerclient-3.0.1/AUTHORS 2020-04-11 21:00:52.000000000
+0200
+++ new/python-freezerclient-4.0.0/AUTHORS 2020-09-14 15:57:17.000000000
+0200
@@ -2,6 +2,7 @@
Andreas Jaeger <[email protected]>
Anh Tran <[email protected]>
Cai Hui <[email protected]>
+Caihui <[email protected]>
Caihui <[email protected]>
Cao Xuan Hoang <[email protected]>
Chen <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-freezerclient-3.0.1/ChangeLog
new/python-freezerclient-4.0.0/ChangeLog
--- old/python-freezerclient-3.0.1/ChangeLog 2020-04-11 21:00:52.000000000
+0200
+++ new/python-freezerclient-4.0.0/ChangeLog 2020-09-14 15:57:17.000000000
+0200
@@ -1,6 +1,23 @@
CHANGES
=======
+4.0.0
+-----
+
+* Fix tip error
+* Add py38 in tox
+* Remove keystone v2 related code
+
+3.1.0
+-----
+
+* Switch to newer openstackdocstheme and reno versions
+* Fix hacking min version to 3.0.1
+* Use unittest.mock instead of third party mock
+* Add Python3 victoria unit tests
+* Update master for stable/ussuri
+* Update hacking for Python3
+
3.0.1
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-freezerclient-3.0.1/PKG-INFO
new/python-freezerclient-4.0.0/PKG-INFO
--- old/python-freezerclient-3.0.1/PKG-INFO 2020-04-11 21:00:52.000000000
+0200
+++ new/python-freezerclient-4.0.0/PKG-INFO 2020-09-14 15:57:17.000000000
+0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: python-freezerclient
-Version: 3.0.1
+Version: 4.0.0
Summary: OpenStack Disaster Recovery API Client Library
Home-page: https://docs.openstack.org/python-freezerclient/latest/
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-freezerclient-3.0.1/doc/requirements.txt
new/python-freezerclient-4.0.0/doc/requirements.txt
--- old/python-freezerclient-3.0.1/doc/requirements.txt 2020-04-11
20:59:26.000000000 +0200
+++ new/python-freezerclient-4.0.0/doc/requirements.txt 2020-09-14
15:55:49.000000000 +0200
@@ -1,3 +1,3 @@
-sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2;python_version>='3.4' # BSD
-openstackdocstheme>=1.20.0 # Apache-2.0
-reno>=2.5.0 # Apache-2.0
+sphinx>=2.0.0,!=2.1.0 # BSD
+openstackdocstheme>=2.2.1 # Apache-2.0
+reno>=3.1.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-freezerclient-3.0.1/doc/source/conf.py
new/python-freezerclient-4.0.0/doc/source/conf.py
--- old/python-freezerclient-3.0.1/doc/source/conf.py 2020-04-11
20:59:26.000000000 +0200
+++ new/python-freezerclient-4.0.0/doc/source/conf.py 2020-09-14
15:55:49.000000000 +0200
@@ -46,9 +46,9 @@
copyright = u'2016, OpenStack'
# openstackdocstheme options
-repository_name = 'openstack/python-freezerclient'
-bug_project = 'freezer'
-bug_tag = 'python-freezerclient'
+openstackdocs_repo_name = 'openstack/python-freezerclient'
+openstackdocs_bug_project = 'freezer'
+openstackdocs_bug_tag = 'python-freezerclient'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@@ -80,7 +80,7 @@
#show_authors = False
# The name of the Pygments (syntax highlighting) style to use.
-pygments_style = 'sphinx'
+pygments_style = 'native'
# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-freezerclient-3.0.1/freezerclient/shell.py
new/python-freezerclient-4.0.0/freezerclient/shell.py
--- old/python-freezerclient-3.0.1/freezerclient/shell.py 2020-04-11
20:59:26.000000000 +0200
+++ new/python-freezerclient-4.0.0/freezerclient/shell.py 2020-09-14
15:55:49.000000000 +0200
@@ -158,14 +158,14 @@
dest='os_project_domain_id',
default=os.environ.get('OS_PROJECT_DOMAIN_ID'),
help='OpenStack project domain ID. '
- 'Defaults to env[OS_PROJECT_ID].'
+ 'Defaults to env[OS_PROJECT_DOMAIN_ID].'
)
parser.add_argument(
'--os-project-name',
dest='os_project_name',
default=os.environ.get('OS_PROJECT_NAME'),
- help='Project name to scope to'
+ help='Project name (tenant name)'
)
parser.add_argument(
@@ -236,7 +236,6 @@
'token': self.options.os_token,
'username': self.options.os_username,
'password': self.options.os_password,
- 'tenant_name': self.options.os_project_name,
'auth_url': self.options.os_auth_url,
'endpoint': self.options.os_backup_url,
'endpoint_type': self.options.os_endpoint_type,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/freezerclient/tests/unit/test_client.py
new/python-freezerclient-4.0.0/freezerclient/tests/unit/test_client.py
--- old/python-freezerclient-3.0.1/freezerclient/tests/unit/test_client.py
2020-04-11 20:59:26.000000000 +0200
+++ new/python-freezerclient-4.0.0/freezerclient/tests/unit/test_client.py
2020-09-14 15:55:49.000000000 +0200
@@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import mock
import unittest
+from unittest import mock
from freezerclient import client
from freezerclient import v1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/freezerclient/tests/unit/test_shell.py
new/python-freezerclient-4.0.0/freezerclient/tests/unit/test_shell.py
--- old/python-freezerclient-3.0.1/freezerclient/tests/unit/test_shell.py
2020-04-11 20:59:26.000000000 +0200
+++ new/python-freezerclient-4.0.0/freezerclient/tests/unit/test_shell.py
2020-09-14 15:55:49.000000000 +0200
@@ -36,8 +36,6 @@
FAKE_ENV = {
'OS_USERNAME': DEFAULT_USERNAME,
'OS_PASSWORD': DEFAULT_PASSWORD,
- 'OS_TENANT_ID': DEFAULT_PROJECT_ID,
- 'OS_TENANT_NAME': DEFAULT_PROJECT_NAME,
'OS_PROJECT_ID': DEFAULT_PROJECT_ID,
'OS_PROJECT_NAME': DEFAULT_PROJECT_NAME,
'OS_AUTH_URL': DEFAULT_AUTH_URL,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/freezerclient/tests/unit/v1/test_client.py
new/python-freezerclient-4.0.0/freezerclient/tests/unit/v1/test_client.py
--- old/python-freezerclient-3.0.1/freezerclient/tests/unit/v1/test_client.py
2020-04-11 20:59:26.000000000 +0200
+++ new/python-freezerclient-4.0.0/freezerclient/tests/unit/v1/test_client.py
2020-09-14 15:55:49.000000000 +0200
@@ -13,8 +13,7 @@
# limitations under the License.
import unittest
-
-import mock
+from unittest import mock
from keystoneauth1 import loading as kaloading
@@ -41,7 +40,7 @@
kwargs = {'token': 'alpha',
'username': 'bravo',
'password': 'charlie',
- 'tenant_name': 'delta',
+ 'project_name': 'delta',
'auth_url': 'echo',
'endpoint': 'golf',
'session': mock_session}
@@ -50,7 +49,7 @@
self.assertEqual('alpha', c.opts.os_token)
self.assertEqual('bravo', c.opts.os_username)
self.assertEqual('charlie', c.opts.os_password)
- self.assertEqual('delta', c.opts.os_tenant_name)
+ self.assertEqual('delta', c.opts.os_project_name)
self.assertEqual('echo', c.opts.os_auth_url)
self.assertEqual(mock_session, c._session)
self.assertEqual(mock_session, c.session)
@@ -64,7 +63,6 @@
mock_ks_loader.return_value.load_from_options.return_value = 'auth'
kwargs = {'auth_url': 'one',
'project_id': 'two',
- 'tenant_name': 'three',
'project_name': 'four',
'user_domain_id': 'five',
'user_domain_name': 'six',
@@ -77,7 +75,6 @@
self.assertIsInstance(c, client.Client)
self.assertEqual('one', c.opts.os_auth_url)
self.assertEqual('two', c.opts.os_project_id)
- self.assertEqual('three', c.opts.os_tenant_name)
self.assertEqual('four', c.opts.os_project_name)
self.assertEqual('five', c.opts.os_user_domain_id)
self.assertEqual('six', c.opts.os_user_domain_name)
@@ -95,7 +92,6 @@
mock_ks_loader.return_value.load_from_options.return_value = 'auth'
kwargs = {'auth_url': 'one',
'project_id': 'two',
- 'tenant_name': 'three',
'project_name': 'four',
'user_domain_id': 'five',
'user_domain_name': 'six',
@@ -107,7 +103,6 @@
self.assertIsInstance(c, client.Client)
self.assertEqual('one', c.opts.os_auth_url)
self.assertEqual('two', c.opts.os_project_id)
- self.assertEqual('three', c.opts.os_tenant_name)
self.assertEqual('four', c.opts.os_project_name)
self.assertEqual('five', c.opts.os_user_domain_id)
self.assertEqual('six', c.opts.os_user_domain_name)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/freezerclient/tests/unit/v1/test_client_actions.py
new/python-freezerclient-4.0.0/freezerclient/tests/unit/v1/test_client_actions.py
---
old/python-freezerclient-3.0.1/freezerclient/tests/unit/v1/test_client_actions.py
2020-04-11 20:59:26.000000000 +0200
+++
new/python-freezerclient-4.0.0/freezerclient/tests/unit/v1/test_client_actions.py
2020-09-14 15:55:49.000000000 +0200
@@ -13,8 +13,7 @@
# limitations under the License.
import unittest
-
-import mock
+from unittest import mock
from freezerclient import exceptions
from freezerclient.v1.managers import actions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/freezerclient/tests/unit/v1/test_client_backups.py
new/python-freezerclient-4.0.0/freezerclient/tests/unit/v1/test_client_backups.py
---
old/python-freezerclient-3.0.1/freezerclient/tests/unit/v1/test_client_backups.py
2020-04-11 20:59:26.000000000 +0200
+++
new/python-freezerclient-4.0.0/freezerclient/tests/unit/v1/test_client_backups.py
2020-09-14 15:55:49.000000000 +0200
@@ -13,8 +13,7 @@
# limitations under the License.
import unittest
-
-import mock
+from unittest import mock
from freezerclient import exceptions
from freezerclient.v1.managers import backups
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/freezerclient/tests/unit/v1/test_client_clients.py
new/python-freezerclient-4.0.0/freezerclient/tests/unit/v1/test_client_clients.py
---
old/python-freezerclient-3.0.1/freezerclient/tests/unit/v1/test_client_clients.py
2020-04-11 20:59:26.000000000 +0200
+++
new/python-freezerclient-4.0.0/freezerclient/tests/unit/v1/test_client_clients.py
2020-09-14 15:55:49.000000000 +0200
@@ -13,8 +13,7 @@
# limitations under the License.
import unittest
-
-import mock
+from unittest import mock
from freezerclient import exceptions
from freezerclient.v1.managers import clients
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/freezerclient/tests/unit/v1/test_client_jobs.py
new/python-freezerclient-4.0.0/freezerclient/tests/unit/v1/test_client_jobs.py
---
old/python-freezerclient-3.0.1/freezerclient/tests/unit/v1/test_client_jobs.py
2020-04-11 20:59:26.000000000 +0200
+++
new/python-freezerclient-4.0.0/freezerclient/tests/unit/v1/test_client_jobs.py
2020-09-14 15:55:49.000000000 +0200
@@ -13,8 +13,7 @@
# limitations under the License.
import unittest
-
-import mock
+from unittest import mock
from oslo_serialization import jsonutils as json
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/freezerclient/tests/unit/v1/test_client_sessions.py
new/python-freezerclient-4.0.0/freezerclient/tests/unit/v1/test_client_sessions.py
---
old/python-freezerclient-3.0.1/freezerclient/tests/unit/v1/test_client_sessions.py
2020-04-11 20:59:26.000000000 +0200
+++
new/python-freezerclient-4.0.0/freezerclient/tests/unit/v1/test_client_sessions.py
2020-09-14 15:55:49.000000000 +0200
@@ -13,8 +13,7 @@
# limitations under the License.
import unittest
-
-import mock
+from unittest import mock
from oslo_serialization import jsonutils as json
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/freezerclient/tests/unit/v2/test_client.py
new/python-freezerclient-4.0.0/freezerclient/tests/unit/v2/test_client.py
--- old/python-freezerclient-3.0.1/freezerclient/tests/unit/v2/test_client.py
2020-04-11 20:59:26.000000000 +0200
+++ new/python-freezerclient-4.0.0/freezerclient/tests/unit/v2/test_client.py
2020-09-14 15:55:49.000000000 +0200
@@ -13,8 +13,7 @@
# limitations under the License.
import unittest
-
-import mock
+from unittest import mock
from keystoneauth1 import loading as kaloading
@@ -41,7 +40,7 @@
kwargs = {'token': 'alpha',
'username': 'bravo',
'password': 'charlie',
- 'tenant_name': 'delta',
+ 'project_name': 'delta',
'auth_url': 'echo',
'endpoint': 'golf',
'session': mock_session}
@@ -50,7 +49,7 @@
self.assertEqual('alpha', c.opts.os_token)
self.assertEqual('bravo', c.opts.os_username)
self.assertEqual('charlie', c.opts.os_password)
- self.assertEqual('delta', c.opts.os_tenant_name)
+ self.assertEqual('delta', c.opts.os_project_name)
self.assertEqual('echo', c.opts.os_auth_url)
self.assertEqual(mock_session, c._session)
self.assertEqual(mock_session, c.session)
@@ -64,7 +63,6 @@
mock_ks_loader.return_value.load_from_options.return_value = 'auth'
kwargs = {'auth_url': 'one',
'project_id': 'two',
- 'tenant_name': 'three',
'project_name': 'four',
'user_domain_id': 'five',
'user_domain_name': 'six',
@@ -77,7 +75,6 @@
self.assertIsInstance(c, client.Client)
self.assertEqual('one', c.opts.os_auth_url)
self.assertEqual('two', c.opts.os_project_id)
- self.assertEqual('three', c.opts.os_tenant_name)
self.assertEqual('four', c.opts.os_project_name)
self.assertEqual('five', c.opts.os_user_domain_id)
self.assertEqual('six', c.opts.os_user_domain_name)
@@ -95,7 +92,6 @@
mock_ks_loader.return_value.load_from_options.return_value = 'auth'
kwargs = {'auth_url': 'one',
'project_id': 'two',
- 'tenant_name': 'three',
'project_name': 'four',
'user_domain_id': 'five',
'user_domain_name': 'six',
@@ -107,7 +103,6 @@
self.assertIsInstance(c, client.Client)
self.assertEqual('one', c.opts.os_auth_url)
self.assertEqual('two', c.opts.os_project_id)
- self.assertEqual('three', c.opts.os_tenant_name)
self.assertEqual('four', c.opts.os_project_name)
self.assertEqual('five', c.opts.os_user_domain_id)
self.assertEqual('six', c.opts.os_user_domain_name)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/freezerclient/tests/unit/v2/test_client_actions.py
new/python-freezerclient-4.0.0/freezerclient/tests/unit/v2/test_client_actions.py
---
old/python-freezerclient-3.0.1/freezerclient/tests/unit/v2/test_client_actions.py
2020-04-11 20:59:26.000000000 +0200
+++
new/python-freezerclient-4.0.0/freezerclient/tests/unit/v2/test_client_actions.py
2020-09-14 15:55:49.000000000 +0200
@@ -13,8 +13,7 @@
# limitations under the License.
import unittest
-
-import mock
+from unittest import mock
from freezerclient import exceptions
from freezerclient.v2.managers import actions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/freezerclient/tests/unit/v2/test_client_backups.py
new/python-freezerclient-4.0.0/freezerclient/tests/unit/v2/test_client_backups.py
---
old/python-freezerclient-3.0.1/freezerclient/tests/unit/v2/test_client_backups.py
2020-04-11 20:59:26.000000000 +0200
+++
new/python-freezerclient-4.0.0/freezerclient/tests/unit/v2/test_client_backups.py
2020-09-14 15:55:49.000000000 +0200
@@ -13,8 +13,7 @@
# limitations under the License.
import unittest
-
-import mock
+from unittest import mock
from freezerclient import exceptions
from freezerclient.v2.managers import backups
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/freezerclient/tests/unit/v2/test_client_clients.py
new/python-freezerclient-4.0.0/freezerclient/tests/unit/v2/test_client_clients.py
---
old/python-freezerclient-3.0.1/freezerclient/tests/unit/v2/test_client_clients.py
2020-04-11 20:59:26.000000000 +0200
+++
new/python-freezerclient-4.0.0/freezerclient/tests/unit/v2/test_client_clients.py
2020-09-14 15:55:49.000000000 +0200
@@ -13,8 +13,7 @@
# limitations under the License.
import unittest
-
-import mock
+from unittest import mock
from freezerclient import exceptions
from freezerclient.v2.managers import clients
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/freezerclient/tests/unit/v2/test_client_jobs.py
new/python-freezerclient-4.0.0/freezerclient/tests/unit/v2/test_client_jobs.py
---
old/python-freezerclient-3.0.1/freezerclient/tests/unit/v2/test_client_jobs.py
2020-04-11 20:59:26.000000000 +0200
+++
new/python-freezerclient-4.0.0/freezerclient/tests/unit/v2/test_client_jobs.py
2020-09-14 15:55:49.000000000 +0200
@@ -13,8 +13,7 @@
# limitations under the License.
import unittest
-
-import mock
+from unittest import mock
from oslo_serialization import jsonutils as json
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/freezerclient/tests/unit/v2/test_client_sessions.py
new/python-freezerclient-4.0.0/freezerclient/tests/unit/v2/test_client_sessions.py
---
old/python-freezerclient-3.0.1/freezerclient/tests/unit/v2/test_client_sessions.py
2020-04-11 20:59:26.000000000 +0200
+++
new/python-freezerclient-4.0.0/freezerclient/tests/unit/v2/test_client_sessions.py
2020-09-14 15:55:49.000000000 +0200
@@ -13,8 +13,7 @@
# limitations under the License.
import unittest
-
-import mock
+from unittest import mock
from oslo_serialization import jsonutils as json
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/freezerclient/v1/client.py
new/python-freezerclient-4.0.0/freezerclient/v1/client.py
--- old/python-freezerclient-3.0.1/freezerclient/v1/client.py 2020-04-11
20:59:26.000000000 +0200
+++ new/python-freezerclient-4.0.0/freezerclient/v1/client.py 2020-09-14
15:55:49.000000000 +0200
@@ -31,7 +31,7 @@
"""
def __init__(self, token=None, username=None, password=None,
- tenant_name=None, auth_url=None, session=None, endpoint=None,
+ auth_url=None, session=None, endpoint=None,
endpoint_type=None, opts=None, project_name=None,
user_domain_name=None, user_domain_id=None,
project_domain_name=None, project_domain_id=None,
@@ -41,7 +41,6 @@
:param token: keystone token
:param username: openstack username
:param password: openstack password
- :param tenant_name: tenant
:param auth_url: keystone-api endpoint
:param session: keystone.Session
:param endpoint: freezer-api endpoint
@@ -71,7 +70,6 @@
self.opts.os_token = token or None
self.opts.os_username = username or None
self.opts.os_password = password or None
- self.opts.os_tenant_name = tenant_name or None
self.opts.os_auth_url = auth_url or None
self.opts.os_backup_url = endpoint or None
self.opts.os_endpoint_type = endpoint_type or None
@@ -119,7 +117,6 @@
auth_kwargs.update({
'username': self.opts.os_username,
'password': self.opts.os_password,
- 'tenant_name': self.opts.os_tenant_name,
'user_domain_id': self.opts.os_user_domain_id,
'user_domain_name': self.opts.os_user_domain_name,
})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/freezerclient/v2/client.py
new/python-freezerclient-4.0.0/freezerclient/v2/client.py
--- old/python-freezerclient-3.0.1/freezerclient/v2/client.py 2020-04-11
20:59:26.000000000 +0200
+++ new/python-freezerclient-4.0.0/freezerclient/v2/client.py 2020-09-14
15:55:49.000000000 +0200
@@ -31,7 +31,7 @@
"""
def __init__(self, token=None, username=None, password=None,
- tenant_name=None, auth_url=None, session=None, endpoint=None,
+ auth_url=None, session=None, endpoint=None,
endpoint_type=None, opts=None, project_name=None,
user_domain_name=None, user_domain_id=None,
project_domain_name=None, project_domain_id=None,
@@ -41,14 +41,12 @@
:param token: keystone token
:param username: openstack username
:param password: openstack password
- :param tenant_name: tenant
:param auth_url: keystone-api endpoint
:param session: keystone.Session
:param endpoint: freezer-api endpoint
:param endpoint_type: type of endpoint
:param opts: a namespace to store all keystone data
:param project_name: only for version 3
- :param tenant_id: only for version 2
:param user_domain_name: only for version 3
:param user_domain_id: only for version 3
:param project_domain_name: only for version 3
@@ -71,7 +69,6 @@
self.opts.os_token = token or None
self.opts.os_username = username or None
self.opts.os_password = password or None
- self.opts.os_tenant_name = tenant_name or None
self.opts.os_auth_url = auth_url or None
self.opts.os_backup_url = endpoint or None
self.opts.os_endpoint_type = endpoint_type or None
@@ -119,7 +116,6 @@
auth_kwargs.update({
'username': self.opts.os_username,
'password': self.opts.os_password,
- 'tenant_name': self.opts.os_tenant_name,
'user_domain_id': self.opts.os_user_domain_id,
'user_domain_name': self.opts.os_user_domain_name,
})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-freezerclient-3.0.1/lower-constraints.txt
new/python-freezerclient-4.0.0/lower-constraints.txt
--- old/python-freezerclient-3.0.1/lower-constraints.txt 2020-04-11
20:59:26.000000000 +0200
+++ new/python-freezerclient-4.0.0/lower-constraints.txt 2020-09-14
15:55:49.000000000 +0200
@@ -9,8 +9,6 @@
dulwich==0.15.0
extras==1.0.0
fixtures==3.0.0
-flake8==2.5.5
-hacking==0.12.0
imagesize==0.7.1
iso8601==0.1.11
Jinja2==2.10
@@ -18,19 +16,14 @@
linecache2==1.0.0
logilab-common==1.4.1
MarkupSafe==1.0
-mccabe==0.4.0
-mock==2.0.0
monotonic==0.6
netaddr==0.7.18
netifaces==0.10.4
-openstackdocstheme==1.20.0
oslo.i18n==3.15.3
oslo.serialization==2.25.0
oslo.utils==3.33.0
pbr==2.0.0
-pep8==1.7.1
prettytable==0.7.2
-pyflakes==1.0.0
Pygments==2.2.0
pylint==1.9.2
pyparsing==2.1.0
@@ -39,12 +32,9 @@
python-subunit==1.0.0
pytz==2013.6
PyYAML==3.12
-reno==2.5.0
requests==2.14.2
setuptools==21.0.0
snowballstemmer==1.2.1
-Sphinx==1.6.5
-sphinxcontrib-websupport==1.0.1
stevedore==1.20.0
stestr==2.0.0
testtools==2.2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/python_freezerclient.egg-info/PKG-INFO
new/python-freezerclient-4.0.0/python_freezerclient.egg-info/PKG-INFO
--- old/python-freezerclient-3.0.1/python_freezerclient.egg-info/PKG-INFO
2020-04-11 21:00:52.000000000 +0200
+++ new/python-freezerclient-4.0.0/python_freezerclient.egg-info/PKG-INFO
2020-09-14 15:57:17.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: python-freezerclient
-Version: 3.0.1
+Version: 4.0.0
Summary: OpenStack Disaster Recovery API Client Library
Home-page: https://docs.openstack.org/python-freezerclient/latest/
Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/python_freezerclient.egg-info/SOURCES.txt
new/python-freezerclient-4.0.0/python_freezerclient.egg-info/SOURCES.txt
--- old/python-freezerclient-3.0.1/python_freezerclient.egg-info/SOURCES.txt
2020-04-11 21:00:52.000000000 +0200
+++ new/python-freezerclient-4.0.0/python_freezerclient.egg-info/SOURCES.txt
2020-09-14 15:57:17.000000000 +0200
@@ -96,5 +96,6 @@
releasenotes/source/queens.rst
releasenotes/source/stein.rst
releasenotes/source/unreleased.rst
+releasenotes/source/ussuri.rst
releasenotes/source/_static/.placeholder
releasenotes/source/_templates/.placeholder
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/python_freezerclient.egg-info/pbr.json
new/python-freezerclient-4.0.0/python_freezerclient.egg-info/pbr.json
--- old/python-freezerclient-3.0.1/python_freezerclient.egg-info/pbr.json
2020-04-11 21:00:52.000000000 +0200
+++ new/python-freezerclient-4.0.0/python_freezerclient.egg-info/pbr.json
2020-09-14 15:57:17.000000000 +0200
@@ -1 +1 @@
-{"git_version": "c2cb528", "is_release": true}
\ No newline at end of file
+{"git_version": "2ccd96d", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/python_freezerclient.egg-info/requires.txt
new/python-freezerclient-4.0.0/python_freezerclient.egg-info/requires.txt
--- old/python-freezerclient-3.0.1/python_freezerclient.egg-info/requires.txt
2020-04-11 21:00:52.000000000 +0200
+++ new/python-freezerclient-4.0.0/python_freezerclient.egg-info/requires.txt
2020-09-14 15:57:17.000000000 +0200
@@ -1,6 +1,6 @@
-setuptools!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0,>=21.0.0
-pbr!=2.1.0,>=2.0.0
-keystoneauth1>=3.4.0
cliff!=2.9.0,>=2.8.0
+keystoneauth1>=3.4.0
oslo.serialization>=2.25.0
oslo.utils>=3.33.0
+pbr!=2.1.0,>=2.0.0
+setuptools!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0,>=21.0.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/releasenotes/source/conf.py
new/python-freezerclient-4.0.0/releasenotes/source/conf.py
--- old/python-freezerclient-3.0.1/releasenotes/source/conf.py 2020-04-11
20:59:26.000000000 +0200
+++ new/python-freezerclient-4.0.0/releasenotes/source/conf.py 2020-09-14
15:55:49.000000000 +0200
@@ -44,9 +44,9 @@
# General information about the project.
copyright = u'2016, Freezer developers'
-repository_name = 'openstack/python-freezerclient'
-bug_project = 'freezer'
-bug_tag = 'python-freezerclient'
+openstackdocs_repo_name = 'openstack/python-freezerclient'
+openstackdocs_bug_project = 'freezer'
+openstackdocs_bug_tag = 'python-freezerclient'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@@ -78,7 +78,7 @@
#show_authors = False
# The name of the Pygments (syntax highlighting) style to use.
-pygments_style = 'sphinx'
+pygments_style = 'native'
# A list of ignored prefixes for module index sorting.
#modindex_common_prefix = []
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/releasenotes/source/index.rst
new/python-freezerclient-4.0.0/releasenotes/source/index.rst
--- old/python-freezerclient-3.0.1/releasenotes/source/index.rst
2020-04-11 20:59:26.000000000 +0200
+++ new/python-freezerclient-4.0.0/releasenotes/source/index.rst
2020-09-14 15:55:49.000000000 +0200
@@ -8,6 +8,7 @@
:maxdepth: 2
unreleased
+ ussuri
stein
queens
pike
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-freezerclient-3.0.1/releasenotes/source/ussuri.rst
new/python-freezerclient-4.0.0/releasenotes/source/ussuri.rst
--- old/python-freezerclient-3.0.1/releasenotes/source/ussuri.rst
1970-01-01 01:00:00.000000000 +0100
+++ new/python-freezerclient-4.0.0/releasenotes/source/ussuri.rst
2020-09-14 15:55:49.000000000 +0200
@@ -0,0 +1,6 @@
+===========================
+Ussuri Series Release Notes
+===========================
+
+.. release-notes::
+ :branch: stable/ussuri
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-freezerclient-3.0.1/test-requirements.txt
new/python-freezerclient-4.0.0/test-requirements.txt
--- old/python-freezerclient-3.0.1/test-requirements.txt 2020-04-11
20:59:26.000000000 +0200
+++ new/python-freezerclient-4.0.0/test-requirements.txt 2020-09-14
15:55:49.000000000 +0200
@@ -1,11 +1,13 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-flake8<2.6.0,>=2.5.4 # MIT
-hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
+
+# Hacking pins already flake8 etc version
+hacking>=3.0.1,<3.1.0 # Apache-2.0
+
coverage!=4.4,>=4.0 # Apache-2.0
-mock>=2.0.0 # BSD
stestr>=2.0.0 # Apache-2.0
testtools>=2.2.0 # MIT
astroid==2.1.0 # LGPLv2.1
+isort==4.3.21 #MIT
pylint==2.2.0 # GPLv2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-freezerclient-3.0.1/tox.ini
new/python-freezerclient-4.0.0/tox.ini
--- old/python-freezerclient-3.0.1/tox.ini 2020-04-11 20:59:26.000000000
+0200
+++ new/python-freezerclient-4.0.0/tox.ini 2020-09-14 15:55:49.000000000
+0200
@@ -1,6 +1,6 @@
[tox]
minversion = 3.1.1
-envlist = py36,py37,pep8,pylint,docs
+envlist = py36,py38,pep8,pylint,docs
skipsdist = True
ignore_basepython_conflict = True
@@ -41,8 +41,8 @@
[testenv:py36]
basepython = python3.6
-[testenv:py37]
-basepython = python3.7
+[testenv:py38]
+basepython = python3.8
[testenv:docs]
deps = -r{toxinidir}/doc/requirements.txt