From: Hilton Chain via Guix-patches via <guix-patches@gnu.org>
To: 64973@debbugs.gnu.org
Cc: Hilton Chain <hako@ultrarare.space>,
Lars-Dominik Braun <lars@6xq.net>, jgart <jgart@dismail.de>
Subject: [bug#64973] [PATCH python-team 1/1] gnu: python-attrs: Update to 23.1.0.
Date: Mon, 31 Jul 2023 21:04:52 +0800 [thread overview]
Message-ID: <636e72617cfcd22217c9c7e318cb0ed3fafe12eb.1690806956.git.hako@ultrarare.space> (raw)
In-Reply-To: <cover.1690806956.git.hako@ultrarare.space>
* 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
next prev parent reply other threads:[~2023-07-31 13:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2023-09-08 5:22 ` bug#64973: [PATCH python-team 1/1] " jgart via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=636e72617cfcd22217c9c7e318cb0ed3fafe12eb.1690806956.git.hako@ultrarare.space \
--to=guix-patches@gnu.org \
--cc=64973@debbugs.gnu.org \
--cc=hako@ultrarare.space \
--cc=jgart@dismail.de \
--cc=lars@6xq.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.