Hello community,

here is the log from the commit of package azure-cli-telemetry for 
openSUSE:Factory checked in at 2020-10-02 17:23:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/azure-cli-telemetry (Old)
 and      /work/SRC/openSUSE:Factory/.azure-cli-telemetry.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "azure-cli-telemetry"

Fri Oct  2 17:23:42 2020 rev:5 rq:831456 version:1.0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/azure-cli-telemetry/azure-cli-telemetry.changes  
2019-10-31 18:17:54.986175803 +0100
+++ 
/work/SRC/openSUSE:Factory/.azure-cli-telemetry.new.4249/azure-cli-telemetry.changes
        2020-10-02 17:24:16.110270965 +0200
@@ -1,0 +2,8 @@
+Wed Sep  2 12:35:06 UTC 2020 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- New upstream release
+  + Version 1.0.6
+  + For detailed information about changes see the
+    HISTORY.rst file provided with this package
+
+-------------------------------------------------------------------
@@ -7 +15 @@
-    HISTORY.txt file provided with this package
+    HISTORY.rst file provided with this package
@@ -24 +32 @@
-    HISTORY.txt file provided with this package
+    HISTORY.rst file provided with this package

Old:
----
  azure-cli-telemetry-1.0.4.tar.gz

New:
----
  azure-cli-telemetry-1.0.6.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ azure-cli-telemetry.spec ++++++
--- /var/tmp/diff_new_pack.ShPz0S/_old  2020-10-02 17:24:18.366272316 +0200
+++ /var/tmp/diff_new_pack.ShPz0S/_new  2020-10-02 17:24:18.370272318 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package azure-cli-telemetry
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,12 @@
 
 
 Name:           azure-cli-telemetry
-Version:        1.0.4
+Version:        1.0.6
 Release:        0
 Summary:        Microsoft Azure CLI Telemetry Package
 License:        MIT
 Group:          System/Management
-Url:            https://github.com/Azure/azure-cli
+URL:            https://github.com/Azure/azure-cli
 Source:         
https://files.pythonhosted.org/packages/source/a/azure-cli-telemetry/azure-cli-telemetry-%{version}.tar.gz
 Source1:        LICENSE.txt
 BuildRequires:  azure-cli-nspkg

++++++ azure-cli-telemetry-1.0.4.tar.gz -> azure-cli-telemetry-1.0.6.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-telemetry-1.0.4/HISTORY.rst 
new/azure-cli-telemetry-1.0.6/HISTORY.rst
--- old/azure-cli-telemetry-1.0.4/HISTORY.rst   2019-10-11 10:59:52.000000000 
+0200
+++ new/azure-cli-telemetry-1.0.6/HISTORY.rst   2020-08-28 13:32:53.000000000 
+0200
@@ -2,6 +2,14 @@
 
 Release History
 ===============
+1.0.6
++++++
+* Add `__version__` in `__init__.py`
+
+1.0.5
++++++
+* Support PEP420 namespace package
+
 1.0.4
 +++++
 * MANIFEST file change to fix wheel install
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-telemetry-1.0.4/MANIFEST.in 
new/azure-cli-telemetry-1.0.6/MANIFEST.in
--- old/azure-cli-telemetry-1.0.4/MANIFEST.in   2019-10-11 10:59:52.000000000 
+0200
+++ new/azure-cli-telemetry-1.0.6/MANIFEST.in   2020-08-28 13:32:53.000000000 
+0200
@@ -1,2 +1,3 @@
 include *.rst
-include azure_bdist_wheel.py
\ No newline at end of file
+include azure/__init__.py
+include azure/cli/__init__.py
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-telemetry-1.0.4/PKG-INFO 
new/azure-cli-telemetry-1.0.6/PKG-INFO
--- old/azure-cli-telemetry-1.0.4/PKG-INFO      2019-10-11 11:00:01.000000000 
+0200
+++ new/azure-cli-telemetry-1.0.6/PKG-INFO      2020-08-28 13:33:13.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: azure-cli-telemetry
-Version: 1.0.4
+Version: 1.0.6
 Summary: Microsoft Azure CLI Telemetry Package
 Home-page: https://github.com/Azure/azure-cli
 Author: Microsoft Corporation
@@ -21,6 +21,14 @@
         
         Release History
         ===============
+        1.0.6
+        +++++
+        * Add `__version__` in `__init__.py`
+        
+        1.0.5
+        +++++
+        * Support PEP420 namespace package
+        
         1.0.4
         +++++
         * MANIFEST file change to fix wheel install
@@ -46,11 +54,8 @@
 Classifier: Intended Audience :: Developers
 Classifier: Intended Audience :: System Administrators
 Classifier: Programming Language :: Python
-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
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Classifier: License :: OSI Approved :: MIT License
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-telemetry-1.0.4/azure/__init__.py 
new/azure-cli-telemetry-1.0.6/azure/__init__.py
--- old/azure-cli-telemetry-1.0.4/azure/__init__.py     2019-10-11 
10:59:52.000000000 +0200
+++ new/azure-cli-telemetry-1.0.6/azure/__init__.py     2020-08-28 
13:32:53.000000000 +0200
@@ -2,5 +2,4 @@
 # Copyright (c) Microsoft Corporation. All rights reserved.
 # Licensed under the MIT License. See License.txt in the project root for 
license information.
 # 
--------------------------------------------------------------------------------------------
-import pkg_resources
-pkg_resources.declare_namespace(__name__)
+__path__ = __import__("pkgutil").extend_path(__path__, __name__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-telemetry-1.0.4/azure/cli/__init__.py 
new/azure-cli-telemetry-1.0.6/azure/cli/__init__.py
--- old/azure-cli-telemetry-1.0.4/azure/cli/__init__.py 2019-10-11 
10:59:52.000000000 +0200
+++ new/azure-cli-telemetry-1.0.6/azure/cli/__init__.py 2020-08-28 
13:32:53.000000000 +0200
@@ -2,6 +2,4 @@
 # Copyright (c) Microsoft Corporation. All rights reserved.
 # Licensed under the MIT License. See License.txt in the project root for 
license information.
 # 
--------------------------------------------------------------------------------------------
-import pkg_resources
-
-pkg_resources.declare_namespace(__name__)
+__path__ = __import__("pkgutil").extend_path(__path__, __name__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-telemetry-1.0.4/azure/cli/telemetry/__init__.py 
new/azure-cli-telemetry-1.0.6/azure/cli/telemetry/__init__.py
--- old/azure-cli-telemetry-1.0.4/azure/cli/telemetry/__init__.py       
2019-10-11 10:59:52.000000000 +0200
+++ new/azure-cli-telemetry-1.0.6/azure/cli/telemetry/__init__.py       
2020-08-28 13:32:53.000000000 +0200
@@ -6,25 +6,12 @@
 import sys
 import os
 import subprocess
-
-try:
-    import portalocker
-except ImportError:
-    if os.name != 'nt':
-        raise
-    # To fix the import error of win32con and win32file in Windows. Manually 
add win32 search
-    # path to the sys.path. It is expected to be accomplished by the 
pywin32.pth. However,
-    # the Windows package of Azure CLI ships with the portable Python, # which 
doesn't honer
-    # the file.
-    site_package_dir = 
os.path.realpath(os.path.join(os.path.dirname(__file__), '../../../'))
-    sys.path.append(os.path.join(site_package_dir, 'win32'))
-    sys.path.append(os.path.join(site_package_dir, 'win32', 'lib'))
-    os.environ["PATH"] += (';' + os.path.join(site_package_dir, 
"pywin32_system32"))
-
-    import portalocker
+import portalocker
 
 from azure.cli.telemetry.util import save_payload
 
+__version__ = "1.0.6"
+
 
 def _start(config_dir):
     from azure.cli.telemetry.components.telemetry_logging import get_logger
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-telemetry-1.0.4/azure/cli/telemetry/components/records_collection.py
 
new/azure-cli-telemetry-1.0.6/azure/cli/telemetry/components/records_collection.py
--- 
old/azure-cli-telemetry-1.0.4/azure/cli/telemetry/components/records_collection.py
  2019-10-11 10:59:52.000000000 +0200
+++ 
new/azure-cli-telemetry-1.0.6/azure/cli/telemetry/components/records_collection.py
  2020-08-28 13:32:53.000000000 +0200
@@ -10,7 +10,7 @@
 import tempfile
 
 
-class RecordsCollection(object):
+class RecordsCollection:
     def __init__(self, last_sent, config_dir):
         from azure.cli.telemetry.components.telemetry_logging import get_logger
 
@@ -52,7 +52,7 @@
             if stat.S_ISREG(each[1].st_mode):
                 try:
                     # Platform question: if this op is atom
-                    os.rename(os.path.join(folder, each[0]), os.path.join(tmp, 
each[0]))
+                    shutil.move(os.path.join(folder, each[0]), 
os.path.join(tmp, each[0]))
                     self._logger.info('Move file %s to %s', 
os.path.join(folder, each[0]), os.path.join(tmp, each[0]))
                 except IOError as err:
                     self._logger.warning('Fail to move file from %s to %s. 
Reason: %s.',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-telemetry-1.0.4/azure/cli/telemetry/components/telemetry_client.py
 
new/azure-cli-telemetry-1.0.6/azure/cli/telemetry/components/telemetry_client.py
--- 
old/azure-cli-telemetry-1.0.4/azure/cli/telemetry/components/telemetry_client.py
    2019-10-11 10:59:52.000000000 +0200
+++ 
new/azure-cli-telemetry-1.0.6/azure/cli/telemetry/components/telemetry_client.py
    2020-08-28 13:32:53.000000000 +0200
@@ -20,7 +20,7 @@
     from urllib.error import HTTPError
 
 
-class CliTelemetryClient(object):
+class CliTelemetryClient:
     def __init__(self, batch=100, sender=None):
         from azure.cli.telemetry.components.telemetry_logging import get_logger
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-telemetry-1.0.4/azure_bdist_wheel.py 
new/azure-cli-telemetry-1.0.6/azure_bdist_wheel.py
--- old/azure-cli-telemetry-1.0.4/azure_bdist_wheel.py  2019-10-11 
10:59:52.000000000 +0200
+++ new/azure-cli-telemetry-1.0.6/azure_bdist_wheel.py  1970-01-01 
01:00:00.000000000 +0100
@@ -1,54 +0,0 @@
-#-------------------------------------------------------------------------
-# Copyright (c) Microsoft Corporation. All rights reserved.
-# Licensed under the MIT License. See License.txt in the project root for
-# license information.
-#--------------------------------------------------------------------------
-
-from distutils import log as logger
-import os.path
-
-from wheel.bdist_wheel import bdist_wheel
-class azure_bdist_wheel(bdist_wheel):
-    """The purpose of this class is to build wheel a little differently than 
the sdist,
-    without requiring to build the wheel from the sdist (i.e. you can build 
the wheel
-    directly from source).
-    """
-
-    description = "Create an Azure wheel distribution"
-
-    user_options = bdist_wheel.user_options + \
-        [('azure-namespace-package=', None,
-            "Name of the deepest nspkg used")]
-
-    def initialize_options(self):
-        bdist_wheel.initialize_options(self)
-        self.azure_namespace_package = None
-
-    def finalize_options(self):
-        bdist_wheel.finalize_options(self)
-        if self.azure_namespace_package and not 
self.azure_namespace_package.endswith("-nspkg"):
-            raise ValueError("azure_namespace_package must finish by -nspkg")
-
-    def run(self):
-        if not self.distribution.install_requires:
-            self.distribution.install_requires = []
-        self.distribution.install_requires.append(
-            "{}>=2.0.0".format(self.azure_namespace_package))
-        bdist_wheel.run(self)
-
-    def write_record(self, bdist_dir, distinfo_dir):
-        if self.azure_namespace_package:
-            # Split and remove last part, assuming it's "nspkg"
-            subparts = self.azure_namespace_package.split('-')[0:-1]
-        folder_with_init = [os.path.join(*subparts[0:i+1]) for i in 
range(len(subparts))]
-        for azure_sub_package in folder_with_init:
-            init_file = os.path.join(bdist_dir, azure_sub_package, 
'__init__.py')
-            if os.path.isfile(init_file):
-                logger.info("manually remove {} while building the 
wheel".format(init_file))
-                os.remove(init_file)
-            else:
-                raise ValueError("Unable to find {}. Are you sure of your 
namespace package?".format(init_file))
-        bdist_wheel.write_record(self, bdist_dir, distinfo_dir)
-cmdclass = {
-    'bdist_wheel': azure_bdist_wheel,
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-telemetry-1.0.4/azure_cli_telemetry.egg-info/PKG-INFO 
new/azure-cli-telemetry-1.0.6/azure_cli_telemetry.egg-info/PKG-INFO
--- old/azure-cli-telemetry-1.0.4/azure_cli_telemetry.egg-info/PKG-INFO 
2019-10-11 11:00:01.000000000 +0200
+++ new/azure-cli-telemetry-1.0.6/azure_cli_telemetry.egg-info/PKG-INFO 
2020-08-28 13:33:13.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: azure-cli-telemetry
-Version: 1.0.4
+Version: 1.0.6
 Summary: Microsoft Azure CLI Telemetry Package
 Home-page: https://github.com/Azure/azure-cli
 Author: Microsoft Corporation
@@ -21,6 +21,14 @@
         
         Release History
         ===============
+        1.0.6
+        +++++
+        * Add `__version__` in `__init__.py`
+        
+        1.0.5
+        +++++
+        * Support PEP420 namespace package
+        
         1.0.4
         +++++
         * MANIFEST file change to fix wheel install
@@ -46,11 +54,8 @@
 Classifier: Intended Audience :: Developers
 Classifier: Intended Audience :: System Administrators
 Classifier: Programming Language :: Python
-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
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Classifier: License :: OSI Approved :: MIT License
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/azure-cli-telemetry-1.0.4/azure_cli_telemetry.egg-info/SOURCES.txt 
new/azure-cli-telemetry-1.0.6/azure_cli_telemetry.egg-info/SOURCES.txt
--- old/azure-cli-telemetry-1.0.4/azure_cli_telemetry.egg-info/SOURCES.txt      
2019-10-11 11:00:01.000000000 +0200
+++ new/azure-cli-telemetry-1.0.6/azure_cli_telemetry.egg-info/SOURCES.txt      
2020-08-28 13:33:13.000000000 +0200
@@ -1,7 +1,6 @@
 HISTORY.rst
 MANIFEST.in
 README.rst
-azure_bdist_wheel.py
 setup.cfg
 setup.py
 azure/__init__.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-telemetry-1.0.4/setup.cfg 
new/azure-cli-telemetry-1.0.6/setup.cfg
--- old/azure-cli-telemetry-1.0.4/setup.cfg     2019-10-11 11:00:01.000000000 
+0200
+++ new/azure-cli-telemetry-1.0.6/setup.cfg     2020-08-28 13:33:13.000000000 
+0200
@@ -1,7 +1,3 @@
-[bdist_wheel]
-universal = 1
-azure-namespace-package = azure-cli-nspkg
-
 [egg_info]
 tag_build = 
 tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/azure-cli-telemetry-1.0.4/setup.py 
new/azure-cli-telemetry-1.0.6/setup.py
--- old/azure-cli-telemetry-1.0.4/setup.py      2019-10-11 10:59:52.000000000 
+0200
+++ new/azure-cli-telemetry-1.0.6/setup.py      2020-08-28 13:32:53.000000000 
+0200
@@ -8,28 +8,17 @@
 from codecs import open
 from setuptools import setup
 
-try:
-    from azure_bdist_wheel import cmdclass
-except ImportError:
-    from distutils import log as logger
-
-    logger.warn("Wheel is not available, disabling bdist_wheel hook")
-    cmdclass = {}
-
-VERSION = "1.0.4"
+VERSION = "1.0.6"
 
 CLASSIFIERS = [
     'Development Status :: 5 - Production/Stable',
     'Intended Audience :: Developers',
     'Intended Audience :: System Administrators',
     'Programming Language :: Python',
-    'Programming Language :: Python :: 2',
-    'Programming Language :: Python :: 2.7',
     'Programming Language :: Python :: 3',
-    'Programming Language :: Python :: 3.4',
-    'Programming Language :: Python :: 3.5',
     'Programming Language :: Python :: 3.6',
     'Programming Language :: Python :: 3.7',
+    'Programming Language :: Python :: 3.8',
     'License :: OSI Approved :: MIT License',
 ]
 
@@ -54,13 +43,10 @@
         'portalocker~=1.2',
     ],
     packages=[
-        'azure',
-        'azure.cli',
         'azure.cli.telemetry',
         'azure.cli.telemetry.components'
     ],
     test_requires=[
         'mock'
-    ],
-    cmdclass=cmdclass
+    ]
 )


Reply via email to