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 ];