mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 07:16:39 +01: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.")
|
simple and Pythonic domain language.")
|
||||||
(license license:x11)))
|
(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
|
(define-public python-sqlalchemy-stubs
|
||||||
(package
|
(package
|
||||||
(name "python-sqlalchemy-stubs")
|
(name "python-sqlalchemy-stubs")
|
||||||
|
|
Loading…
Reference in a new issue