Hello community,
here is the log from the commit of package python-designateclient for
openSUSE:Factory checked in at 2020-06-05 20:09:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-designateclient (Old)
and /work/SRC/openSUSE:Factory/.python-designateclient.new.3606 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-designateclient"
Fri Jun 5 20:09:43 2020 rev:18 rq:803558 version:4.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-designateclient/python-designateclient.changes
2020-03-24 22:31:52.057074984 +0100
+++
/work/SRC/openSUSE:Factory/.python-designateclient.new.3606/python-designateclient.changes
2020-06-05 20:12:09.230114098 +0200
@@ -1,0 +2,15 @@
+Tue May 12 10:01:32 UTC 2020 - [email protected]
+
+- update to version 4.0.0
+ - Switch upper-constraints URL to static location
+ - Use unittest.mock instead of third party mock
+ - Switch to Ussuri jobs
+ - Cleanup py27 support
+ - Removing unused code
+ - More cleanup
+ - Fix "recordset list --all-projects" in interactive OSC
+ - Fix "zone list --all-projects" in interactive OSC
+ - Update master for stable/train
+ - Drop py27 support
+
+-------------------------------------------------------------------
Old:
----
python-designateclient-3.0.0.tar.gz
New:
----
python-designateclient-4.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-designateclient.spec ++++++
--- /var/tmp/diff_new_pack.iIJU6o/_old 2020-06-05 20:12:14.126129894 +0200
+++ /var/tmp/diff_new_pack.iIJU6o/_new 2020-06-05 20:12:14.130129907 +0200
@@ -17,13 +17,13 @@
Name: python-designateclient
-Version: 3.0.0
+Version: 4.0.0
Release: 0
Summary: OpenStack DNS as a Service - Client
License: Apache-2.0
Group: Development/Languages/Python
URL: https://launchpad.net/python-designateclient
-Source0:
https://files.pythonhosted.org/packages/source/p/python-designateclient/python-designateclient-3.0.0.tar.gz
+Source0:
https://files.pythonhosted.org/packages/source/p/python-designateclient/python-designateclient-4.0.0.tar.gz
BuildRequires: openstack-macros
BuildRequires: python3-jsonschema >= 2.6.0
BuildRequires: python3-keystoneauth1 >= 3.4.0
@@ -68,14 +68,14 @@
Documentation for the OpenStack DNS as a Service - Client.
%prep
-%autosetup -p1 -n python-designateclient-3.0.0
+%autosetup -p1 -n python-designateclient-4.0.0
%py_req_cleanup
%build
%py3_build
# generate docs
-PYTHONPATH=. PBR_VERSION=3.0.0 %sphinx_build -b html doc/source doc/build/html
+PYTHONPATH=. PBR_VERSION=4.0.0 %sphinx_build -b html doc/source doc/build/html
# remove the sphinx-build leftovers
rm -rf doc/build/html/.{doctrees,buildinfo}
++++++ _service ++++++
--- /var/tmp/diff_new_pack.iIJU6o/_old 2020-06-05 20:12:14.154129984 +0200
+++ /var/tmp/diff_new_pack.iIJU6o/_new 2020-06-05 20:12:14.158129997 +0200
@@ -1,8 +1,8 @@
<services>
<service mode="disabled" name="renderspec">
- <param
name="input-template">https://raw.githubusercontent.com/openstack/rpm-packaging/stable/train/openstack/python-designateclient/python-designateclient.spec.j2</param>
+ <param
name="input-template">https://opendev.org/openstack/rpm-packaging/raw/branch/stable/ussuri/openstack/python-designateclient/python-designateclient.spec.j2</param>
<param name="output-name">python-designateclient.spec</param>
- <param
name="requirements">https://raw.githubusercontent.com/openstack/python-designateclient/stable/train/requirements.txt</param>
+ <param
name="requirements">https://opendev.org/openstack/python-designateclient/raw/branch/stable/ussuri/requirements.txt</param>
<param name="changelog-email">[email protected]</param>
<param
name="changelog-provider">gh,openstack,python-designateclient</param>
</service>
++++++ python-designateclient-3.0.0.tar.gz ->
python-designateclient-4.0.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-designateclient-3.0.0/.zuul.yaml
new/python-designateclient-4.0.0/.zuul.yaml
--- old/python-designateclient-3.0.0/.zuul.yaml 2019-09-16 11:22:44.000000000
+0200
+++ new/python-designateclient-4.0.0/.zuul.yaml 2020-04-09 12:51:30.000000000
+0200
@@ -4,9 +4,9 @@
- designate-devstack-jobs
- openstack-cover-jobs
- openstack-lower-constraints-jobs
- - openstack-python-jobs
- - openstack-python3-train-jobs
+ - openstack-python3-ussuri-jobs
- openstackclient-plugin-jobs
- publish-openstack-docs-pti
+ - release-notes-jobs-python3
gate:
queue: designate
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-designateclient-3.0.0/AUTHORS
new/python-designateclient-4.0.0/AUTHORS
--- old/python-designateclient-3.0.0/AUTHORS 2019-09-16 11:23:28.000000000
+0200
+++ new/python-designateclient-4.0.0/AUTHORS 2020-04-09 12:52:43.000000000
+0200
@@ -41,6 +41,7 @@
Jeremy Stanley <[email protected]>
Joe Gordon <[email protected]>
Jordan Cazamias <[email protected]>
+Joseph M <[email protected]>
KATO Tomoyuki <[email protected]>
Kiall Mac Innes <[email protected]>
Kiall Mac Innes <[email protected]>
@@ -62,6 +63,7 @@
Sascha Peilicke <[email protected]>
Sascha Peilicke <[email protected]>
Satyanarayana Patibandla <[email protected]>
+Sean McGinnis <[email protected]>
Shane Wang <[email protected]>
Shuquan Huang <[email protected]>
Simon McCartney <[email protected]>
@@ -82,6 +84,7 @@
ghanshyam <[email protected]>
howardlee <[email protected]>
jacky06 <[email protected]>
+kangyufei <[email protected]>
lingyongxu <[email protected]>
melissaml <[email protected]>
miaoyuliang <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-designateclient-3.0.0/ChangeLog
new/python-designateclient-4.0.0/ChangeLog
--- old/python-designateclient-3.0.0/ChangeLog 2019-09-16 11:23:28.000000000
+0200
+++ new/python-designateclient-4.0.0/ChangeLog 2020-04-09 12:52:43.000000000
+0200
@@ -1,6 +1,24 @@
CHANGES
=======
+4.0.0
+-----
+
+* Cleanup py27 support
+* Use unittest.mock instead of third party mock
+* Drop py27 support
+* Switch to Ussuri jobs
+
+3.1.0
+-----
+
+* Update master for stable/train
+* Switch upper-constraints URL to static location
+* Fix "recordset list --all-projects" in interactive OSC
+* More cleanup
+* Removing unused code
+* Fix "zone list --all-projects" in interactive OSC
+
3.0.0
-----
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-designateclient-3.0.0/PKG-INFO
new/python-designateclient-4.0.0/PKG-INFO
--- old/python-designateclient-3.0.0/PKG-INFO 2019-09-16 11:23:28.000000000
+0200
+++ new/python-designateclient-4.0.0/PKG-INFO 2020-04-09 12:52:43.000000000
+0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
Name: python-designateclient
-Version: 3.0.0
+Version: 4.0.0
Summary: OpenStack DNS-as-a-Service - Client
Home-page: https://docs.openstack.org/python-designateclient/latest
Author: OpenStack
@@ -53,9 +53,10 @@
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: Implementation :: CPython
+Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Internet :: Name Service (DNS)
+Requires-Python: >=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-designateclient-3.0.0/designateclient/tests/test_utils.py
new/python-designateclient-4.0.0/designateclient/tests/test_utils.py
--- old/python-designateclient-3.0.0/designateclient/tests/test_utils.py
2019-09-16 11:22:44.000000000 +0200
+++ new/python-designateclient-4.0.0/designateclient/tests/test_utils.py
2020-04-09 12:51:30.000000000 +0200
@@ -11,11 +11,9 @@
# License for the specific language governing permissions and limitations
# under the License.
+from unittest import mock
import uuid
-import mock
-
-
from designateclient import exceptions
from designateclient.tests import base
from designateclient import utils
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-designateclient-3.0.0/designateclient/utils.py
new/python-designateclient-4.0.0/designateclient/utils.py
--- old/python-designateclient-3.0.0/designateclient/utils.py 2019-09-16
11:22:44.000000000 +0200
+++ new/python-designateclient-4.0.0/designateclient/utils.py 2020-04-09
12:51:30.000000000 +0200
@@ -16,11 +16,7 @@
import uuid
-from debtcollector import removals
from keystoneauth1 import adapter
-from keystoneauth1.identity import generic
-from keystoneauth1 import session as ks_session
-from keystoneauth1 import token_endpoint
import six
from designateclient import exceptions
@@ -73,61 +69,6 @@
return list(columns)
[email protected]_kwarg('all_tenants', removal_version='1.3.0')
[email protected]_kwarg('edit_managed', removal_version='1.3.0')
-def get_session(auth_url, endpoint, domain_id, domain_name, project_id,
- project_name, project_domain_name, project_domain_id, username,
- user_id, password, user_domain_id, user_domain_name, token,
- insecure, cacert, all_tenants=False, edit_managed=False):
- # NOTE: all_tenants and edit_managed are here for backwards compat
- # reasons, do not add additional modifiers here.
-
- session = ks_session.Session()
-
- # Build + Attach Authentication Plugin
- auth_args = {
- 'auth_url': auth_url,
- 'domain_id': domain_id,
- 'domain_name': domain_name,
- 'project_id': project_id,
- 'project_name': project_name,
- 'project_domain_name': project_domain_name,
- 'project_domain_id': project_domain_id,
- }
-
- if token and endpoint:
- session.auth = token_endpoint.Token(endpoint, token)
-
- elif token:
- auth_args.update({
- 'token': token
- })
- session.auth = generic.Token(**auth_args)
-
- else:
- auth_args.update({
- 'username': username,
- 'user_id': user_id,
- 'password': password,
- 'user_domain_id': user_domain_id,
- 'user_domain_name': user_domain_name,
- })
- session.auth = generic.Password(**auth_args)
-
- # SSL/TLS Server Cert Verification
- if insecure is True:
- session.verify = False
- else:
- session.verify = cacert
-
- # NOTE: all_tenants and edit_managed are here for backwards compat
- # reasons, do not add additional modifiers here.
- session.all_tenants = all_tenants
- session.edit_managed = edit_managed
-
- return session
-
-
def find_resourceid_by_name_or_id(resource_client, name_or_id):
"""Find resource id from its id or name."""
try:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-designateclient-3.0.0/designateclient/v2/cli/recordsets.py
new/python-designateclient-4.0.0/designateclient/v2/cli/recordsets.py
--- old/python-designateclient-3.0.0/designateclient/v2/cli/recordsets.py
2019-09-16 11:22:44.000000000 +0200
+++ new/python-designateclient-4.0.0/designateclient/v2/cli/recordsets.py
2020-04-09 12:51:30.000000000 +0200
@@ -97,7 +97,7 @@
if parsed_args.action is not None:
criterion["action"] = parsed_args.action
- cols = self.columns
+ cols = list(self.columns)
if parsed_args.zone_id == 'all':
data = get_all(client.recordsets.list_all_zones,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-designateclient-3.0.0/designateclient/v2/cli/zones.py
new/python-designateclient-4.0.0/designateclient/v2/cli/zones.py
--- old/python-designateclient-3.0.0/designateclient/v2/cli/zones.py
2019-09-16 11:22:44.000000000 +0200
+++ new/python-designateclient-4.0.0/designateclient/v2/cli/zones.py
2020-04-09 12:51:30.000000000 +0200
@@ -91,7 +91,7 @@
data = get_all(client.zones.list, criterion)
- cols = self.columns
+ cols = list(self.columns)
if client.session.all_projects:
cols.insert(1, 'project_id')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-designateclient-3.0.0/designateclient/warlock.py
new/python-designateclient-4.0.0/designateclient/warlock.py
--- old/python-designateclient-3.0.0/designateclient/warlock.py 2019-09-16
11:22:44.000000000 +0200
+++ new/python-designateclient-4.0.0/designateclient/warlock.py 1970-01-01
01:00:00.000000000 +0100
@@ -1,135 +0,0 @@
-# Copyright 2012 Brian Waldon
-#
-# Licensed under the Apache License, Version 2.0 (the "License"); you may
-# not use this file except in compliance with the License. You may obtain
-# a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-# License for the specific language governing permissions and limitations
-# under the License.
-#
-# Code copied from Warlock, as warlock depends on jsonschema==0.2
-# Hopefully we can upstream the changes ASAP.
-#
-
-import copy
-import logging
-
-import jsonschema
-import six
-
-LOG = logging.getLogger(__name__)
-
-
-class InvalidOperation(RuntimeError):
- pass
-
-
-class ValidationError(ValueError):
- pass
-
-
-def model_factory(schema):
- """Generate a model class based on the provided JSON Schema
-
- :param schema: dict representing valid JSON schema
- """
- schema = copy.deepcopy(schema)
-
- def validator(obj):
- """Apply a JSON schema to an object"""
- try:
- jsonschema.validate(obj, schema, cls=jsonschema.Draft3Validator)
- except jsonschema.ValidationError as e:
- raise ValidationError(str(e))
-
- class Model(dict):
- """Self-validating model for arbitrary objects"""
-
- def __init__(self, *args, **kwargs):
- d = dict(*args, **kwargs)
-
- # we overload setattr so set this manually
- self.__dict__['validator'] = validator
- try:
- self.validator(d)
- except ValidationError as e:
- raise ValueError('Validation Error: %s' % str(e))
- else:
- dict.__init__(self, d)
-
- self.__dict__['changes'] = {}
-
- def __getattr__(self, key):
- try:
- return self.__getitem__(key)
- except KeyError:
- raise AttributeError(key)
-
- def __setitem__(self, key, value):
- mutation = dict(self.items())
- mutation[key] = value
- try:
- self.validator(mutation)
- except ValidationError as e:
- raise InvalidOperation(str(e))
-
- dict.__setitem__(self, key, value)
-
- self.__dict__['changes'][key] = value
-
- def __setattr__(self, key, value):
- self.__setitem__(key, value)
-
- def clear(self):
- raise InvalidOperation()
-
- def pop(self, key, default=None):
- raise InvalidOperation()
-
- def popitem(self):
- raise InvalidOperation()
-
- def __delitem__(self, key):
- raise InvalidOperation()
-
- # NOTE(termie): This is kind of the opposite of what copy usually does
- def copy(self):
- return copy.deepcopy(dict(self))
-
- def update(self, other):
- # NOTE(kiall): It seems update() doesn't update the
- # self.__dict__['changes'] dict correctly.
- mutation = dict(self.items())
- mutation.update(other)
- try:
- self.validator(mutation)
- except ValidationError as e:
- raise InvalidOperation(str(e))
- dict.update(self, other)
-
- def iteritems(self):
- return six.iteritems(copy.deepcopy(dict(self)))
-
- def items(self):
- return list(six.iteritems(copy.deepcopy(dict(self))))
-
- def itervalues(self):
- return six.itervalues(copy.deepcopy(dict(self)))
-
- def keys(self):
- return list(six.iterkeys(copy.deepcopy(dict(self))))
-
- def values(self):
- return list(six.itervalues(copy.deepcopy(dict(self))))
-
- @property
- def changes(self):
- return copy.deepcopy(self.__dict__['changes'])
-
- Model.__name__ = str(schema['title'])
- return Model
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-designateclient-3.0.0/doc/requirements.txt
new/python-designateclient-4.0.0/doc/requirements.txt
--- old/python-designateclient-3.0.0/doc/requirements.txt 2019-09-16
11:22:44.000000000 +0200
+++ new/python-designateclient-4.0.0/doc/requirements.txt 2020-04-09
12:51:30.000000000 +0200
@@ -1,7 +1,6 @@
# 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.
-sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD
-sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
+sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD
reno>=2.7.0 # Apache-2.0
openstackdocstheme>=1.18.1 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-designateclient-3.0.0/doc/source/conf.py
new/python-designateclient-4.0.0/doc/source/conf.py
--- old/python-designateclient-3.0.0/doc/source/conf.py 2019-09-16
11:22:44.000000000 +0200
+++ new/python-designateclient-4.0.0/doc/source/conf.py 2020-04-09
12:51:30.000000000 +0200
@@ -12,7 +12,6 @@
repository_name = 'openstack/python-designateclient'
bug_project = 'python-designateclient'
bug_tag = ''
-html_last_updated_fmt = '%Y-%m-%d %H:%M'
html_theme = 'openstackdocs'
# Add any paths that contain templates here, relative to this directory.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-designateclient-3.0.0/doc/source/index.rst
new/python-designateclient-4.0.0/doc/source/index.rst
--- old/python-designateclient-3.0.0/doc/source/index.rst 2019-09-16
11:22:44.000000000 +0200
+++ new/python-designateclient-4.0.0/doc/source/index.rst 2020-04-09
12:51:30.000000000 +0200
@@ -2,13 +2,15 @@
python-designateclient
======================
-python-designateclient provides python bindings and command line tools for
Designate v2 APIs.
+python-designateclient provides python bindings and command line tools for the
+Designate v2 APIs.
The :ref:`Python API bindings <bindings>` are provided by the
:program:`designateclient` module.
-The designate plugin for the :program:`openstack` command line tool. More
information can be
-found on the :ref:`designate v2 command line tool page <shell-v2>`.
+The designate plugin can be used via the :program:`openstack` command line
tool.
+More information can be
+found on the :ref:`designate command line tool page <shell-v2>`.
You'll need credentials for an OpenStack cloud that implements the Designate
API in order to use the client.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-designateclient-3.0.0/doc/source/user/shell-v2.rst
new/python-designateclient-4.0.0/doc/source/user/shell-v2.rst
--- old/python-designateclient-3.0.0/doc/source/user/shell-v2.rst
2019-09-16 11:22:44.000000000 +0200
+++ new/python-designateclient-4.0.0/doc/source/user/shell-v2.rst
2020-04-09 12:51:30.000000000 +0200
@@ -1,8 +1,8 @@
.. _shell-v2:
-===========================
-OpenStack CLI (v2 API only)
-===========================
+=============
+OpenStack CLI
+=============
The python-designateclient package comes with a plugin for the openstack
command line tool (installed as :program:`openstack`). This can be used to
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-designateclient-3.0.0/lower-constraints.txt
new/python-designateclient-4.0.0/lower-constraints.txt
--- old/python-designateclient-3.0.0/lower-constraints.txt 2019-09-16
11:22:44.000000000 +0200
+++ new/python-designateclient-4.0.0/lower-constraints.txt 2020-04-09
12:51:30.000000000 +0200
@@ -26,7 +26,6 @@
keystoneauth1==3.4.0
linecache2==1.0.0
mccabe==0.2.1
-mock==2.0.0
monotonic==0.6
mox3==0.20.0
msgpack-python==0.4.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-designateclient-3.0.0/python_designateclient.egg-info/PKG-INFO
new/python-designateclient-4.0.0/python_designateclient.egg-info/PKG-INFO
--- old/python-designateclient-3.0.0/python_designateclient.egg-info/PKG-INFO
2019-09-16 11:23:28.000000000 +0200
+++ new/python-designateclient-4.0.0/python_designateclient.egg-info/PKG-INFO
2020-04-09 12:52:43.000000000 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
Name: python-designateclient
-Version: 3.0.0
+Version: 4.0.0
Summary: OpenStack DNS-as-a-Service - Client
Home-page: https://docs.openstack.org/python-designateclient/latest
Author: OpenStack
@@ -53,9 +53,10 @@
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: Implementation :: CPython
+Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Internet :: Name Service (DNS)
+Requires-Python: >=3.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-designateclient-3.0.0/python_designateclient.egg-info/SOURCES.txt
new/python-designateclient-4.0.0/python_designateclient.egg-info/SOURCES.txt
---
old/python-designateclient-3.0.0/python_designateclient.egg-info/SOURCES.txt
2019-09-16 11:23:28.000000000 +0200
+++
new/python-designateclient-4.0.0/python_designateclient.egg-info/SOURCES.txt
2020-04-09 12:52:43.000000000 +0200
@@ -17,7 +17,6 @@
designateclient/exceptions.py
designateclient/utils.py
designateclient/version.py
-designateclient/warlock.py
designateclient/functionaltests/__init__.py
designateclient/functionaltests/base.py
designateclient/functionaltests/client.py
@@ -104,6 +103,7 @@
python_designateclient.egg-info/requires.txt
python_designateclient.egg-info/top_level.txt
releasenotes/notes/.placeholder
+releasenotes/notes/drop-py2-c4e50d006fa4446c.yaml
releasenotes/notes/quota-commands-7ff037bddae95771.yaml
releasenotes/notes/remove-api-v1-4e507128b344082b.yaml
releasenotes/source/conf.py
@@ -114,6 +114,7 @@
releasenotes/source/queens.rst
releasenotes/source/rocky.rst
releasenotes/source/stein.rst
+releasenotes/source/train.rst
releasenotes/source/unreleased.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-designateclient-3.0.0/python_designateclient.egg-info/pbr.json
new/python-designateclient-4.0.0/python_designateclient.egg-info/pbr.json
--- old/python-designateclient-3.0.0/python_designateclient.egg-info/pbr.json
2019-09-16 11:23:28.000000000 +0200
+++ new/python-designateclient-4.0.0/python_designateclient.egg-info/pbr.json
2020-04-09 12:52:43.000000000 +0200
@@ -1 +1 @@
-{"git_version": "093d8d7", "is_release": true}
\ No newline at end of file
+{"git_version": "9a2f2d4", "is_release": true}
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-designateclient-3.0.0/releasenotes/notes/drop-py2-c4e50d006fa4446c.yaml
new/python-designateclient-4.0.0/releasenotes/notes/drop-py2-c4e50d006fa4446c.yaml
---
old/python-designateclient-3.0.0/releasenotes/notes/drop-py2-c4e50d006fa4446c.yaml
1970-01-01 01:00:00.000000000 +0100
+++
new/python-designateclient-4.0.0/releasenotes/notes/drop-py2-c4e50d006fa4446c.yaml
2020-04-09 12:51:30.000000000 +0200
@@ -0,0 +1,6 @@
+---
+upgrade:
+ - |
+ Python 2.7 support has been dropped. The last release of
python-designateclient
+ to support Python 2.7 is 3.1. The minimum version of Python now supported
+ is Python 3.6.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-designateclient-3.0.0/releasenotes/source/conf.py
new/python-designateclient-4.0.0/releasenotes/source/conf.py
--- old/python-designateclient-3.0.0/releasenotes/source/conf.py
2019-09-16 11:22:44.000000000 +0200
+++ new/python-designateclient-4.0.0/releasenotes/source/conf.py
2020-04-09 12:51:30.000000000 +0200
@@ -45,7 +45,6 @@
repository_name = 'openstack/python-designateclient'
bug_project = 'python-designateclient'
bug_tag = ''
-html_last_updated_fmt = '%Y-%m-%d %H:%M'
html_theme = 'openstackdocs'
# Add any paths that contain templates here, relative to this directory.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-designateclient-3.0.0/releasenotes/source/index.rst
new/python-designateclient-4.0.0/releasenotes/source/index.rst
--- old/python-designateclient-3.0.0/releasenotes/source/index.rst
2019-09-16 11:22:44.000000000 +0200
+++ new/python-designateclient-4.0.0/releasenotes/source/index.rst
2020-04-09 12:51:30.000000000 +0200
@@ -6,6 +6,7 @@
:maxdepth: 1
unreleased
+ train
stein
rocky
queens
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/python-designateclient-3.0.0/releasenotes/source/train.rst
new/python-designateclient-4.0.0/releasenotes/source/train.rst
--- old/python-designateclient-3.0.0/releasenotes/source/train.rst
1970-01-01 01:00:00.000000000 +0100
+++ new/python-designateclient-4.0.0/releasenotes/source/train.rst
2020-04-09 12:51:30.000000000 +0200
@@ -0,0 +1,6 @@
+==========================
+Train Series Release Notes
+==========================
+
+.. release-notes::
+ :branch: stable/train
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-designateclient-3.0.0/setup.cfg
new/python-designateclient-4.0.0/setup.cfg
--- old/python-designateclient-3.0.0/setup.cfg 2019-09-16 11:23:28.000000000
+0200
+++ new/python-designateclient-4.0.0/setup.cfg 2020-04-09 12:52:43.000000000
+0200
@@ -7,6 +7,7 @@
author = OpenStack
author-email = [email protected]
home-page = https://docs.openstack.org/python-designateclient/latest
+python-requires = >=3.6
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
@@ -14,17 +15,13 @@
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python
- Programming Language :: Python :: 2
- Programming Language :: Python :: 2.7
+ Programming Language :: Python :: Implementation :: CPython
+ Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Topic :: Internet :: Name Service (DNS)
-[global]
-setup-hooks =
- pbr.hooks.setup_hook
-
[files]
packages =
designateclient
@@ -100,13 +97,6 @@
tsigkey_set = designateclient.v2.cli.tsigkeys:SetTSIGKeyCommand
tsigkey_delete = designateclient.v2.cli.tsigkeys:DeleteTSIGKeyCommand
-[build_sphinx]
-builders = html,man
-all-files = 1
-warning-is-error = 1
-build-dir = doc/build
-source-dir = doc/source
-
[egg_info]
tag_build =
tag_date = 0
@@ -126,9 +116,6 @@
mapping_file = babel.cfg
output_file = designateclient/locale/designateclient.pot
-[wheel]
-universal = 1
-
[pbr]
autodoc_index_modules = True
api_doc_dir = reference/api
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-designateclient-3.0.0/setup.py
new/python-designateclient-4.0.0/setup.py
--- old/python-designateclient-3.0.0/setup.py 2019-09-16 11:22:44.000000000
+0200
+++ new/python-designateclient-4.0.0/setup.py 2020-04-09 12:51:30.000000000
+0200
@@ -13,17 +13,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
-# In python < 2.7.4, a lazy loading of package `pbr` will break
-# setuptools if some other modules registered functions in `atexit`.
-# solution from: http://bugs.python.org/issue15881#msg170215
-try:
- import multiprocessing # noqa
-except ImportError:
- pass
-
setuptools.setup(
setup_requires=['pbr>=2.0.0'],
pbr=True)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-designateclient-3.0.0/test-requirements.txt
new/python-designateclient-4.0.0/test-requirements.txt
--- old/python-designateclient-3.0.0/test-requirements.txt 2019-09-16
11:22:44.000000000 +0200
+++ new/python-designateclient-4.0.0/test-requirements.txt 2020-04-09
12:51:30.000000000 +0200
@@ -4,7 +4,6 @@
# Hacking already pins down pep8, pyflakes and flake8
hacking>=1.1.0,<1.2.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
-mock>=2.0.0 # BSD
oslo.config>=5.2.0 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0
os-testr>=1.0.0 # Apache-2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/python-designateclient-3.0.0/tox.ini
new/python-designateclient-4.0.0/tox.ini
--- old/python-designateclient-3.0.0/tox.ini 2019-09-16 11:22:44.000000000
+0200
+++ new/python-designateclient-4.0.0/tox.ini 2020-04-09 12:51:30.000000000
+0200
@@ -1,9 +1,14 @@
[tox]
-envlist = py27,py37,flake8
-minversion = 2.0
+envlist = py36,py37,flake8
+minversion = 3.1.0
skipsdist = True
+skip_missing_interpreters = true
+# this allows tox to infer the base python from the environment name
+# and override any basepython configured in this file
+ignore_basepython_conflict = true
[testenv]
+basepython = python3
usedevelop = True
install_command = pip install {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
@@ -11,7 +16,7 @@
LANGUAGE=en_US:en
LC_ALL=C
deps =
-
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
+
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
@@ -25,27 +30,22 @@
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
[testenv:docs]
-basepython = python3
deps =
-
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
+
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
commands = sphinx-build -b html doc/source doc/build/html
[testenv:flake8]
-basepython = python3
commands = flake8
[testenv:pep8]
-basepython = python3
commands = flake8
[testenv:pyflakes]
-basepython = python3
commands = flake8
[testenv:cover]
-basepython = python3
setenv =
PYTHON=coverage run --source designateclient --parallel-mode
commands =
@@ -55,7 +55,6 @@
coverage xml -o cover/coverage.xml
[testenv:venv]
-basepython = python3
commands = {posargs}
[testenv:functional]
@@ -68,10 +67,17 @@
OS_DEBUG
TEMPEST_CONFIG
+[testenv:functional-py36]
+setenv =
+ {[testenv:functional]setenv}
+
+[testenv:functional-py37]
+setenv =
+ {[testenv:functional]setenv}
+
[testenv:releasenotes]
-basepython = python3
deps =
-
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
+
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html
releasenotes/source releasenotes/build/html
@@ -89,7 +95,6 @@
exclude =
.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools
[testenv:lower-constraints]
-basepython = python3
deps =
-c{toxinidir}/lower-constraints.txt
-r{toxinidir}/test-requirements.txt