gnu: python-sqlalchemy: Use pyproject-build-system.
* gnu/packages/databases.scm (python-sqlalchemy)[arguments]: Replace custom 'check phase with #:test-flags. [build-system]: Use pyproject-build-system.
This commit is contained in:
parent
98e943435f
commit
b09e87be26
@ -3417,7 +3417,7 @@ on localhost.")
|
|||||||
(uri (pypi-uri "SQLAlchemy" version))
|
(uri (pypi-uri "SQLAlchemy" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0qzkxy47y06fqh1m7a0p7q2r9h48x9k5kl3znzhx2vj79j8l2zhp"))))
|
(base32 "0qzkxy47y06fqh1m7a0p7q2r9h48x9k5kl3znzhx2vj79j8l2zhp"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-cython ; for C extensions
|
(list python-cython ; for C extensions
|
||||||
python-pytest python-mock python-pytest-xdist)) ; for tests
|
python-pytest python-mock python-pytest-xdist)) ; for tests
|
||||||
@ -3425,16 +3425,10 @@ on localhost.")
|
|||||||
(list python-greenlet))
|
(list python-greenlet))
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:phases
|
#:test-flags
|
||||||
#~(modify-phases %standard-phases
|
'(list ;; The memory usage tests are very expensive and run in sequence;
|
||||||
(replace 'check
|
;; skip them.
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
"-k" "not test_memusage.py")))
|
||||||
(when tests?
|
|
||||||
(invoke "pytest" "-vv"
|
|
||||||
"-n" (number->string (parallel-job-count))
|
|
||||||
;; The memory usage tests are very expensive and run in
|
|
||||||
;; sequence; skip them.
|
|
||||||
"-k" "not test_memusage.py")))))))
|
|
||||||
(home-page "https://www.sqlalchemy.org")
|
(home-page "https://www.sqlalchemy.org")
|
||||||
(synopsis "Database abstraction library")
|
(synopsis "Database abstraction library")
|
||||||
(description
|
(description
|
||||||
|
Loading…
Reference in New Issue
Block a user