mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-attrs: Update to 25.3.0.
* gnu/packages/python-xyz.scm (python-attrs): Update to 25.3.0. [arguments] <phases>: Remove 'remove-test-hypothesis-deadlines. [native-inputs]: Remove python-pympler, python-pytest-xdist, and python-zope-interface; add python-hypothesis. Change-Id: I182dac73577d0617c32111f00a0a3245db77de73
This commit is contained in:
parent
78aac7cf1a
commit
1ed8a3d446
1 changed files with 11 additions and 23 deletions
|
@ -26061,32 +26061,20 @@ instead of servers and network commands.")
|
||||||
(define-public python-attrs
|
(define-public python-attrs
|
||||||
(package
|
(package
|
||||||
(name "python-attrs")
|
(name "python-attrs")
|
||||||
(version "24.2.0")
|
(version "25.3.0")
|
||||||
(source (origin
|
(source
|
||||||
(method url-fetch)
|
(origin
|
||||||
(uri (pypi-uri "attrs" version))
|
(method url-fetch)
|
||||||
(sha256
|
(uri (pypi-uri "attrs" version))
|
||||||
(base32
|
(sha256
|
||||||
"0ik35wvcmapzhyzvwhlsrk53pgxnswh3zh5fkdb8dc5m928ipysw"))))
|
(base32 "06xgyhxzsc0h3l0pqlkk168f072a9lnl9d415ixp8xmmgzycxmvm"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
|
||||||
(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
|
(native-inputs
|
||||||
(list python-hatchling
|
(list python-hatch-fancy-pypi-readme
|
||||||
python-hatch-fancy-pypi-readme
|
|
||||||
python-hatch-vcs
|
python-hatch-vcs
|
||||||
python-pympler
|
python-hatchling
|
||||||
python-pytest
|
python-hypothesis
|
||||||
python-pytest-xdist
|
python-pytest))
|
||||||
python-zope-interface))
|
|
||||||
(home-page "https://github.com/python-attrs/attrs/")
|
(home-page "https://github.com/python-attrs/attrs/")
|
||||||
(synopsis "Attributes without boilerplate")
|
(synopsis "Attributes without boilerplate")
|
||||||
(description "@code{attrs} is a Python package with class decorators that
|
(description "@code{attrs} is a Python package with class decorators that
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue