diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-08-24 18:40:52 +0200 |
|---|---|---|
| committer | jgart <jgart@dismail.de> | 2025-08-26 09:30:00 -0500 |
| commit | f58be2b22edcc3cc2d8aa30c9b893f1044b5c79c (patch) | |
| tree | 1e50fd1b7f945c3c978c362d983e0d2caa34b6a8 /gnu/packages/python-xyz.scm | |
| parent | 1385c018f7368340f148e1afa23d29c98b92c582 (diff) | |
gnu: python-pydantic-2: Skip benchmark tests.
* gnu/packages/python-xyz.scm (python-pydantic-2)
[arguments]<#:test-flags>: Skip all benckmark tests.
<#:phases>: Remove 'pre-check phase.
Signed-off-by: jgart <jgart@dismail.de>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index ba1776d088..de37eee01a 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9622,22 +9622,9 @@ errors when data is invalid.") (list #:test-flags #~(list "--ignore=tests/test_docs.py" ; no pytest_examples - ;; These tests include hashes that keep changing depending on - ;; package versions. - "--ignore=tests/benchmarks/test_north_star.py" + "--ignore-glob=tests/benchmarks/*" ;; Unimportant difference in one test's error message. - "--ignore=tests/test_networks.py") - #:phases - #~(modify-phases %standard-phases - (add-before 'check 'pre-check - (lambda _ - ;; Remove the addopts from pyproject.toml, it breaks the 'check - ;; phase. - (substitute* "pyproject.toml" - (("'--benchmark") "#'--benchmark") - ;; Do not fail on deprecation warnings. - (("ignore:path is deprecated.*:DeprecationWarning:") - "ignore::DeprecationWarning"))))))) + "--ignore=tests/test_networks.py"))) (native-inputs (list tzdata-for-tests python-dirty-equals |
