python3Packages.aio-pika: 9.5.8 -> 9.6.2
Diff: https://github.com/mosquito/aio-pika/compare/9.5.8...9.6.2 Changelog: https://github.com/mosquito/aio-pika/blob/9.6.2/CHANGELOG.md
This commit is contained in:
@@ -1,67 +1,39 @@
|
||||
{
|
||||
lib,
|
||||
aiomisc-pytest,
|
||||
aiormq,
|
||||
buildPythonPackage,
|
||||
docker,
|
||||
fetchFromGitHub,
|
||||
pamqp,
|
||||
poetry-core,
|
||||
pytestCheckHook,
|
||||
shortuuid,
|
||||
testcontainers,
|
||||
wrapt,
|
||||
uv-build,
|
||||
yarl,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "aio-pika";
|
||||
version = "9.5.8";
|
||||
version = "9.6.2";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mosquito";
|
||||
repo = "aio-pika";
|
||||
tag = version;
|
||||
hash = "sha256-0jVxgU+r/d2n4YO5/YAZrZUWDCAlZldBshCGpcEV/sQ=";
|
||||
hash = "sha256-N5MjFIolMRTTn4aV1NskBwonB/8FSuEZETumUrAa02Y=";
|
||||
};
|
||||
|
||||
build-system = [ poetry-core ];
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "uv_build>=0.9.26,<0.10.0" uv_build
|
||||
'';
|
||||
|
||||
build-system = [ uv-build ];
|
||||
|
||||
dependencies = [
|
||||
aiormq
|
||||
yarl
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
aiomisc-pytest
|
||||
docker
|
||||
pamqp
|
||||
pytestCheckHook
|
||||
shortuuid
|
||||
testcontainers
|
||||
wrapt
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Tests attempt to connect to a RabbitMQ server
|
||||
"test_connection_interleave"
|
||||
"test_connection_happy_eyeballs_delay"
|
||||
"test_robust_connection_interleave"
|
||||
"test_robust_connection_happy_eyeballs_delay"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Tests attempt to connect to a RabbitMQ server
|
||||
"tests/test_amqp.py"
|
||||
"tests/test_amqp_robust.py"
|
||||
"tests/test_amqp_robust_proxy.py"
|
||||
"tests/test_amqps.py"
|
||||
"tests/test_master.py"
|
||||
"tests/test_memory_leak.py"
|
||||
"tests/test_rpc.py"
|
||||
"tests/test_types.py"
|
||||
];
|
||||
# Tests require running a RabbitMQ server.
|
||||
# They rely on having AMQP_URL set or running Docker.
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "aio_pika" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user