unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#64973] [PATCH python-team 0/1] gnu: python-attrs: Update to 23.1.0.
@ 2023-07-31 13:03 Hilton Chain via Guix-patches via
  2023-07-31 13:04 ` [bug#64973] [PATCH python-team 1/1] " Hilton Chain via Guix-patches via
  2023-09-08  5:22 ` bug#64973: " jgart via Guix-patches via
  0 siblings, 2 replies; 3+ messages in thread
From: Hilton Chain via Guix-patches via @ 2023-07-31 13:03 UTC (permalink / raw)
  To: 64973; +Cc: Hilton Chain, Lars-Dominik Braun, jgart

Hello Guix!

This patch updates python-attrs to its latest version.

`guix refresh -l python-attrs-bootstrap python-attrs' says that it has 6177
dependent packages (mainly because it's a dependency of python-pytest), so I
think python-team branch might be suitable for it.

Thanks

Hilton Chain (1):
  gnu: python-attrs: Update to 23.1.0.

 gnu/packages/python-xyz.scm | 28 ++++++++++------------------
 1 file changed, 10 insertions(+), 18 deletions(-)


base-commit: 01e976898bb562a8ab69618c1e43cd54f07a99d1
--
2.41.0




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#64973] [PATCH python-team 1/1] gnu: python-attrs: Update to 23.1.0.
  2023-07-31 13:03 [bug#64973] [PATCH python-team 0/1] gnu: python-attrs: Update to 23.1.0 Hilton Chain via Guix-patches via
@ 2023-07-31 13:04 ` Hilton Chain via Guix-patches via
  2023-09-08  5:22 ` bug#64973: " jgart via Guix-patches via
  1 sibling, 0 replies; 3+ messages in thread
From: Hilton Chain via Guix-patches via @ 2023-07-31 13:04 UTC (permalink / raw)
  To: 64973; +Cc: Hilton Chain, Lars-Dominik Braun, jgart

* 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 3a3daf51c6..59f1686b14 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21411,29 +21411,19 @@ (define-public python-attrdict3
 (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
@@ -21445,7 +21435,9 @@ (define-public python-attrs-bootstrap
   (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
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#64973: [PATCH python-team 1/1] gnu: python-attrs: Update to 23.1.0.
  2023-07-31 13:03 [bug#64973] [PATCH python-team 0/1] gnu: python-attrs: Update to 23.1.0 Hilton Chain via Guix-patches via
  2023-07-31 13:04 ` [bug#64973] [PATCH python-team 1/1] " Hilton Chain via Guix-patches via
@ 2023-09-08  5:22 ` jgart via Guix-patches via
  1 sibling, 0 replies; 3+ messages in thread
From: jgart via Guix-patches via @ 2023-09-08  5:22 UTC (permalink / raw)
  To: Hilton Chain, 64973-done; +Cc: Lars-Dominik Braun

Thanks, applied to the python-team branch.

all best,

jgart




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-08  5:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-31 13:03 [bug#64973] [PATCH python-team 0/1] gnu: python-attrs: Update to 23.1.0 Hilton Chain via Guix-patches via
2023-07-31 13:04 ` [bug#64973] [PATCH python-team 1/1] " Hilton Chain via Guix-patches via
2023-09-08  5:22 ` bug#64973: " jgart via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).