From patchwork Mon Jul 31 13:04:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 52435 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 758DC27BBEB; Mon, 31 Jul 2023 14:06:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 86BE227BBE2 for ; Mon, 31 Jul 2023 14:06:10 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qQSb5-0002jp-Vn; Mon, 31 Jul 2023 09:06:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qQSb5-0002jh-DV for guix-patches@gnu.org; Mon, 31 Jul 2023 09:06:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qQSb5-0001Lc-4w for guix-patches@gnu.org; Mon, 31 Jul 2023 09:06:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qQSb3-0004yo-PC; Mon, 31 Jul 2023 09:06:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64973] [PATCH python-team 1/1] gnu: python-attrs: Update to 23.1.0. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 31 Jul 2023 13:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64973 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64973@debbugs.gnu.org Cc: Hilton Chain , Lars-Dominik Braun , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , jgart Received: via spool by 64973-submit@debbugs.gnu.org id=B64973.169080871019083 (code B ref 64973); Mon, 31 Jul 2023 13:06:01 +0000 Received: (at 64973) by debbugs.gnu.org; 31 Jul 2023 13:05:10 +0000 Received: from localhost ([127.0.0.1]:52006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQSaE-0004xj-0O for submit@debbugs.gnu.org; Mon, 31 Jul 2023 09:05:10 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:40640) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qQSaB-0004xX-Gi for 64973@debbugs.gnu.org; Mon, 31 Jul 2023 09:05:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1690808423; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eNFPHDo8U0dIYZCPlfpYZ9eaAIfIqyl3E5DQb9B7ZxQ=; b=uOGze60szMVPO4Olr2lqYGugWgTcLkQN10VsWffiWVQuHWJlMWtX41jEpR6qR/YqZYiPhA wVyPs0qFAzgRUk1TQRnamEc22gBQJmu1502Kcz/FnG2ROqMlTQYJuChcFro1SGt8OqNn04 7NU9P6rlgE8kkn343BowmKnbUzAuSXtKjaq5CCPTUWz+KJ6yiXTnGT03AKNs0l5YITz+MY yb9Qy3Bzo4Ei+dkROFkBuPQYjSRsfJqIN8wT3G/8wVXg28OeI/qDi9wW2kjavAW+Jb4MIB o/z25IyNW0yH8BL5oKwFixbrOeerOMNe+R1ejfrK54+jztjs3mGfnTJBRxU9uQ== Date: Mon, 31 Jul 2023 21:04:52 +0800 Message-ID: <636e72617cfcd22217c9c7e318cb0ed3fafe12eb.1690806956.git.hako@ultrarare.space> In-Reply-To: References: MIME-Version: 1.0 X-Spamd-Bar: -- Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches X-Patchwork-Original-From: Hilton Chain via Guix-patches via From: Hilton Chain Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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