[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/11: gnu: python-sqlalchemy: Use pyproject-build-system.
From: |
guix-commits |
Subject: |
03/11: gnu: python-sqlalchemy: Use pyproject-build-system. |
Date: |
Tue, 9 May 2023 13:57:08 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit b09e87be267b9d1795dcecd241bc4fdc30c3fd7a
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 9 19:42:48 2023 +0200
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.
---
gnu/packages/databases.scm | 16 +++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 1234594822..a0066a4fd6 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3417,7 +3417,7 @@ on localhost.")
(uri (pypi-uri "SQLAlchemy" version))
(sha256
(base32 "0qzkxy47y06fqh1m7a0p7q2r9h48x9k5kl3znzhx2vj79j8l2zhp"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(native-inputs
(list python-cython ; for C extensions
python-pytest python-mock python-pytest-xdist)) ; for tests
@@ -3425,16 +3425,10 @@ on localhost.")
(list python-greenlet))
(arguments
(list
- #:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (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")))))))
+ #:test-flags
+ '(list ;; The memory usage tests are very expensive and run in sequence;
+ ;; skip them.
+ "-k" "not test_memusage.py")))
(home-page "https://www.sqlalchemy.org")
(synopsis "Database abstraction library")
(description
- branch master updated (a759cbffaf -> 5b58608f56), guix-commits, 2023/05/09
- 04/11: gnu: python-pymysql: Update to 1.0.2., guix-commits, 2023/05/09
- 06/11: gnu: python-aiosqlite: Update to 0.18.0., guix-commits, 2023/05/09
- 02/11: gnu: python-sqlalchemy: Update to 1.4.42., guix-commits, 2023/05/09
- 01/11: gnu: python-starlette: Update to 0.25.0., guix-commits, 2023/05/09
- 03/11: gnu: python-sqlalchemy: Use pyproject-build-system.,
guix-commits <=
- 07/11: gnu: python-databases: Update to 0.7.0., guix-commits, 2023/05/09
- 09/11: gnu: Add python-fastapi., guix-commits, 2023/05/09
- 10/11: gnu: python-fastapi: Do not delete tests, and add orjson., guix-commits, 2023/05/09
- 08/11: gnu: python-databases: Revise description., guix-commits, 2023/05/09
- 11/11: gnu: Add python-clinguin., guix-commits, 2023/05/09
- 05/11: gnu: python-aiomysql: Update to 0.1.1., guix-commits, 2023/05/09