gnu: python-ipython-sql: Remove prettytable version constraint.

* gnu/packages/python-xyz.scm (python-ipython-sql)[arguments]: Add #:phases.
This commit is contained in:
Marius Bakke 2022-06-21 15:57:03 +02:00
parent a358602d35
commit c7738ffcad
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -8306,8 +8306,16 @@ (define-public python-ipython-sql
(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