Merge pull request #303687 from r-ryantm/auto-update/python312Packages.hishel

python312Packages.hishel: 0.0.25 -> 0.0.26
This commit is contained in:
Fabian Affolter 2024-04-14 14:41:54 +02:00 committed by GitHub
commit b23078031f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,18 +1,19 @@
{ lib {
, anysqlite lib,
, boto3 anysqlite,
, buildPythonPackage boto3,
, fetchFromGitHub buildPythonPackage,
, hatch-fancy-pypi-readme fetchFromGitHub,
, hatchling hatch-fancy-pypi-readme,
, httpx hatchling,
, moto httpx,
, pytest-asyncio moto,
, pytestCheckHook pytest-asyncio,
, pythonOlder pytestCheckHook,
, pyyaml pythonOlder,
, redis pyyaml,
, trio redis,
trio,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -34,23 +35,13 @@ buildPythonPackage rec {
hatchling hatchling
]; ];
dependencies = [ dependencies = [ httpx ];
httpx
];
passthru.optional-dependencies = { passthru.optional-dependencies = {
redis = [ redis = [ redis ];
redis s3 = [ boto3 ];
]; sqlite = [ anysqlite ];
s3 = [ yaml = [ pyyaml ];
boto3
];
sqlite = [
anysqlite
];
yaml = [
pyyaml
];
}; };
nativeCheckInputs = [ nativeCheckInputs = [
@ -60,9 +51,7 @@ buildPythonPackage rec {
trio trio
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
pythonImportsCheck = [ pythonImportsCheck = [ "hishel" ];
"hishel"
];
disabledTests = [ disabledTests = [
# Tests require a running Redis instance # Tests require a running Redis instance
@ -83,4 +72,3 @@ buildPythonPackage rec {
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };
} }