Hello community,
here is the log from the commit of package python-influxdb for openSUSE:Factory
checked in at 2019-05-16 22:07:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-influxdb (Old)
and /work/SRC/openSUSE:Factory/.python-influxdb.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-influxdb"
Thu May 16 22:07:53 2019 rev:4 rq:703014 version:5.2.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-influxdb/python-influxdb.changes
2019-01-28 20:49:41.649826124 +0100
+++
/work/SRC/openSUSE:Factory/.python-influxdb.new.5148/python-influxdb.changes
2019-05-16 22:07:55.770397697 +0200
@@ -1,0 +2,20 @@
+Fri May 10 11:23:44 UTC 2019 - [email protected]
+
+- version update to 5.2.2
+ - Fix 'TypeError: Already tz-aware' introduced with recent versions of Panda
+ (#671, #676, thx @f4bsch @clslgrnc)
+ - Pass through the "method" kwarg to DataFrameClient queries
+ - Finally add a CHANGELOG.md to communicate breaking changes (#598)
+ - Test multiple versions of InfluxDB in travis
+ - Add SHARD DURATION parameter to retention policy create/alter
+ - Update POST/GET requests to follow verb guidelines from InfluxDB
documentation
+ - Update test suite to support InfluxDB v1.3.9, v1.4.2, and v1.5.4
+ - Fix performance degradation when removing NaN values via line protocol
(#592)
+ - Dropped support for Python3.4
+- added patches
+ recent changes in master to fix tests
+ + python-influxdb-d5d1249.patch
+ fix module 'distutils' has no attribute 'spawn'
+ + python-influxdb-fix-testsuite.patch
+
+-------------------------------------------------------------------
Old:
----
influxdb-5.1.0.tar.gz
New:
----
python-influxdb-d5d1249.patch
python-influxdb-fix-testsuite.patch
v5.2.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-influxdb.spec ++++++
--- /var/tmp/diff_new_pack.7x8Ve2/_old 2019-05-16 22:07:57.810395844 +0200
+++ /var/tmp/diff_new_pack.7x8Ve2/_new 2019-05-16 22:07:57.858395800 +0200
@@ -18,13 +18,17 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-influxdb
-Version: 5.1.0
+Version: 5.2.2
Release: 0
Summary: InfluxDB client
License: MIT
Group: Development/Languages/Python
Url: https://github.com/influxdb/influxdb-python
-Source:
https://files.pythonhosted.org/packages/source/i/influxdb/influxdb-%{version}.tar.gz
+Source:
https://github.com/influxdata/influxdb-python/archive/v%{version}.tar.gz
+# recent changes in master to fix tests
+Patch0: python-influxdb-d5d1249.patch
+# fix module 'distutils' has no attribute 'spawn'
+Patch1: python-influxdb-fix-testsuite.patch
BuildRequires: %{python_module python-dateutil >= 2.0.0}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module requests >= 1.0.3}
@@ -32,13 +36,16 @@
BuildRequires: %{python_module six >= 1.9.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-# test requirements
-BuildRequires: %{python_module mock}
-BuildRequires: %{python_module nose}
-BuildRequires: %{python_module requests-mock}
+# SECTION test requirements
%if 0%{?suse_version} >= 1500
BuildRequires: hostname
%endif
+BuildRequires: %{python_module mock}
+BuildRequires: %{python_module nose}
+BuildRequires: %{python_module pandas}
+BuildRequires: %{python_module requests-mock}
+BuildRequires: influxdb
+# /SECTION
Requires: python-python-dateutil >= 2.6.0
Requires: python-pytz
Requires: python-requests >= 1.17.0
@@ -51,11 +58,16 @@
InfluxDB-Python is a client for interacting with InfluxDB_. Maintained by
@aviau (https://github.com/aviau).
%prep
-%setup -q -n influxdb-%{version}
+%setup -q -n influxdb-python-%{version}
+%patch0 -p1
+%patch1 -p1
%build
%python_build
+%check
+%python_expand nosetests-%{$python_bin_suffix}
+
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
++++++ python-influxdb-d5d1249.patch ++++++
++++ 838 lines (skipped)
++++++ python-influxdb-fix-testsuite.patch ++++++
Index: influxdb-5.2.2/influxdb/tests/server_tests/influxdb_instance.py
===================================================================
--- influxdb-5.2.2.orig/influxdb/tests/server_tests/influxdb_instance.py
2019-03-14 11:55:41.000000000 +0100
+++ influxdb-5.2.2/influxdb/tests/server_tests/influxdb_instance.py
2019-05-10 12:53:54.133491138 +0200
@@ -7,7 +7,7 @@ from __future__ import print_function
from __future__ import unicode_literals
import datetime
-import distutils
+import distutils.util
import os
import tempfile
import shutil