diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6ce8bd6402..e4cb94fe1b 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5239,6 +5239,11 @@ (define-public python-black (arguments `(#:phases (modify-phases %standard-phases + (add-after 'unpack 'relax-version-requirements + (lambda _ + (substitute* "setup.py" + (("tomli[^\"]*\",") + "tomli\",")))) (add-after 'patch-source-shebangs 'use-absolute-file-names (lambda* (#:key native-inputs inputs #:allow-other-keys) (let* ((inpts (or native-inputs inputs))