[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
76/222: gnu: python-attrs: Update to 23.2.0.
From: |
guix-commits |
Subject: |
76/222: gnu: python-attrs: Update to 23.2.0. |
Date: |
Fri, 1 Nov 2024 10:56:27 -0400 (EDT) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 85f27ed559982bd6a73ec9d4370062c52f154315
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 eb2b067505..165d425e1a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24553,29 +24553,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
@@ -24587,7 +24590,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
- 51/222: gnu: python-partd: Add missing input., (continued)
- 51/222: gnu: python-partd: Add missing input., guix-commits, 2024/11/01
- 03/222: gnu: python-sphinx-alabaster-theme: Update to 0.7.13., guix-commits, 2024/11/01
- 26/222: gnu: python-myst-parser: Relax some requirements., guix-commits, 2024/11/01
- 31/222: gnu: python-prompt-toolkit: Update to 3.0.43., guix-commits, 2024/11/01
- 29/222: gnu: python-argcomplete: Update to 3.2.2., guix-commits, 2024/11/01
- 56/222: guix: toml: Fix parsing empty strings in arrays., guix-commits, 2024/11/01
- 27/222: gnu: python-lightning-cloud: Disable tests., guix-commits, 2024/11/01
- 57/222: gnu: snakemake-6: Add Setuptools and Wheel., guix-commits, 2024/11/01
- 73/222: gnu: Add python-pytest-jupyter., guix-commits, 2024/11/01
- 62/222: gnu: python-nbconvert: Add missing texlive inputs., guix-commits, 2024/11/01
- 76/222: gnu: python-attrs: Update to 23.2.0.,
guix-commits <=
- 78/222: gnu: python-send2trash: Update to 1.8.2., guix-commits, 2024/11/01
- 83/222: gnu: python-pytest-tornasync: Use Tornado 6., guix-commits, 2024/11/01
- 84/222: gnu: python-jupyter-kernel-mgmt: Use Tornado 6., guix-commits, 2024/11/01
- 85/222: gnu: python-pyzmq: Use Tornado 6., guix-commits, 2024/11/01
- 87/222: gnu: python-jupyter-client: Set environment variable., guix-commits, 2024/11/01
- 88/222: gnu: python-ipykernel: Set environment variable., guix-commits, 2024/11/01
- 90/222: gnu: python-nbconvert: Use pyproject-build-system., guix-commits, 2024/11/01
- 91/222: gnu: python-trio: Use pyproject-build-system., guix-commits, 2024/11/01
- 98/222: gnu: python-jupyter-server: Update to 2.14.0., guix-commits, 2024/11/01
- 100/222: gnu: python-tabulate: Add Setuptools and Wheel., guix-commits, 2024/11/01