diff options
Diffstat (limited to 'guix/build-system/pyproject.scm')
-rw-r--r-- | guix/build-system/pyproject.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/guix/build-system/pyproject.scm b/guix/build-system/pyproject.scm index 2a2c3af3f3..94b9d79692 100644 --- a/guix/build-system/pyproject.scm +++ b/guix/build-system/pyproject.scm @@ -52,7 +52,12 @@ "Return the default Python package." ;; Lazily resolve the binding to avoid a circular dependency. (let ((python (resolve-interface '(gnu packages python)))) - (module-ref python 'python-toolchain))) + ;; We are using python-sans-pip-wrapper, because it does not contain + ;; setuptools. This allows us to skip the dependency on setuptools for + ;; packages which don’t need it. And it allows us to more easily swap + ;; out setuptools if a different version is required. + ;; Using python-toolchain here might cause dependency cycles. + (module-ref python 'python-sans-pip-wrapper))) (define sanity-check.py (search-auxiliary-file "python/sanity-check.py")) |