Unverified Commit 68496e41 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

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

python311Packages.influxdb: 5.3.1 -> 5.3.2
parents ab2dc719 ad26d5df
Loading
Loading
Loading
Loading
+28 −22
Original line number Diff line number Diff line
{ 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 = [
    pytestCheckHook
    requests-mock
    mock
    pynose
    pandas
    pynose
    pytestCheckHook
    requests-mock
  ];

  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 ];
  };