Files
nixpkgs/pkgs/development/python-modules/pytest-celery/default.nix
Martin Weinelt 33f1b2550f python3Packages.pytest-celery: 1.1.3 -> 1.2.1
https://github.com/celery/pytest-celery/blob/v1.2.1/Changelog.rst

This commit was automatically generated using update-python-libraries.
2025-08-09 19:02:45 +02:00

69 lines
1.3 KiB
Nix

{
lib,
buildPythonPackage,
celery,
debugpy,
docker,
fetchFromGitHub,
kombu,
poetry-core,
psutil,
pytest-docker-tools,
pytest,
pythonOlder,
setuptools,
tenacity,
}:
buildPythonPackage rec {
pname = "pytest-celery";
version = "1.2.1";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "celery";
repo = "pytest-celery";
tag = "v${version}";
hash = "sha256-E8GO/00IC9kUvQLZmTFaK4FFQ7d+/tw/kVTQbAqRRRM=";
};
postPatch = ''
# Avoid infinite recursion with celery
substituteInPlace pyproject.toml \
--replace 'celery = { version = "*" }' ""
'';
pythonRelaxDeps = [
"debugpy"
"setuptools"
];
build-system = [ poetry-core ];
buildInput = [ pytest ];
dependencies = [
(celery.overridePythonAttrs { doCheck = false; })
debugpy
docker
kombu
psutil
pytest-docker-tools
setuptools
tenacity
];
# Infinite recursion with celery
doCheck = false;
meta = with lib; {
description = "Pytest plugin to enable celery.contrib.pytest";
homepage = "https://github.com/celery/pytest-celery";
changelog = "https://github.com/celery/pytest-celery/blob/${src.tag}/Changelog.rst";
license = licenses.mit;
maintainers = [ ];
};
}