guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch python-team updated: gnu: python-attrs: Update to 23.1.0.


From: guix-commits
Subject: branch python-team updated: gnu: python-attrs: Update to 23.1.0.
Date: Fri, 08 Sep 2023 01:23:24 -0400

This is an automated email from the git hooks/post-receive script.

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

The following commit(s) were added to refs/heads/python-team by this push:
     new a42f45ca80 gnu: python-attrs: Update to 23.1.0.
a42f45ca80 is described below

commit a42f45ca8090ad85679e434e4528df178f1bd0e6
Author: Hilton Chain <hako@ultrarare.space>
AuthorDate: Mon Jul 31 21:04:52 2023 +0800

    gnu: python-attrs: Update to 23.1.0.
    
    * gnu/packages/python-xyz.scm (python-attrs): Update to 23.1.0.
    [build-system]: Switch to pyproject-build-system.
    [arguments]: Remove field.
    [native-inputs]: Add python-hatchling, python-hatch-fancy-pypi-readme,
    python-hatch-vcs.
    Remove python-coverage, python-hypothesis, python-pympler, python-six.
    (python-attrs-bootstrap)[native-input]: Adjust accordingly.
---
 gnu/packages/python-xyz.scm | 28 ++++++++++------------------
 1 file changed, 10 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 09409f3ae5..50e6cb0734 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21571,29 +21571,19 @@ both as keys and as attributes.")
 (define-public python-attrs
   (package
     (name "python-attrs")
-    (version "21.2.0")
+    (version "23.1.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "attrs" version))
               (sha256
                (base32
-                "1yzmwi5d197p0qhl7rl4xi9q1w8mk9i3zn6hrl22knbcrb1slspg"))))
-    (build-system python-build-system)
-    (arguments
-     `(#: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)))))
-                  (replace 'check
-                    (lambda* (#:key tests? #:allow-other-keys)
-                      (when tests?
-                        (invoke "pytest")))))))
+                "05g0a3y9hv74zblgf51zd0ar3g1ksfngjdgj3dps44qmb1nq6yb2"))))
+    (build-system pyproject-build-system)
     (native-inputs
-     (list python-coverage python-hypothesis python-pympler python-pytest
-           python-six))
+     (list python-hatchling
+           python-hatch-fancy-pypi-readme
+           python-hatch-vcs
+           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
@@ -21605,7 +21595,9 @@ both as keys and as attributes.")
   (package
     (inherit python-attrs)
     (name "python-attrs-bootstrap")
-    (native-inputs `())
+    (native-inputs
+     (modify-inputs (package-native-inputs python-attrs)
+       (delete "python-pytest")))
     (arguments `(#:tests? #f))))
 
 (define-public python-cliapp



reply via email to

[Prev in Thread] Current Thread [Next in Thread]