gnu: python-cartopy: Disable some tests.

Some tests fail with proj 9.2.0.

* gnu/packages/geo.scm (python-cartopy)[arguments]: Update 'check' phase.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
This commit is contained in:
Felix Gruber 2023-04-02 17:45:47 +00:00 committed by Guillaume Le Vaillant
parent 27b58a799c
commit 3171ee7003
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -1183,8 +1183,17 @@ (define-public python-cartopy
(invoke "python" "-m" "pytest" "--pyargs" "cartopy" (invoke "python" "-m" "pytest" "--pyargs" "cartopy"
;; These tests require online data. ;; These tests require online data.
"-m" "not natural_earth and not network" "-m" "not natural_earth and not network"
;; This one too but it's not marked as such. "-k"
"-k" "not test_gridliner_labels_bbox_style"))))))) (string-append
;; This one too but it's not marked as such.
"not test_gridliner_labels_bbox_style"
;; Those tests fail with proj 9.2.0
;; https://github.com/SciTools/cartopy/issues/2145
" and not test_epsg"
" and not test_default"
" and not test_eccentric_globe"
" and not test_ellipsoid_transform"
" and not test_eccentric_globe"))))))))
(propagated-inputs (propagated-inputs
(list python-matplotlib (list python-matplotlib
python-numpy python-numpy