[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
76/361: gnu: python-attrs: Update to 23.2.0.
From: |
guix-commits |
Subject: |
76/361: gnu: python-attrs: Update to 23.2.0. |
Date: |
Thu, 21 Nov 2024 06:28:52 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit bdda952f91e1cc0937c552f089f6b84d2a862c40
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 cd75beb36d..d832a45697 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24634,29 +24634,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
@@ -24668,7 +24671,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
- 210/361: gnu: python-pyan3: Move to pyproject-build-system., (continued)
- 210/361: gnu: python-pyan3: Move to pyproject-build-system., guix-commits, 2024/11/21
- 219/361: gnu: python-notebook: Add python-jupyter-server to native inputs., guix-commits, 2024/11/21
- 223/361: gnu: Remove python-mistune-next., guix-commits, 2024/11/21
- 220/361: gnu: build-system/pyproject: Add missing native-inputs., guix-commits, 2024/11/21
- 231/361: gnu: python-daft: Adjust inputs., guix-commits, 2024/11/21
- 237/361: gnu: python-optree: Adjust inputs., guix-commits, 2024/11/21
- 84/361: gnu: python-jupyter-kernel-mgmt: Use Tornado 6., guix-commits, 2024/11/21
- 79/361: gnu: python-argon2-cffi: Update to 21.1.0., guix-commits, 2024/11/21
- 77/361: gnu: python-jedi: Update to 0.19.1., guix-commits, 2024/11/21
- 72/361: gnu: Add python-hatch-jupyter-builder., guix-commits, 2024/11/21
- 76/361: gnu: python-attrs: Update to 23.2.0.,
guix-commits <=
- 95/361: gnu: python-notebook: Update to 6.5.7., guix-commits, 2024/11/21
- 100/361: gnu: python-tabulate: Add Setuptools and Wheel., guix-commits, 2024/11/21
- 103/361: gnu: python-lazy-object-proxy: Update to 1.10.0., guix-commits, 2024/11/21
- 107/361: gnu: Add python-jsonschema-path., guix-commits, 2024/11/21
- 130/361: gnu: python-nbconvert: Update to 7.16.4., guix-commits, 2024/11/21
- 114/361: gnu: python-sphinx-pytest: Update to 0.2.0., guix-commits, 2024/11/21
- 122/361: gnu: python-lsp-jsonrpc: Update to 1.1.2., guix-commits, 2024/11/21
- 129/361: gnu: python-mistune: Update to 3.0.2., guix-commits, 2024/11/21
- 115/361: gnu: python-myst-parser: Update to 3.0.1., guix-commits, 2024/11/21
- 120/361: gnu: python-platformdirs: Update to 4.2.1., guix-commits, 2024/11/21