me
/
guix
Archived
1
0
Fork 0

gnu: Remove python2-sqlalchemy.

* gnu/packages/databases.scm (python2-sqlalchemy): Delete variable.
Maxim Cournoyer 2022-04-29 21:18:33 -04:00
parent f7363b2479
commit 9f917c945e
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 0 additions and 24 deletions

View File

@ -3364,30 +3364,6 @@ designed for efficient and high-performing database access, adapted into a
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")