Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-opencensus for
openSUSE:Factory checked in at 2021-10-25 15:17:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-opencensus (Old)
and /work/SRC/openSUSE:Factory/.python-opencensus.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-opencensus"
Mon Oct 25 15:17:29 2021 rev:2 rq:927212 version:0.8.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-opencensus/python-opencensus.changes
2020-03-11 18:55:07.471668930 +0100
+++
/work/SRC/openSUSE:Factory/.python-opencensus.new.1890/python-opencensus.changes
2021-10-25 15:18:34.901718709 +0200
@@ -1,0 +2,16 @@
+Sat Oct 23 10:47:21 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 0.8.0
+ * Added integration tracking functionality, includes django,
+ flask, http-lib, logging, mysql, postgresql, pymongo, pymysql,
+ pyramid, requests, sqlalchemy modules (#1065)
+ * Support Python 3.8, 3.9 (#1048)
+- Releases 0.7.8 to 0.7.13
+ * Updated azure, django, flask, requests, grpc, httplib, pyramid
+ stackdriver modules
+ * Hotfix for breaking change (#915)
+- Remove test mock requirement for python3
+ * opencensus-pr1002-remove-mock.patch
+ * gh#census-instrumentation/opencensus-python#1002
+
+-------------------------------------------------------------------
Old:
----
v0.7.7.tar.gz
New:
----
opencensus-pr1002-remove-mock.patch
opencensus-python-0.8.0-gh.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-opencensus.spec ++++++
--- /var/tmp/diff_new_pack.yIXmV6/_old 2021-10-25 15:18:35.317718970 +0200
+++ /var/tmp/diff_new_pack.yIXmV6/_new 2021-10-25 15:18:35.321718972 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package python-opencensus
+# spec file
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,30 +27,32 @@
%endif
%bcond_without python2
Name: python-opencensus%{psuffix}
-Version: 0.7.7
+Version: 0.8.0
Release: 0
Summary: A stats collection and distributed tracing framework
License: Apache-2.0
URL: https://github.com/census-instrumentation/opencensus-python
-Source:
https://github.com/census-instrumentation/opencensus-python/archive/v%{version}.tar.gz
+Source:
https://github.com/census-instrumentation/opencensus-python/archive/v%{version}.tar.gz#/opencensus-python-%{version}-gh.tar.gz
+# PATCH-FIX-UPSTREAM opencensus-pr1002-remove-mock.patch --
gh#census-instrumentation/opencensus-python#1002
+Patch0:
https://github.com/census-instrumentation/opencensus-python/pull/1002.patch#/opencensus-pr1002-remove-mock.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-google-api-core < 2.0.0
+Requires: python-google-api-core < 3.0.0
Requires: python-google-api-core >= 1.0.0
-Requires: python-opencensus-context >= 0.1.1
+Requires: python-opencensus-context >= 0.1.2
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module google-api-core >= 1.0.0}
-BuildRequires: %{python_module mock}
BuildRequires: %{python_module opencensus >= %{version}}
BuildRequires: %{python_module opencensus-context >= 0.1.1}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module retrying}
-%endif
%if %{with python2}
+BuildRequires: python-mock
BuildRequires: python-unittest2
%endif
+%endif
%python_subpackages
%description
@@ -61,7 +63,7 @@
utilities and supporting software needed by OpenCensus.
%prep
-%setup -q -n opencensus-python-%{version}
+%autosetup -p1 -n opencensus-python-%{version}
# do not hardcode versions
sed -i -e 's:==:>=:g' setup.py
@@ -81,14 +83,17 @@
%check
%if %{with test}
-%pytest tests/unit
+# recursion error in mock != 3; gh#census-instrumentation/opencensus-python#868
+donttest="TestGetExporterThreadPeriodic and (test_multiple_producers or
test_threaded_export)"
+%pytest tests/unit -k "not ($donttest)"
%endif
%if !%{with test}
%files %{python_files}
%doc CHANGELOG.md README.rst
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/opencensus
+%{python_sitelib}/opencensus-%{version}*-info
%endif
%changelog
++++++ opencensus-pr1002-remove-mock.patch ++++++
++++ 1283 lines (skipped)