Unverified Commit 9573aee5 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python312Packages.aiohttp-client-cache: 0.11.0 -> 0.11.1 (#341913)

parents 2f2d4b82 56cc7996
Loading
Loading
Loading
Loading
+65 −10
Original line number Diff line number Diff line
{
  lib,
  fetchPypi,
  buildPythonPackage,
  poetry-core,
  aioboto3,
  aiobotocore,
  aiofiles,
  aiohttp,
  aiosqlite,
  attrs,
  buildPythonPackage,
  faker,
  fetchPypi,
  itsdangerous,
  motor,
  poetry-core,
  pytest-aiohttp,
  pytestCheckHook,
  pythonOlder,
  redis,
  url-normalize,
}:

buildPythonPackage rec {
  pname = "aiohttp_client_cache";
  version = "0.11.0";
  pname = "aiohttp-client-cache";
  version = "0.11.1";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-B2b/9O2gVJjHUlN0pYeBDcwsy3slaAnd5SroeQqEU+s=";
    pname = "aiohttp_client_cache";
    inherit version;
    hash = "sha256-MuY60hAkD4Ik8+Encv5TrBAs8kx88Y3bhqy7n9+eS28=";
  };
  nativeBuildInputs = [ poetry-core ];
  propagatedBuildInputs = [

  build-system = [ poetry-core ];

  dependencies = [
    aiohttp
    attrs
    itsdangerous
    url-normalize
  ];

  optional-dependencies = {
    all = [
      aioboto3
      aiobotocore
      aiofiles
      aiosqlite
      motor
      redis
    ];
    dynamodb = [
      aioboto3
      aiobotocore
    ];
    filesystem = [
      aiofiles
      aiosqlite
    ];
    mongodb = [ motor ];
    redis = [ redis ];
    sqlite = [ aiosqlite ];
  };

  nativeCheckInputs = [
    faker
    pytest-aiohttp
    pytestCheckHook
  ] ++ lib.flatten (builtins.attrValues optional-dependencies);

  pythonImportsCheck = [ "aiohttp_client_cache" ];

  disabledTestPaths = [
    # Tests require running instances of the services
    "test/integration/test_dynamodb.py"
    "test/integration/test_redis.py"
    "test/integration/test_sqlite.py"
  ];

  meta = with lib; {
    description = "Async persistent cache for aiohttp requests";
    homepage = "https://pypi.org/project/aiohttp-client-cache/";
    homepage = "https://github.com/requests-cache/aiohttp-client-cache";
    changelog = "https://github.com/requests-cache/aiohttp-client-cache/blob/v${version}/HISTORY.md";
    license = licenses.mit;
    maintainers = with maintainers; [ seirl ];
  };