gnu: python-marshmallow: Update to 4.0.0.

* gnu/packages/python-xyz.scm (python-marshmallow): Update to 4.0.0.
  [arguments] <phases>: Add 'set-check-environment.
  [propagated-inputs]: Remove python-packaging.
  [native-inputs]: Remove python-pytz; add tzdata-for-tests.

Change-Id: I8968a2e28056fb16de2f206df70f7243ad7090e5
This commit is contained in:
Sharlatan Hellseher 2025-08-04 22:30:42 +01:00
parent 428431572e
commit afbb46e51f
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -27337,23 +27337,29 @@ input.")
(define-public python-marshmallow
(package
(name "python-marshmallow")
;; XXX: The latest version requires missing timezones from python-pytz
;; which needs to be updated.
(version "3.22.0")
(version "4.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "marshmallow" version))
(sha256
(base32 "0gl2qmq5sqf1b3f84zd7yzkznaknr6j5lnbxcfw0n8ja20lzawj9"))))
(base32 "0mcd5aqs33hijapnj2a3g580pfaghp8h3vcpzdf979wrqam80viv"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'set-check-environment
(lambda* (#:key inputs #:allow-other-keys)
(setenv "TZ" "UTC")
(setenv "TZDIR"
(search-input-directory inputs
"share/zoneinfo")))))))
(native-inputs
(list python-pytest
python-pytz
(list python-flit-core
python-pytest
python-simplejson
python-flit-core))
(propagated-inputs
(list python-packaging))
tzdata-for-tests))
(home-page "https://github.com/marshmallow-code/marshmallow")
(synopsis "Convert complex datatypes to and from native Python datatypes")
(description