From patchwork Thu Nov 14 11:52:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sharlatan Hellseher X-Patchwork-Id: 70390 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 4106F27BBEB; Thu, 14 Nov 2024 11:56:00 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL, RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 DD24F27BBE2 for ; Thu, 14 Nov 2024 11:55:59 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBYRL-00069V-3C; Thu, 14 Nov 2024 06:55:11 -0500 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 1tBYRI-00067j-S1 for guix-patches@gnu.org; Thu, 14 Nov 2024 06:55:08 -0500 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 1tBYRI-0005L8-Ix; Thu, 14 Nov 2024 06:55:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=9NyFc1Cslr+jo086qHXM5xsuWfQrA97SwO7dGpqZbVs=; b=GUSRdhGIxH5AYWBthzsle1/j19xr9XLJs7jcRxBpndCqRkWp+vJEchvLZhgSUX1VkTBdjZkX7+Ty8v2YuBcp6CaLSuveXkyj76XhFUAe1TMcDBlwJAUOEFaIXOpkYASUjkmvCBmJCok0BowYLQrLdHDA1WUnJME4/oQeUZPh731UcARAJw5QRK0NY/9YvBPcdiwhvRPb2LPv0Ensk/pyBOkqPsjBBeml8i9BRTJV4ZlBx7VLPwLxj/xahH2jh7B1XBclfVvKRW4Pi+bKfFzl25dHMNusZP7msmg/I8IU5kaDmgloCAlGxy63xUyzkm3lO9fQKESzGQoglcpeHOVteQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBYRF-0002Ta-50; Thu, 14 Nov 2024 06:55:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74345] [PATCH v2 03/14] gnu: python-boto3: Update to 1.35.54. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Thu, 14 Nov 2024 11:55:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74345 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 74345@debbugs.gnu.org Cc: Sharlatan Hellseher , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 74345-submit@debbugs.gnu.org id=B74345.17315852539293 (code B ref 74345); Thu, 14 Nov 2024 11:55:05 +0000 Received: (at 74345) by debbugs.gnu.org; 14 Nov 2024 11:54:13 +0000 Received: from localhost ([127.0.0.1]:45356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBYQO-0002Pi-Ch for submit@debbugs.gnu.org; Thu, 14 Nov 2024 06:54:12 -0500 Received: from mail-lf1-f54.google.com ([209.85.167.54]:51475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBYQK-0002O1-7M for 74345@debbugs.gnu.org; Thu, 14 Nov 2024 06:54:08 -0500 Received: by mail-lf1-f54.google.com with SMTP id 2adb3069b0e04-53da2140769so523417e87.3 for <74345@debbugs.gnu.org>; Thu, 14 Nov 2024 03:54:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731585182; x=1732189982; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9NyFc1Cslr+jo086qHXM5xsuWfQrA97SwO7dGpqZbVs=; b=PnQ+xCH/1TNsPNleKxYmic08GYRQzUtl3RogjmHOiasAgrvyFlneNQxOD4Bom7vNHF EBI39EgI80Bwis6AzEyoIS1D8arzBgE7ud7mg8ZTXJsVmCq+5F+AT8v1zIPFNrUyr0mA BiurtrrSmkpcLXJg7XldoM60kG+oSeikDJqua74mLq4/pAVxgvaHTJ/8LE+CF242GcKO XNdLPJOY4mnEe5JHvxkAov2G57UGI0qndlTem8mQPIFmy9lwJbj2yTK88wzzatioNuhi 8U/QRGRrNDvTSfIAOmv/plfck+gQXn0vwymcMI5IPh8AZwIojJIH8csp3RbhMH2mvefE wYJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731585182; x=1732189982; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9NyFc1Cslr+jo086qHXM5xsuWfQrA97SwO7dGpqZbVs=; b=wsfMRHO/n3lJc/q/AjD/ELyJ+HjrSYNFr5l5Asofut235d5w9Qa5l8siOTNg8qUxCl 1Z6NcDpO4OlZHx6qPKfY/0JfnlF2u/XEIQQMkRG3PF0sz0SyU6vT/+3v+SeInVavODZj Lu2YYp4NhELJC0p/WaZ+cytBymhw5Jz9SoVl+wfx94VCMMxCvCUXWXM7yI+n2wQSiPYq 9Kx5tOwwlCZjqQv6smlm76dFjAz4K9W1Oj1ZP86yjlzKdEYQaIWQoWLVAQCGekh7Odpu pAEM/GekhBBGwEywrt06v97x81A+ps1O2g6KdGuGUrD0npEFrtCCaIZOZ0TOYrK74rPY oOIg== X-Gm-Message-State: AOJu0Yxowa7UZwdLyQU9BOuQODQYJ3WTfGTJ7XrZi9CSp+cJxVkiVVlp mVKrHAed8CsFfilQcIohOt0eUBjawFjV+InVZ0A2TzPRWm7rtNqwpwi3qw2Pb0s= X-Google-Smtp-Source: AGHT+IGn1jb4d0ucUHgjC58zAbWJhUgizz7mjy6bsim6R0tuuh20fwx9sy3QrD5T0ufIsaKWZCwRqQ== X-Received: by 2002:a05:6512:3d29:b0:539:9155:e8b8 with SMTP id 2adb3069b0e04-53da5c28cd5mr952527e87.6.1731585182093; Thu, 14 Nov 2024 03:53:02 -0800 (PST) Received: from guxtil.incerto.xyz (cpc100684-bagu15-2-0-cust967.1-3.cable.virginm.net. [86.8.111.200]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3821ae154c3sm1260537f8f.67.2024.11.14.03.53.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Nov 2024 03:53:01 -0800 (PST) From: Sharlatan Hellseher Date: Thu, 14 Nov 2024 11:52:44 +0000 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 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: , 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-boto3): Update to 1.35.54. Improve package style. [bulid-system]: Swap to pyproject-build-system. [native-inputs]: Add python-pytest-xdist, python-setuptools, and python-wheel. Change-Id: I413fcfc599d0d3ccf8587136629648c8a04cd364 --- gnu/packages/python-xyz.scm | 48 ++++++++++++++++++++----------------- 1 file changed, 26 insertions(+), 22 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c491883431..9ddc4ea6c2 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -19400,31 +19400,35 @@ (define-public python-botocore (define-public python-boto3 (package (name "python-boto3") - (version "1.21.35") - (home-page "https://github.com/boto/boto3") - (source (origin - (method git-fetch) - (uri (git-reference (url home-page) (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1kdyf238rpfldnpzs0rdh3nhjn6hwfym4faskyhzlgzkf1smmbg1")))) + (version "1.35.54") + (source + (origin + (method git-fetch) ; no tests in PyPI release + (uri (git-reference + (url "https://github.com/boto/boto3") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0w0k719i8pyzkvd2snv6z91r57k6cxkq1i3phygdpwzk0k6acvj2")))) + (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'delete-network-tests - ;; Deleting integration tests because they are trying to connect to AWS. - (lambda _ - (delete-file-recursively "tests/integration"))) - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest" "-v"))))))) - (build-system python-build-system) + (list + #:test-flags + #~(list "--numprocesses" "auto" + ;; Tests require networking. + "--ignore" "tests/integration"))) (native-inputs - (list python-nose python-mock python-pytest)) + (list python-mock + python-nose + python-pytest + python-pytest-xdist + python-setuptools + python-wheel)) (propagated-inputs - (list python-botocore python-jmespath python-s3transfer)) + (list python-botocore + python-jmespath + python-s3transfer)) + (home-page "https://github.com/boto/boto3") (synopsis "AWS SDK for Python") (description "Boto3 is a Python library for writing programs that interact with