python3Packages.influxdb: 5.3.0 -> 5.3.1

This commit is contained in:
Martin Weinelt 2022-02-02 20:45:22 +01:00
parent 6930626b42
commit b2a603297b
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, python-dateutil
, fetchFromGitHub
, fetchPypi
, fetchpatch
, mock
, msgpack
@ -16,13 +16,11 @@
buildPythonPackage rec {
pname = "influxdb";
version = "5.3.0";
version = "5.3.1";
src = fetchFromGitHub {
owner = "influxdata";
repo = "influxdb-python";
rev = "v${version}";
sha256 = "1jfkf53jcf8lcq98qc0bw5d1d0yp3558mh8l2dqc9jlsm0smigjs";
src = fetchPypi {
inherit pname version;
sha256 = "0ymjv322mv6y424fmpd70f87152w55mbwwj6i7p3sjzf0ixmxy26";
};
propagatedBuildInputs = [
@ -41,14 +39,6 @@ buildPythonPackage rec {
pandas
];
patches = [
(fetchpatch {
# Relaxes msgpack pinning
url = "https://github.com/influxdata/influxdb-python/commit/cc41e290f690c4eb67f75c98fa9f027bdb6eb16b.patch";
sha256 = "1fb9qrq1kp24pixjwvzhdy67z3h0wnj92aj0jw0a25fd0rdxdvg4";
})
];
disabledTests = [
# Tests cause FutureWarning due to use of 'record' instead of 'records' in pandas.
# https://github.com/influxdata/influxdb-python/pull/845