guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 41ffc573ef4041de3ac204f4e12c93a5533e02f1
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Mar 15 17:10:07 2026 +0000

    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
---
 gnu/packages/python-xyz.scm | 31 +++++++++----------------------
 1 file changed, 9 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 41d7f1df56..436bb83672 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12830,37 +12830,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

Reply via email to