Hello community,
here is the log from the commit of package azure-cli-interactive for
openSUSE:Factory checked in at 2019-10-31 18:16:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/azure-cli-interactive (Old)
and /work/SRC/openSUSE:Factory/.azure-cli-interactive.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "azure-cli-interactive"
Thu Oct 31 18:16:15 2019 rev:7 rq:742694 version:0.4.5
Changes:
--------
---
/work/SRC/openSUSE:Factory/azure-cli-interactive/azure-cli-interactive.changes
2019-06-05 11:43:43.151032650 +0200
+++
/work/SRC/openSUSE:Factory/.azure-cli-interactive.new.2990/azure-cli-interactive.changes
2019-10-31 18:16:17.106074478 +0100
@@ -1,0 +2,12 @@
+Thu Oct 24 12:10:36 UTC 2019 - John Paul Adrian Glaubitz
<[email protected]>
+
+- New upstream release
+ + Version 0.4.5
+ + For detailed information about changes see the
+ HISTORY.txt file provided with this package
+- Drop patch to support older versions of setuptools as
+ SLE-12 is now shipping with a recent enough version
+ + aci_drop-compatible-releases-operator.patch
+- Update Requires from setup.py
+
+-------------------------------------------------------------------
Old:
----
aci_drop-compatible-releases-operator.patch
azure-cli-interactive-0.4.1.tar.gz
New:
----
azure-cli-interactive-0.4.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ azure-cli-interactive.spec ++++++
--- /var/tmp/diff_new_pack.JoVuyz/_old 2019-10-31 18:16:18.098075504 +0100
+++ /var/tmp/diff_new_pack.JoVuyz/_new 2019-10-31 18:16:18.118075526 +0100
@@ -17,7 +17,7 @@
Name: azure-cli-interactive
-Version: 0.4.1
+Version: 0.4.5
Release: 0
Summary: Microsoft Azure CLI Interactive Shell
License: MIT
@@ -25,7 +25,6 @@
Url: https://github.com/Azure/azure-cli
Source:
https://files.pythonhosted.org/packages/source/a/azure-cli-interactive/azure-cli-interactive-%{version}.tar.gz
Source1: LICENSE.txt
-Patch1: aci_drop-compatible-releases-operator.patch
BuildRequires: azure-cli-command-modules-nspkg
BuildRequires: azure-cli-nspkg
BuildRequires: fdupes
@@ -36,7 +35,7 @@
Requires: azure-cli-core
Requires: azure-cli-nspkg
Requires: python3-azure-nspkg >= 3.0.0
-Requires: python3-prompt_toolkit
+Requires: python3-prompt_toolkit >= 1.0.15
Conflicts: azure-cli < 2.0.0
BuildArch: noarch
@@ -49,7 +48,6 @@
%prep
%setup -q -n azure-cli-interactive-%{version}
-%patch1 -p1
%build
install -m 644 %{SOURCE1} %{_builddir}/azure-cli-interactive-%{version}
++++++ azure-cli-interactive-0.4.1.tar.gz -> azure-cli-interactive-0.4.5.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/azure-cli-interactive-0.4.1/HISTORY.rst
new/azure-cli-interactive-0.4.5/HISTORY.rst
--- old/azure-cli-interactive-0.4.1/HISTORY.rst 2018-12-14 18:43:41.000000000
+0100
+++ new/azure-cli-interactive-0.4.5/HISTORY.rst 2019-06-13 23:17:46.000000000
+0200
@@ -3,6 +3,22 @@
Release History
===============
+0.4.5
++++++
+* Minor fixes
+
+0.4.4
++++++
+* Minor fixes
+
+0.4.3
++++++
+* Minor fixes
+
+0.4.2
++++++
+* Fix incompatibility with Interactive extension installed through azdev.
+
0.4.1
+++++
* Minor fixes
@@ -128,11 +144,6 @@
++++++++++++++++++
* Improves the start up time by using cached commands
-
-
-0.3.7 (2017-07-27)
-++++++++++++++++++
-
* Increase test coverage
0.3.5 (2017-06-21)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/azure-cli-interactive-0.4.1/PKG-INFO
new/azure-cli-interactive-0.4.5/PKG-INFO
--- old/azure-cli-interactive-0.4.1/PKG-INFO 2018-12-14 18:44:04.000000000
+0100
+++ new/azure-cli-interactive-0.4.5/PKG-INFO 2019-06-13 23:17:59.000000000
+0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: azure-cli-interactive
-Version: 0.4.1
+Version: 0.4.5
Summary: Microsoft Azure Command-Line Interactive Shell
Home-page: https://github.com/Azure/azure-cli
Author: Microsoft Corporation
@@ -123,6 +123,22 @@
Release History
===============
+ 0.4.5
+ +++++
+ * Minor fixes
+
+ 0.4.4
+ +++++
+ * Minor fixes
+
+ 0.4.3
+ +++++
+ * Minor fixes
+
+ 0.4.2
+ +++++
+ * Fix incompatibility with Interactive extension installed through
azdev.
+
0.4.1
+++++
* Minor fixes
@@ -248,11 +264,6 @@
++++++++++++++++++
* Improves the start up time by using cached commands
-
-
- 0.3.7 (2017-07-27)
- ++++++++++++++++++
-
* Increase test coverage
0.3.5 (2017-06-21)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure-cli-interactive-0.4.1/azure/cli/command_modules/interactive/__init__.py
new/azure-cli-interactive-0.4.5/azure/cli/command_modules/interactive/__init__.py
---
old/azure-cli-interactive-0.4.1/azure/cli/command_modules/interactive/__init__.py
2018-12-14 18:43:41.000000000 +0100
+++
new/azure-cli-interactive-0.4.5/azure/cli/command_modules/interactive/__init__.py
2019-06-13 23:17:46.000000000 +0200
@@ -30,7 +30,7 @@
def load_command_table(self, _):
with self.command_group('',
operations_tmpl='azure.cli.command_modules.interactive.custom#{}') as g:
- g.command('interactive', 'start_shell')
+ g.command('interactive', 'start_shell', is_preview=True)
return self.command_table
def load_arguments(self, _):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure-cli-interactive-0.4.1/azure/cli/command_modules/interactive/custom.py
new/azure-cli-interactive-0.4.5/azure/cli/command_modules/interactive/custom.py
---
old/azure-cli-interactive-0.4.1/azure/cli/command_modules/interactive/custom.py
2018-12-14 18:43:41.000000000 +0100
+++
new/azure-cli-interactive-0.4.5/azure/cli/command_modules/interactive/custom.py
2019-06-13 23:17:46.000000000 +0200
@@ -4,9 +4,12 @@
#
--------------------------------------------------------------------------------------------
from knack.log import get_logger
-from azure.cli.core.extension import ExtensionNotInstalledException,
get_extension_modname, get_extension
-from azure.cli.core.extension.operations import (reload_extension,
update_extension,
- add_extension,
add_extension_to_path)
+from knack.util import CLIError
+
+from azure.cli.core.extension import (
+ ExtensionNotInstalledException, get_extension_modname, get_extension)
+from azure.cli.core.extension.operations import (
+ reload_extension, update_extension, add_extension, add_extension_to_path,
check_version_compatibility)
logger = get_logger(__name__)
INTERACTIVE_EXTENSION_NAME = 'interactive'
@@ -14,17 +17,25 @@
def start_shell(cmd, update=None, style=None):
from importlib import import_module
+
try:
get_extension(INTERACTIVE_EXTENSION_NAME)
+
if update:
- logger.warning("Updating the Interactive extension to the latest
available..")
- update_extension(INTERACTIVE_EXTENSION_NAME)
+ logger.warning("Updating the Interactive extension to the latest
available...")
+ update_extension(cmd, INTERACTIVE_EXTENSION_NAME)
reload_extension(INTERACTIVE_EXTENSION_NAME)
except ExtensionNotInstalledException:
- logger.warning("Installing the Interactive extension..")
- add_extension(extension_name=INTERACTIVE_EXTENSION_NAME)
+ logger.warning("Installing the Interactive extension...")
+ add_extension(cmd, extension_name=INTERACTIVE_EXTENSION_NAME)
+
+ ext = get_extension(INTERACTIVE_EXTENSION_NAME)
+ try:
+ check_version_compatibility(ext.get_metadata())
+ except CLIError:
+ raise CLIError('Run `az interactive --update` and try again.')
- add_extension_to_path(INTERACTIVE_EXTENSION_NAME)
- interactive_module =
get_extension_modname(ext_name=INTERACTIVE_EXTENSION_NAME)
+ add_extension_to_path(INTERACTIVE_EXTENSION_NAME, ext_dir=ext.path)
+ interactive_module =
get_extension_modname(ext_name=INTERACTIVE_EXTENSION_NAME, ext_dir=ext.path)
azext_interactive = import_module(interactive_module)
azext_interactive.start_shell(cmd, style=style)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure-cli-interactive-0.4.1/azure_cli_interactive.egg-info/PKG-INFO
new/azure-cli-interactive-0.4.5/azure_cli_interactive.egg-info/PKG-INFO
--- old/azure-cli-interactive-0.4.1/azure_cli_interactive.egg-info/PKG-INFO
2018-12-14 18:44:04.000000000 +0100
+++ new/azure-cli-interactive-0.4.5/azure_cli_interactive.egg-info/PKG-INFO
2019-06-13 23:17:59.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: azure-cli-interactive
-Version: 0.4.1
+Version: 0.4.5
Summary: Microsoft Azure Command-Line Interactive Shell
Home-page: https://github.com/Azure/azure-cli
Author: Microsoft Corporation
@@ -123,6 +123,22 @@
Release History
===============
+ 0.4.5
+ +++++
+ * Minor fixes
+
+ 0.4.4
+ +++++
+ * Minor fixes
+
+ 0.4.3
+ +++++
+ * Minor fixes
+
+ 0.4.2
+ +++++
+ * Fix incompatibility with Interactive extension installed through
azdev.
+
0.4.1
+++++
* Minor fixes
@@ -248,11 +264,6 @@
++++++++++++++++++
* Improves the start up time by using cached commands
-
-
- 0.3.7 (2017-07-27)
- ++++++++++++++++++
-
* Increase test coverage
0.3.5 (2017-06-21)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/azure-cli-interactive-0.4.1/setup.py
new/azure-cli-interactive-0.4.5/setup.py
--- old/azure-cli-interactive-0.4.1/setup.py 2018-12-14 18:43:41.000000000
+0100
+++ new/azure-cli-interactive-0.4.5/setup.py 2019-06-13 23:17:46.000000000
+0200
@@ -14,7 +14,7 @@
cmdclass = {}
# Version is also defined in azclishell.__init__.py.
-VERSION = "0.4.1"
+VERSION = "0.4.5"
# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
CLASSIFIERS = [