diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f2fc1842a79..994a9900ac8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -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