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.
This commit is contained in:
Tobias Geerinckx-Rice 2022-06-05 02:00:02 +02:00
parent f0fa2b25ba
commit 07edc13f04
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -3058,7 +3058,15 @@ for ODBC.")
(inputs (inputs
(list unixodbc)) (list unixodbc))
(arguments (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") (home-page "https://github.com/mkleehammer/pyodbc")
(synopsis "Python ODBC Library") (synopsis "Python ODBC Library")
(description "@code{python-pyodbc} provides a Python DB-API driver (description "@code{python-pyodbc} provides a Python DB-API driver