mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
gnu: Remove python2-sqlalchemy.
* gnu/packages/databases.scm (python2-sqlalchemy): Delete variable.
This commit is contained in:
parent
f7363b2479
commit
9f917c945e
1 changed files with 0 additions and 24 deletions
|
@ -3364,30 +3364,6 @@ (define-public python-sqlalchemy
|
|||
simple and Pythonic domain language.")
|
||||
(license license:x11)))
|
||||
|
||||
(define-public python2-sqlalchemy
|
||||
(let ((base (package-with-python2 python-sqlalchemy)))
|
||||
(package
|
||||
(inherit base)
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments base)
|
||||
((#:phases phases)
|
||||
#~(modify-phases #$phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "pytest" "-vv"
|
||||
;; The memory usage tests are very expensive and run in
|
||||
;; sequence; skip them.
|
||||
"-k"
|
||||
(string-append
|
||||
"not test_memusage.py"
|
||||
;; This test fails with "AssertionError: Warnings
|
||||
;; were not seen [...]".
|
||||
" and not test_fixture_five")))))))))
|
||||
;; Do not use pytest-xdist, which is broken for Python 2.
|
||||
(native-inputs (modify-inputs (package-native-inputs base)
|
||||
(delete "python-pytest-xdist"))))))
|
||||
|
||||
(define-public python-sqlalchemy-stubs
|
||||
(package
|
||||
(name "python-sqlalchemy-stubs")
|
||||
|
|
Loading…
Reference in a new issue