[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: gnu: python-pyodbc: Document the test situation.
From: |
guix-commits |
Subject: |
02/07: gnu: python-pyodbc: Document the test situation. |
Date: |
Sat, 11 Jun 2022 15:00:54 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 07edc13f0431401071f29ddb1982d92f00b63327
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jun 5 02:00:02 2022 +0200
gnu: python-pyodbc: Document the test situation.
* gnu/packages/databases.scm (python-pyodbc)[arguments]: Replace
counterfactual comment with one that isn't. Add a custom 'check phase,
which doesn't run.
---
gnu/packages/databases.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 8ae9c674fb..9bf4dc6bf0 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3058,7 +3058,15 @@ for ODBC.")
(inputs
(list unixodbc))
(arguments
- `(#:tests? #f)) ; no unit tests exist
+ ;; XXX Tests fail with ‘Can't open lib 'SQL Server Native Client 10.0' :
+ ;; file not found (0) (SQLDriverConnect)")’.
+ (list #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "python3" "tests3/test.py")))))))
(home-page "https://github.com/mkleehammer/pyodbc")
(synopsis "Python ODBC Library")
(description "@code{python-pyodbc} provides a Python DB-API driver
- branch master updated (2d7548f0cf -> c23d4871a6), guix-commits, 2022/06/11
- 01/07: gnu: python-pyodbc: Remove precompiled .pyc files from source., guix-commits, 2022/06/11
- 03/07: gnu: python-pyodbc: Update to 4.0.32., guix-commits, 2022/06/11
- 04/07: gnu: python-pyodbc-c: Don't use unstable tarball., guix-commits, 2022/06/11
- 06/07: gnu: python-pyodbc-c: Fix metadata., guix-commits, 2022/06/11
- 07/07: gnu: irssi: Update to 1.4.1., guix-commits, 2022/06/11
- 02/07: gnu: python-pyodbc: Document the test situation.,
guix-commits <=
- 05/07: gnu: python-pyodbc-c: Update to 3.1.5., guix-commits, 2022/06/11