1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-23 01:25:57 +02:00

gnu: python-dirty-equals: Update to 0.11.0.

* gnu/packages/python-xyz.scm (python-dirty-equals): Update to 0.11.0.
[source]: Switch to git-fetch.
[arguments]: Drap all.
[propagated-inputs]: Remove python-pytz.
[native-inputs]: Add python-pydantic, python-pytest-examples, and
tzdata-for-tests.

Change-Id: Iff4b844ec8544d463806ff5c4fbd8c19deadd1c4
This commit is contained in:
Sharlatan Hellseher
2026-03-15 17:10:07 +00:00
parent 5ce269f468
commit 414fee55ac
+9 -22
View File
@@ -13029,37 +13029,24 @@ from a program in a @dfn{pager} such as @command{less}.")
(define-public python-dirty-equals
(package
(name "python-dirty-equals")
(version "0.8.0")
(version "0.11.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/samuelcolvin/dirty-equals")
(commit (string-append "v" version))))
(url "https://github.com/samuelcolvin/dirty-equals")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1jp9jbfs90m8jkpcvi798zxxx49a94rzn8gki9fraqhbqxkv76qd"))))
(base32 "11nrdzcrc5hg3sbrhrdrmw43nvrx8wpzkl5q0p91pihxnfnrcli4"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
;; This test requires pytest-examples, which in turn requires
;; python-ruff, which is difficult to package because it is written in
;; Rust (TODO: Enable when Ruff is in Guix!).
#~(list "--ignore=tests/test_docs.py"
;; Optional typing check with Pydantic.
"--ignore=tests/test_other.py"
;; TODO: Some timezones are missing in PyTZ, remove constrain
;; when updated.
"-k" (string-append "not test_is_datetime_zoneinfo"
" and not test_is_now_tz"
" and not test_tz"))))
;; tests: 551 passed, 60 skipped
(native-inputs
(list python-hatchling
;; python-pydantic ; introduces cycle, optinoal
python-pytest))
(propagated-inputs
(list python-pytz))
python-pydantic
python-pytest
python-pytest-examples
tzdata-for-tests))
(home-page "https://dirty-equals.helpmanual.io/")
(synopsis "Do dirty (but useful) things with equals")
(description