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

commit dff676d6275d58d9a6cefa67abb5ae2864d4da5c
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Sat Jul 12 14:38:14 2025 +0100

    gnu: python-attrs: Update to 25.3.0.
    
    * gnu/packages/python-xyz.scm (python-attrs): Update to 25.3.0.
      [arguments] <phases>: Remove 'remove-test-hypothesis-deadlines.
      [native-inputs]: Remove python-pympler, python-pytest-xdist, and
      python-zope-interface; add python-hypothesis.
    
    Change-Id: I182dac73577d0617c32111f00a0a3245db77de73
---
 gnu/packages/python-xyz.scm | 34 +++++++++++-----------------------
 1 file changed, 11 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0c9a28504d..00a1eed246 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25938,32 +25938,20 @@ instead of servers and network commands.")
 (define-public python-attrs
   (package
     (name "python-attrs")
-    (version "24.2.0")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "attrs" version))
-              (sha256
-               (base32
-                "0ik35wvcmapzhyzvwhlsrk53pgxnswh3zh5fkdb8dc5m928ipysw"))))
+    (version "25.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "attrs" version))
+       (sha256
+        (base32 "06xgyhxzsc0h3l0pqlkk168f072a9lnl9d415ixp8xmmgzycxmvm"))))
     (build-system pyproject-build-system)
-    (arguments
-     (list
-      #:phases
-      '(modify-phases %standard-phases
-         (add-after 'unpack 'remove-test-hypothesis-deadlines
-           (lambda _
-             (substitute* "tests/test_make.py"
-               (("assume, given") "assume, given, settings")
-               (("( +)@given" all spaces)
-                (string-append spaces "@settings(deadline=None)\n" all))))))))
     (native-inputs
-     (list python-hatchling
-           python-hatch-fancy-pypi-readme
+     (list python-hatch-fancy-pypi-readme
            python-hatch-vcs
-           python-pympler
-           python-pytest
-           python-pytest-xdist
-           python-zope-interface))
+           python-hatchling
+           python-hypothesis
+           python-pytest))
     (home-page "https://github.com/python-attrs/attrs/";)
     (synopsis "Attributes without boilerplate")
     (description "@code{attrs} is a Python package with class decorators that

Reply via email to