guix_mirror_bot pushed a commit to branch master in repository guix. commit f531a568dfe2584c6a176cc46bf8e1c561aaca3d Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Sun Jul 20 09:29:54 2025 +0100
gnu: python-fiona: Simplify tests. * gnu/packages/geo.scm (python-fiona) [arguments] <test-flags>: Utilize it. <phases>: Use default 'check. Change-Id: If1ddd5bce04085baa018ad57338beac5c4ef97a0 --- gnu/packages/geo.scm | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index e551349062..b9d0e3ad92 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -1109,6 +1109,11 @@ projections and coordinate transformations library.") (build-system pyproject-build-system) (arguments (list + #:test-flags + #~(list "-m" "not network and not wheel" + ;; FIXME: Find why the + ;; test_no_append_driver_cannot_append[PCIDSK] test is failing. + "-k" "not test_no_append_driver_cannot_append") #:phases #~(modify-phases %standard-phases (add-before 'build 'set-configure-flags @@ -1118,18 +1123,7 @@ projections and coordinate transformations library.") (lambda _ ;; This would otherwise interfere with finding the installed ;; fiona when running tests. - (delete-file-recursively "fiona"))) - (replace 'check - (lambda* (#:key tests? inputs outputs #:allow-other-keys) - (add-installed-pythonpath inputs outputs) - (setenv "GDAL_ENABLE_DEPRECATED_DRIVER_GTM" "YES") - (when tests? - (invoke "pytest" - "-m" "not network and not wheel" - ;; FIXME: Find why the - ;; test_no_append_driver_cannot_append[PCIDSK] - ;; test is failing. - "-k" "not test_no_append_driver_cannot_append"))))))) + (delete-file-recursively "fiona")))))) (inputs (list gdal)) (propagated-inputs