influxdata / influxdb-client-python

InfluxDB 2.0 python client
https://influxdb-client.readthedocs.io/en/stable/
MIT License
724 stars 187 forks source link

fix: numpy no longer supports `np.float` type #543

Closed bednar closed 1 year ago

bednar commented 1 year ago

Proposed Changes

The numpy no longer supports np.float type:

image

For more info see - https://numpy.org/doc/stable/release/1.24.0-notes.html

This PR also fixes CI builds:

image image

https://app.circleci.com/pipelines/github/influxdata/influxdb-client-python?branch=clarify-config-measurements

Checklist

codecov-commenter commented 1 year ago

Codecov Report

Base: 90.36% // Head: 90.36% // No change to project coverage :thumbsup:

Coverage data is based on head (b9dbdc0) compared to base (03f5bd7). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #543 +/- ## ======================================= Coverage 90.36% 90.36% ======================================= Files 39 39 Lines 3437 3437 ======================================= Hits 3106 3106 Misses 331 331 ``` Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=influxdata). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=influxdata)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.