From e801416c3e0b0d2f6f2c23b46b7f00f87e263d83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 3 Oct 2025 04:00:08 -0700 Subject: [PATCH] python3Packages.pytest-celery: don't depend on celery and setuptools --- .../development/python-modules/pytest-celery/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pytest-celery/default.nix b/pkgs/development/python-modules/pytest-celery/default.nix index 0249bc8dbfe8..524388907301 100644 --- a/pkgs/development/python-modules/pytest-celery/default.nix +++ b/pkgs/development/python-modules/pytest-celery/default.nix @@ -11,7 +11,6 @@ pytest-docker-tools, pytest, pythonOlder, - setuptools, tenacity, }: @@ -37,7 +36,11 @@ buildPythonPackage rec { pythonRelaxDeps = [ "debugpy" - "setuptools" + ]; + + pythonRemoveDeps = [ + "celery" # cyclic dependency + "setuptools" # https://github.com/celery/pytest-celery/pull/464 ]; build-system = [ poetry-core ]; @@ -45,13 +48,11 @@ buildPythonPackage rec { buildInputs = [ pytest ]; dependencies = [ - (celery.overridePythonAttrs { doCheck = false; }) debugpy docker kombu psutil pytest-docker-tools - setuptools tenacity ];