diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-04-25 13:10:33 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-04-25 13:13:23 +0100 |
| commit | 4fe4cf9fdd959126d3c53c3df4504d851e7b736a (patch) | |
| tree | 2139d0074b4f52b7696071cfc8b8fb57a18d7a19 /gnu | |
| parent | e6edc113cccdddcaed975b76deaab3c880d4158d (diff) | |
gnu: python-sadisplay: Skip 2 tests.
* gnu/packages/databases.scm (python-sadisplay) [buidl-system]: Switch
to pyproject.
[arguments] <test-flags>: Deselect 2 tests.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: I4adf1764309329e5a5dd06e553bbe24036261fd9
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/databases.scm | 44 |
1 files changed, 20 insertions, 24 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index cc4b39a1bde..5dd4f7da2da 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm | |||
| @@ -4364,39 +4364,35 @@ with the @code{psycopg} PostgreSQL driver.") | |||
| 4364 | database adapter for Python.") | 4364 | database adapter for Python.") |
| 4365 | (license license:lgpl3+))) | 4365 | (license license:lgpl3+))) |
| 4366 | 4366 | ||
| 4367 | ;; XXX: The latest version is from 2018, source was deleted from | ||
| 4368 | ;; Bitbucket.org, consider to withdraw if it keeps failing. | ||
| 4367 | (define-public python-sadisplay | 4369 | (define-public python-sadisplay |
| 4368 | (package | 4370 | (package |
| 4369 | (name "python-sadisplay") | 4371 | (name "python-sadisplay") |
| 4370 | (version "0.4.9") | 4372 | (version "0.4.9") |
| 4371 | (source | 4373 | (source |
| 4372 | (origin | 4374 | (origin |
| 4373 | (method url-fetch) | 4375 | (method url-fetch) |
| 4374 | (uri (pypi-uri "sadisplay" version)) | 4376 | (uri (pypi-uri "sadisplay" version)) |
| 4375 | (sha256 | 4377 | (sha256 |
| 4376 | (base32 | 4378 | (base32 "15jxwgla3q4xsp6rw8inqaiy1kdzc8l2cixj8amqcf0ji47icrxg")))) |
| 4377 | "15jxwgla3q4xsp6rw8inqaiy1kdzc8l2cixj8amqcf0ji47icrxg")))) | 4379 | (build-system pyproject-build-system) |
| 4378 | (build-system python-build-system) | ||
| 4379 | (arguments | 4380 | (arguments |
| 4380 | '(#:phases (modify-phases %standard-phases | 4381 | (list |
| 4381 | (replace 'check | 4382 | #:test-flags |
| 4382 | (lambda* (#:key tests? #:allow-other-keys) | 4383 | #~(list "--deselect=tests/test_describe.py::test_inherits" |
| 4383 | (if tests? | 4384 | "--deselect=tests/test_describe.py::test_single_mapper"))) |
| 4384 | (begin | ||
| 4385 | (setenv "PYTHONPATH" | ||
| 4386 | (string-append ".:" (or (getenv "PYTHONPATH") | ||
| 4387 | ""))) | ||
| 4388 | (invoke "pytest" "-vv")) | ||
| 4389 | (format #t "test suite not run~%"))))))) | ||
| 4390 | (propagated-inputs | ||
| 4391 | (list python-sqlalchemy)) | ||
| 4392 | (native-inputs | 4385 | (native-inputs |
| 4393 | ;; For tests. | 4386 | (list python-pytest |
| 4394 | (list python-pytest)) | 4387 | python-setuptools |
| 4388 | python-wheel)) | ||
| 4389 | (propagated-inputs | ||
| 4390 | (list python-sqlalchemy)) | ||
| 4395 | (home-page "https://bitbucket.org/estin/sadisplay") | 4391 | (home-page "https://bitbucket.org/estin/sadisplay") |
| 4396 | (synopsis "SQLAlchemy schema displayer") | 4392 | (synopsis "SQLAlchemy schema displayer") |
| 4397 | (description "This package provides a program to build Entity | 4393 | (description |
| 4398 | Relationship diagrams from a SQLAlchemy model (or directly from the | 4394 | "This package provides a program to build Entity Relationship diagrams |
| 4399 | database).") | 4395 | from a SQLAlchemy model (or directly from the database).") |
| 4400 | (license license:bsd-3))) | 4396 | (license license:bsd-3))) |
| 4401 | 4397 | ||
| 4402 | (define-public yoyo-migrations | 4398 | (define-public yoyo-migrations |
