From c7738ffcadb6b8348a520d745a1eb7e91ee28524 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Tue, 21 Jun 2022 15:57:03 +0200 Subject: gnu: python-ipython-sql: Remove prettytable version constraint. * gnu/packages/python-xyz.scm (python-ipython-sql)[arguments]: Add #:phases. --- gnu/packages/python-xyz.scm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 0fe436cbe5..72d144fdcf 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -8306,8 +8306,16 @@ cluster down and deletes the throwaway profile.") (sha256 (base32 "1r6rz8jgrqzhkf2flwjw75d96g8l7kykmx5wli3q1988w96391ip")))) (build-system python-build-system) - ;; Tests must run under IPython. - (arguments '(#:tests? #f)) + (arguments + (list #:tests? #f ;must run under IPython + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'permit-newer-prettytable + ;; See https://github.com/catherinedevlin/ipython-sql/issues/202 + (lambda _ + (substitute* "setup.py" + (("prettytable<1") + "prettytable"))))))) (propagated-inputs (list python-ipython python-ipython-genutils -- cgit 1.4.1