gnu: python-arrow: Update to 1.3.0.

* gnu/packages/time.scm (python-arrow): Update to 1.3.0.
  [arguments] <test-flags>: Drop all tests skip options.
  [propagated-inputs]: Add python-types-python-dateutil.
  [native-inputs]: Remove python-chai, python-setuptools, and
  python-wheel; add python-dateparser and python-flit-core.

Change-Id: I93b5c134fbf85f1d1a8a54938282f18a758ebb68
This commit is contained in:
Sharlatan Hellseher 2025-07-29 19:12:35 +01:00
parent 072f406d1c
commit c4a092ed68
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -658,31 +658,26 @@ timestamps.")
(define-public python-arrow (define-public python-arrow
(package (package
(name "python-arrow") (name "python-arrow")
(version "1.2.3") (version "1.3.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "arrow" version)) (uri (pypi-uri "arrow" version))
(sha256 (sha256
(base32 (base32
"189knrgxb3x21lzvqac6qlpd32308hcmpccxdlvr5wmrl46b6d1r")))) "11bssv25jix57igvfmvg2v8dmwk55b4dh6hgffazidccchbhcm6l"))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments ;; Tests: 1837 passed, 2 xpassed.
(list
#:test-flags '(list "tests"
;; python-dateutil doesn't recognize America/Nuuk.
;; Remove when python-dateutil > 2.8.1.
"-k" "not test_parse_tz_name_zzz")))
(native-inputs (native-inputs
(list python-chai (list python-dateparser
python-flit-core
python-pytest python-pytest
python-pytest-cov python-pytest-cov
python-pytest-mock python-pytest-mock
python-pytz python-pytz
python-setuptools python-simplejson))
python-simplejson
python-wheel))
(propagated-inputs (propagated-inputs
(list python-dateutil)) (list python-dateutil
python-types-python-dateutil))
(home-page "https://github.com/arrow-py/arrow") (home-page "https://github.com/arrow-py/arrow")
(synopsis "Dates and times for Python") (synopsis "Dates and times for Python")
(description (description