Merge pull request #296726 from r-ryantm/auto-update/python311Packages.aiomisc

python311Packages.aiomisc: 17.5.2 -> 17.5.4
This commit is contained in:
Fabian Affolter 2024-04-04 00:20:00 +02:00 committed by GitHub
commit a92caa6271
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,80 +1,66 @@
{ lib
, aiocontextvars
#, aiocarbon
, aiohttp
#, aiohttp-asgi
, async-timeout
, buildPythonPackage
, colorlog
, croniter
, fastapi
, fetchPypi
, logging-journald
, poetry-core
, pytestCheckHook
, pythonOlder
, raven
#, raven-aiohttp
, setproctitle
, setuptools
, uvloop
{
lib,
stdenv,
aiocontextvars,
aiohttp,
async-timeout,
buildPythonPackage,
colorlog,
croniter,
fastapi,
fetchPypi,
logging-journald,
poetry-core,
pytestCheckHook,
pythonOlder,
raven,
rich,
setproctitle,
typing-extensions,
uvloop,
}:
buildPythonPackage rec {
pname = "aiomisc";
version = "17.5.2";
version = "17.5.4";
pyproject = true;
disabled = pythonOlder "3.7";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-bpR9HsR/7qVaDcTsHXJypGDyS7/BE/CzFk6eNaQ/C8k=";
hash = "sha256-/2WEaM9ZM9dbMA73XADOE2u5r3SfMAyjH8isOsXaJhE=";
};
nativeBuildInputs = [
poetry-core
];
build-system = [ poetry-core ];
propagatedBuildInputs = [
colorlog
logging-journald
setuptools
];
dependencies =
[ colorlog ]
++ lib.optionals (pythonOlder "3.11") [ typing-extensions ]
++ lib.optionals stdenv.isLinux [ logging-journald ];
nativeCheckInputs = [
aiocontextvars
async-timeout
fastapi
pytestCheckHook
raven
setproctitle
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
passthru.optional-dependencies = {
aiohttp = [
aiohttp = [ aiohttp ];
#asgi = [ aiohttp-asgi ];
cron = [ croniter ];
#carbon = [ aiocarbon ];
raven = [
aiohttp
raven
];
#asgi = [
# aiohttp-asgi
#];
cron = [
croniter
];
#carbon = [
# aiocarbon
#];
#raven = [
# raven-aiohttp
#];
uvloop = [
uvloop
];
rich = [ rich ];
uvloop = [ uvloop ];
};
pythonImportsCheck = [
"aiomisc"
];
pythonImportsCheck = [ "aiomisc" ];
# Upstream stopped tagging with 16.2
doCheck = false;