From e04d1ff7a96a06e4e1c3d6d5ec29f34ca003da82 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Wed, 14 Sep 2022 21:51:43 +0100 Subject: [PATCH] python3Packages.pdm-pep517: add 'setuptools' test depend https://github.com/NixOS/nixpkgs/pull/185815 exposed missing `setuptools` test dependency in `staging`: ----------------------------- Captured stderr call ----------------------------- Traceback (most recent call last): File "/build/pdm-pep517-1.0.4/tests/fixtures/projects/demo-cextension-in-src/setup.py", line 3, in from setuptools import setup ModuleNotFoundError: No module named 'setuptools' =========================== short test summary info ============================ FAILED tests/test_api.py::test_build_with_cextension - pdm.pep517.exceptions.... FAILED tests/test_api.py::test_build_with_cextension_in_src - pdm.pep517.exce... The change adds `setuptools` as a check dependency. --- pkgs/development/python-modules/pdm-pep517/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/pdm-pep517/default.nix b/pkgs/development/python-modules/pdm-pep517/default.nix index 4c05afe0fbd2..4d16bcca780f 100644 --- a/pkgs/development/python-modules/pdm-pep517/default.nix +++ b/pkgs/development/python-modules/pdm-pep517/default.nix @@ -4,6 +4,7 @@ , fetchPypi , git , pytestCheckHook +, setuptools }: buildPythonPackage rec { @@ -25,6 +26,7 @@ buildPythonPackage rec { ''; checkInputs = [ + setuptools pytestCheckHook git ];