Merge pull request #306107 from r-ryantm/auto-update/python311Packages.influxdb

python311Packages.influxdb: 5.3.1 -> 5.3.2
This commit is contained in:
Weijia Wang 2024-05-04 17:25:39 +02:00 committed by GitHub
commit 68496e4101
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,26 +1,28 @@
{ lib
, buildPythonPackage
, python-dateutil
, fetchPypi
, mock
, msgpack
, pynose
, pandas
, pytestCheckHook
, pytz
, requests
, requests-mock
, six
{
lib,
buildPythonPackage,
fetchPypi,
mock,
msgpack,
pandas,
pynose,
pytestCheckHook,
python-dateutil,
pytz,
requests,
requests-mock,
setuptools,
six,
}:
buildPythonPackage rec {
pname = "influxdb";
version = "5.3.1";
format = "setuptools";
version = "5.3.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "0ymjv322mv6y424fmpd70f87152w55mbwwj6i7p3sjzf0ixmxy26";
hash = "sha256-WMZH9gQ3Et2G6a7hLrTM+7tUFUZ7yZEKSKqMdMEQiXA=";
};
postPatch = ''
@ -35,25 +37,28 @@ buildPythonPackage rec {
done
'';
propagatedBuildInputs = [
requests
build-system = [ setuptools ];
dependencies = [
msgpack
python-dateutil
pytz
requests
six
msgpack
];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
mock
pandas
pynose
pytestCheckHook
requests-mock
mock
pynose
pandas
];
disabledTests = [
"socket"
# Tests cause FutureWarning due to use of 'record' instead of 'records' in pandas.
# https://github.com/influxdata/influxdb-python/pull/845
# Also type mismatches in assertEqual on DataFrame:
@ -78,6 +83,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python client for InfluxDB";
homepage = "https://github.com/influxdb/influxdb-python";
changelog = "https://github.com/influxdata/influxdb-python/blob/v${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};