python-influxdb/python-influxdb-fix-testsuite.patch
Tomáš Chvátal 77dd12cb69 Accepting request 701985 from home:pgajdos
- 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

OBS-URL: https://build.opensuse.org/request/show/701985
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-influxdb?expand=0&rev=15
2019-05-12 15:33:39 +00:00

14 lines
550 B
Diff

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