Hello community,
here is the log from the commit of package azure-cli-telemetry for
openSUSE:Factory checked in at 2019-10-31 18:17:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/azure-cli-telemetry (Old)
and /work/SRC/openSUSE:Factory/.azure-cli-telemetry.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "azure-cli-telemetry"
Thu Oct 31 18:17:50 2019 rev:4 rq:742730 version:1.0.4
Changes:
--------
--- /work/SRC/openSUSE:Factory/azure-cli-telemetry/azure-cli-telemetry.changes
2019-06-05 11:45:58.866998562 +0200
+++
/work/SRC/openSUSE:Factory/.azure-cli-telemetry.new.2990/azure-cli-telemetry.changes
2019-10-31 18:17:54.986175803 +0100
@@ -1,0 +2,12 @@
+Thu Oct 24 12:12:41 UTC 2019 - John Paul Adrian Glaubitz
<[email protected]>
+
+- New upstream release
+ + Version 1.0.4
+ + For detailed information about changes see the
+ HISTORY.txt file provided with this package
+- Drop patch to relax version requires in setup.py, it's
+ not required as the dependencies are managed by RPM
+ + act_relax-requires-versions.patch
+- Update Requires from setup.py
+
+-------------------------------------------------------------------
Old:
----
act_relax-requires-versions.patch
azure-cli-telemetry-1.0.1.tar.gz
New:
----
azure-cli-telemetry-1.0.4.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ azure-cli-telemetry.spec ++++++
--- /var/tmp/diff_new_pack.moIkPj/_old 2019-10-31 18:17:56.718177596 +0100
+++ /var/tmp/diff_new_pack.moIkPj/_new 2019-10-31 18:17:56.742177621 +0100
@@ -17,7 +17,7 @@
Name: azure-cli-telemetry
-Version: 1.0.1
+Version: 1.0.4
Release: 0
Summary: Microsoft Azure CLI Telemetry Package
License: MIT
@@ -25,15 +25,16 @@
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
-Patch0: act_relax-requires-versions.patch
BuildRequires: azure-cli-nspkg
BuildRequires: fdupes
BuildRequires: python3-azure-nspkg >= 3.0.0
BuildRequires: python3-setuptools
Requires: azure-cli-nspkg
+Requires: python3-applicationinsights < 0.12
Requires: python3-applicationinsights >= 0.11.1
Requires: python3-azure-nspkg >= 3.0.0
-Requires: python3-portalocker >= 1.2.1
+Requires: python3-portalocker < 2.0
+Requires: python3-portalocker >= 1.2
Conflicts: azure-cli < 2.0.0
BuildArch: noarch
@@ -49,7 +50,6 @@
%prep
%setup -q -n azure-cli-telemetry-%{version}
-%patch0 -p1
%build
install -m 644 %{SOURCE1} %{_builddir}/azure-cli-telemetry-%{version}
++++++ azure-cli-telemetry-1.0.1.tar.gz -> azure-cli-telemetry-1.0.4.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/azure-cli-telemetry-1.0.1/HISTORY.rst
new/azure-cli-telemetry-1.0.4/HISTORY.rst
--- old/azure-cli-telemetry-1.0.1/HISTORY.rst 2019-01-25 20:43:40.000000000
+0100
+++ new/azure-cli-telemetry-1.0.4/HISTORY.rst 2019-10-11 10:59:52.000000000
+0200
@@ -2,10 +2,22 @@
Release History
===============
+1.0.4
++++++
+* MANIFEST file change to fix wheel install
+
+1.0.3
++++++
+* Indicate Python 3.7 support
+
+1.0.2
++++++
+* Minor fixes
+
1.0.1
+++++
* Minor fixes
1.0.0
+++++
-* Initialize the azure-cli-telemetry package.
\ No newline at end of file
+* Initialize the azure-cli-telemetry package.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/azure-cli-telemetry-1.0.1/MANIFEST.in
new/azure-cli-telemetry-1.0.4/MANIFEST.in
--- old/azure-cli-telemetry-1.0.1/MANIFEST.in 2019-01-25 20:43:40.000000000
+0100
+++ new/azure-cli-telemetry-1.0.4/MANIFEST.in 2019-10-11 10:59:52.000000000
+0200
@@ -1 +1,2 @@
include *.rst
+include azure_bdist_wheel.py
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/azure-cli-telemetry-1.0.1/PKG-INFO
new/azure-cli-telemetry-1.0.4/PKG-INFO
--- old/azure-cli-telemetry-1.0.1/PKG-INFO 2019-01-25 20:44:23.000000000
+0100
+++ new/azure-cli-telemetry-1.0.4/PKG-INFO 2019-10-11 11:00:01.000000000
+0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: azure-cli-telemetry
-Version: 1.0.1
+Version: 1.0.4
Summary: Microsoft Azure CLI Telemetry Package
Home-page: https://github.com/Azure/azure-cli
Author: Microsoft Corporation
@@ -21,6 +21,18 @@
Release History
===============
+ 1.0.4
+ +++++
+ * MANIFEST file change to fix wheel install
+
+ 1.0.3
+ +++++
+ * Indicate Python 3.7 support
+
+ 1.0.2
+ +++++
+ * Minor fixes
+
1.0.1
+++++
* Minor fixes
@@ -28,6 +40,7 @@
1.0.0
+++++
* Initialize the azure-cli-telemetry package.
+
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
@@ -39,4 +52,5 @@
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: License :: OSI Approved :: MIT License
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/azure-cli-telemetry-1.0.1/azure_bdist_wheel.py
new/azure-cli-telemetry-1.0.4/azure_bdist_wheel.py
--- old/azure-cli-telemetry-1.0.1/azure_bdist_wheel.py 1970-01-01
01:00:00.000000000 +0100
+++ new/azure-cli-telemetry-1.0.4/azure_bdist_wheel.py 2019-10-11
10:59:52.000000000 +0200
@@ -0,0 +1,54 @@
+#-------------------------------------------------------------------------
+# 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.1/azure_cli_telemetry.egg-info/PKG-INFO
new/azure-cli-telemetry-1.0.4/azure_cli_telemetry.egg-info/PKG-INFO
--- old/azure-cli-telemetry-1.0.1/azure_cli_telemetry.egg-info/PKG-INFO
2019-01-25 20:44:23.000000000 +0100
+++ new/azure-cli-telemetry-1.0.4/azure_cli_telemetry.egg-info/PKG-INFO
2019-10-11 11:00:01.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: azure-cli-telemetry
-Version: 1.0.1
+Version: 1.0.4
Summary: Microsoft Azure CLI Telemetry Package
Home-page: https://github.com/Azure/azure-cli
Author: Microsoft Corporation
@@ -21,6 +21,18 @@
Release History
===============
+ 1.0.4
+ +++++
+ * MANIFEST file change to fix wheel install
+
+ 1.0.3
+ +++++
+ * Indicate Python 3.7 support
+
+ 1.0.2
+ +++++
+ * Minor fixes
+
1.0.1
+++++
* Minor fixes
@@ -28,6 +40,7 @@
1.0.0
+++++
* Initialize the azure-cli-telemetry package.
+
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
@@ -39,4 +52,5 @@
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: License :: OSI Approved :: MIT License
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure-cli-telemetry-1.0.1/azure_cli_telemetry.egg-info/SOURCES.txt
new/azure-cli-telemetry-1.0.4/azure_cli_telemetry.egg-info/SOURCES.txt
--- old/azure-cli-telemetry-1.0.1/azure_cli_telemetry.egg-info/SOURCES.txt
2019-01-25 20:44:23.000000000 +0100
+++ new/azure-cli-telemetry-1.0.4/azure_cli_telemetry.egg-info/SOURCES.txt
2019-10-11 11:00:01.000000000 +0200
@@ -1,6 +1,7 @@
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.1/azure_cli_telemetry.egg-info/requires.txt
new/azure-cli-telemetry-1.0.4/azure_cli_telemetry.egg-info/requires.txt
--- old/azure-cli-telemetry-1.0.1/azure_cli_telemetry.egg-info/requires.txt
2019-01-25 20:44:23.000000000 +0100
+++ new/azure-cli-telemetry-1.0.4/azure_cli_telemetry.egg-info/requires.txt
2019-10-11 11:00:01.000000000 +0200
@@ -1,2 +1,2 @@
-applicationinsights>=0.11.1
-portalocker==1.2.1
+applicationinsights<0.12,>=0.11.1
+portalocker~=1.2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/azure-cli-telemetry-1.0.1/setup.py
new/azure-cli-telemetry-1.0.4/setup.py
--- old/azure-cli-telemetry-1.0.1/setup.py 2019-01-25 20:43:40.000000000
+0100
+++ new/azure-cli-telemetry-1.0.4/setup.py 2019-10-11 10:59:52.000000000
+0200
@@ -16,7 +16,7 @@
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
-VERSION = "1.0.1"
+VERSION = "1.0.4"
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
@@ -29,6 +29,7 @@
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
+ 'Programming Language :: Python :: 3.7',
'License :: OSI Approved :: MIT License',
]
@@ -49,8 +50,8 @@
zip_safe=False,
classifiers=CLASSIFIERS,
install_requires=[
- 'applicationinsights>=0.11.1',
- 'portalocker==1.2.1',
+ 'applicationinsights>=0.11.1,<0.12',
+ 'portalocker~=1.2',
],
packages=[
'azure',
@@ -58,5 +59,8 @@
'azure.cli.telemetry',
'azure.cli.telemetry.components'
],
+ test_requires=[
+ 'mock'
+ ],
cmdclass=cmdclass
)