diff options
author | Marius Bakke <marius@gnu.org> | 2023-01-07 15:03:47 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2023-01-07 21:04:27 +0100 |
commit | ed59b32a40a590eb399de9a53be319c8eac77013 (patch) | |
tree | a106e324ab3c4459dceb9c78d013fb399a24f9e1 /gnu/packages/python-xyz.scm | |
parent | a6c005dbac90f3e22898c502bd32fdf86d61d38b (diff) | |
download | guix-ed59b32a40a590eb399de9a53be319c8eac77013.tar.gz |
gnu: python-pytidylib: Fix failing test.
* gnu/packages/python-xyz.scm (python-pytidylib)[arguments]: Add phase.
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index d78716107f..3b202afcd1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -27145,6 +27145,12 @@ be necessary when using @code{cmd}.") (arguments '(#:phases (modify-phases %standard-phases + (add-after 'unpack 'fix-queue-import + (lambda _ + ;; Adjust Queue import for Python 3. Remove for versions >=0.4.0. + (substitute* "tests/threadsafety.py" + (("from Queue import Queue") + "from queue import Queue")))) (add-before 'build 'qualify-libtidy (lambda* (#:key inputs #:allow-other-keys) (let ((libtidy (search-input-file inputs "/lib/libtidy.so"))) |