Skip to content

Commit 05a101d

Browse files
clslgrncaviau
authored andcommitted
Python and influxdb supported versions (influxdata#693)
* numpy might use non-numerical version * update * update CHANGELOG.md
1 parent bf95e0f commit 05a101d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
99
### Added
1010

1111
### Changed
12+
- Update test suite to add support for Python 3.7 and InfluxDB v1.6.4 and 1.7.4 (#692 thx @clslgrnc)
1213

1314
### Removed
1415

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ InfluxDB is an open-source distributed time series database, find more about Inf
3939
InfluxDB pre v1.1.0 users
4040
-------------------------
4141

42-
This module is tested with InfluxDB versions: v1.2.4, v1.3.9, v1.4.2, and v1.5.4.
42+
This module is tested with InfluxDB versions: v1.2.4, v1.3.9, v1.4.3, v1.5.4, v1.6.4, and 1.7.4.
4343

4444
Those users still on InfluxDB v0.8.x users may still use the legacy client by importing ``from influxdb.influxdb08 import InfluxDBClient``.
4545

@@ -59,7 +59,7 @@ On Debian/Ubuntu, you can install it with this command::
5959
Dependencies
6060
------------
6161

62-
The influxdb-python distribution is supported and tested on Python 2.7, 3.5, 3.6, PyPy and PyPy3.
62+
The influxdb-python distribution is supported and tested on Python 2.7, 3.5, 3.6, 3.7, PyPy and PyPy3.
6363

6464
**Note:** Python <3.5 are currently untested. See ``.travis.yml``.
6565

influxdb/tests/dataframe_client_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ def test_write_points_from_dataframe_with_numeric_precision(self):
397397
["2", 2, 2.2222222222222]],
398398
index=[now, now + timedelta(hours=1)])
399399

400-
if tuple(map(int, numpy.version.version.split('.'))) <= (1, 13, 3):
400+
if numpy.lib.NumpyVersion(numpy.__version__) <= '1.13.3':
401401
expected_default_precision = (
402402
b'foo,hello=there 0=\"1\",1=1i,2=1.11111111111 0\n'
403403
b'foo,hello=there 0=\"2\",1=2i,2=2.22222222222 3600000000000\n'

0 commit comments

Comments
 (0)