gnu: python-geopandas: Update to 0.13.2.

* gnu/packages/geo.scm (python-geopandas): Update to 0.13.2.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase; add #:test-flags.
[propagated-inputs]: Add python-packaging.
This commit is contained in:
Ricardo Wurmus 2023-06-26 18:08:34 +02:00
parent 0578efa521
commit 2a52c87d98
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC

@ -903,34 +903,27 @@ pyproj, Rtree, and Shapely.")
(define-public python-geopandas (define-public python-geopandas
(package (package
(name "python-geopandas") (name "python-geopandas")
(version "0.10.2") (version "0.13.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "geopandas" version)) (uri (pypi-uri "geopandas" version))
(sha256 (sha256
(base32 (base32
"1nvim2i47ap1zdwy6kxydskf1cir5g4ij8124wvmrqij0zklggzg")))) "0s59jjk02l1zajz95n1c7fr3fyj44wzxn569q2y7f34042f6vdg5"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (arguments
'(#:phases (list
(modify-phases %standard-phases #:test-flags
(replace 'check '(list
(lambda* (#:key tests? #:allow-other-keys) ;; Test files are missing
(when tests? "--ignore=geopandas/tests/test_overlay.py"
(invoke "pytest" "--ignore=geopandas/io/tests/test_file.py"
; Disable tests that fail due to incompatibilities ;; Disable tests that require internet access.
; with our pandas version. "-m" "not web")))
"-k"
(string-append
"not test_getitem_invalid"
" and not test_value_counts"
" and not test_setitem_invalid"
" and not test_insert_invalid")
; Disable tests that require internet access.
"-m" "not web")))))))
(propagated-inputs (propagated-inputs
(list python-fiona python-pandas python-pyproj python-shapely)) (list python-fiona python-packaging python-pandas python-pyproj
python-shapely))
(native-inputs (native-inputs
(list python-pytest)) (list python-pytest))
(home-page "https://geopandas.org") (home-page "https://geopandas.org")