[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
77/223: gnu: python-attrs: Update to 23.2.0.
From: |
guix-commits |
Subject: |
77/223: gnu: python-attrs: Update to 23.2.0. |
Date: |
Thu, 17 Oct 2024 06:20:46 -0400 (EDT) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 19a92d5cce7a03a01f5ab05b022a1698cf98ae59
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 7 07:55:44 2024 +0200
gnu: python-attrs: Update to 23.2.0.
* gnu/packages/python-xyz.scm (python-attrs): Update to 23.2.0.
[build-system]: Use pyproject-build-system.
[arguments]: Remove custom 'check phase.
[native-inputs]: Remove python-coverage, python-hypothesis, and python-six;
add python-hatchling, python-hatch-fancy-pypi-readme, python-hatch-vcs,
python-pytest-xdist, and python-zope-interface.
(python-attrs-bootstrap)[native-inputs]: Add python-hatchling,
python-hatch-fancy-pypi-readme, python-hatch-vcs.
Change-Id: I19f99b38589db7de0f6a78d6e0f126118dbe2b1d
---
gnu/packages/python-xyz.scm | 39 ++++++++++++++++++++++-----------------
1 file changed, 22 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e34d89df7c..ccf6a181ef 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24388,29 +24388,32 @@ both as keys and as attributes.")
(define-public python-attrs
(package
(name "python-attrs")
- (version "21.2.0")
+ (version "23.2.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "attrs" version))
(sha256
(base32
- "1yzmwi5d197p0qhl7rl4xi9q1w8mk9i3zn6hrl22knbcrb1slspg"))))
- (build-system python-build-system)
+ "0c0zjwcqzbmpl93izm2g37gc3lsbbb9pf275fv7zcqn256sw6pck"))))
+ (build-system pyproject-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")))))))
+ (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-coverage python-hypothesis python-pympler python-pytest
- python-six))
+ (list python-hatchling
+ python-hatch-fancy-pypi-readme
+ python-hatch-vcs
+ python-pympler
+ python-pytest
+ python-pytest-xdist
+ python-zope-interface))
(home-page "https://github.com/python-attrs/attrs/")
(synopsis "Attributes without boilerplate")
(description "@code{attrs} is a Python package with class decorators that
@@ -24422,7 +24425,9 @@ both as keys and as attributes.")
(package
(inherit python-attrs)
(name "python-attrs-bootstrap")
- (native-inputs `())
+ (native-inputs (list python-hatchling
+ python-hatch-fancy-pypi-readme
+ python-hatch-vcs))
(arguments `(#:tests? #f))))
(define-public python-cliapp
- 23/223: gnu: python-rich: Update to 13.7.0., (continued)
- 23/223: gnu: python-rich: Update to 13.7.0., guix-commits, 2024/10/17
- 34/223: gnu: python-cleo: Update to 2.1.0., guix-commits, 2024/10/17
- 38/223: gnu: python-argcomplete: Add missing input., guix-commits, 2024/10/17
- 48/223: gnu: python-joblib: Add missing inputs., guix-commits, 2024/10/17
- 46/223: gnu: python-mysqlclient: Add missing inputs., guix-commits, 2024/10/17
- 49/223: gnu: python-box: Add missing input., guix-commits, 2024/10/17
- 57/223: guix: toml: Fix parsing empty strings in arrays., guix-commits, 2024/10/17
- 62/223: gnu: python-nbclient: Add Setuptools and Wheel., guix-commits, 2024/10/17
- 64/223: gnu: python-rich: Remove python-ipywidgets., guix-commits, 2024/10/17
- 65/223: gnu: Add python-pep440., guix-commits, 2024/10/17
- 77/223: gnu: python-attrs: Update to 23.2.0.,
guix-commits <=
- 78/223: gnu: python-jedi: Update to 0.19.1., guix-commits, 2024/10/17
- 80/223: gnu: python-argon2-cffi: Update to 21.1.0., guix-commits, 2024/10/17
- 82/223: gnu: python-websocket-client: Update to 1.8.0., guix-commits, 2024/10/17
- 83/223: gnu: python-prometheus-client: Update to 0.20.0., guix-commits, 2024/10/17
- 84/223: gnu: python-pytest-tornasync: Use Tornado 6., guix-commits, 2024/10/17
- 91/223: gnu: python-nbconvert: Use pyproject-build-system., guix-commits, 2024/10/17
- 87/223: gnu: python-jupyter-core: Update to 5.7.2., guix-commits, 2024/10/17
- 98/223: gnu: Add python-jupyter-server-terminals., guix-commits, 2024/10/17
- 92/223: gnu: python-trio: Use pyproject-build-system., guix-commits, 2024/10/17
- 102/223: gnu: python-openapi-schema-validator: Update to 0.6.2., guix-commits, 2024/10/17