From patchwork Mon Oct 9 07:40:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre-Evariste Dagand X-Patchwork-Id: 54629 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 BD42427BBEB; Mon, 9 Oct 2023 11:28:21 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 943A827BBE9 for ; Mon, 9 Oct 2023 11:28:20 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qpnUZ-0003uI-Fh; Mon, 09 Oct 2023 06:28:03 -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 1qpmof-0007n1-BJ for guix-patches@gnu.org; Mon, 09 Oct 2023 05:44:45 -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 1qpmof-0004ys-2V; Mon, 09 Oct 2023 05:44:45 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qpmox-0007KJ-Ma; Mon, 09 Oct 2023 05:45:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66417] [PATCH 3/3] gnu: Remove python-google-api-core-1 and its dependency python-google-auth-1 Resent-From: Pierre-Evariste Dagand Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Mon, 09 Oct 2023 09:45:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66417 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66417@debbugs.gnu.org Cc: Pierre-Evariste Dagand , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , jgart Received: via spool by 66417-submit@debbugs.gnu.org id=B66417.169684466728060 (code B ref 66417); Mon, 09 Oct 2023 09:45:03 +0000 Received: (at 66417) by debbugs.gnu.org; 9 Oct 2023 09:44:27 +0000 Received: from localhost ([127.0.0.1]:59316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qpmoM-0007IR-Dk for submit@debbugs.gnu.org; Mon, 09 Oct 2023 05:44:27 -0400 Received: from korolev.univ-paris7.fr ([2001:660:3301:8000::1:2]:58540) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qpkuM-0003FG-2G for 66417@debbugs.gnu.org; Mon, 09 Oct 2023 03:42:31 -0400 Received: from potemkin.univ-paris7.fr (potemkin.univ-paris7.fr [IPv6:2001:660:3301:8000::1:1]) by korolev.univ-paris7.fr (8.14.4/8.14.4/relay1/82085) with ESMTP id 3997g8gt017170 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 9 Oct 2023 09:42:09 +0200 Received: from mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [81.194.30.253]) by potemkin.univ-paris7.fr (8.14.4/8.14.4/relay2/82085) with ESMTP id 3997g8LL023294; Mon, 9 Oct 2023 09:42:08 +0200 Received: from mailhub.math.univ-paris-diderot.fr (localhost [127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTP id 7D78E29712; Mon, 9 Oct 2023 09:42:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=irif.fr; h= content-transfer-encoding:mime-version:references:in-reply-to :x-mailer:message-id:date:date:subject:subject:from:from :received:received; s=dkim-irif; t=1696837326; x=1697701327; bh= 2ZZ5EwQVpgFW5z6RmIBa/aWzKeqcTdEXRVo/Sncq8mg=; b=S7NvlGugsc997JGX xRXABlozW+vVi7huW1AmNzfDM3GBRc5a5qU+I4kDNDMEQQjUvPDDymotWfz0zhJ9 X9ewpal5wxSFYyk8OCc2gWksNvhrezn31CZCI34OCEJudjzhiRex96eXXmWEoV06 5ukydiAM648S/LfKQ6V9KXd9jGiDGEKn4LtswXbruuDL8ILjIV6ikkPgxpuy/k7/ 1/PfPkp27zrunn3wYqFW+HmsU8rOPVMkvk+dAYu7F3S2r1ChXjZQ1rxo0BUHlFkB 13qXYRucuCf2WVqysMNxPEeS7Yn621dJcEZY+Gy5NsHbkTlPno+JrDbEpaIDpv7N 6gMJWA== X-Virus-Scanned: amavisd-new at math.univ-paris-diderot.fr Received: from mailhub.math.univ-paris-diderot.fr ([127.0.0.1]) by mailhub.math.univ-paris-diderot.fr (mailhub.math.univ-paris-diderot.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id 9RYaGgXOp7o5; Mon, 9 Oct 2023 09:42:06 +0200 (CEST) Received: from localhost (unknown [88.172.136.207]) (Authenticated sender: dagand) by mailhub.math.univ-paris-diderot.fr (Postfix) with ESMTPSA id 9ADA02961E; Mon, 9 Oct 2023 09:42:06 +0200 (CEST) From: Pierre-Evariste Dagand Date: Mon, 9 Oct 2023 09:40:39 +0200 Message-ID: <14a892d2816a37267d45a82bbe6f55081788d9cd.1696777449.git.doc@evr.ist> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (korolev.univ-paris7.fr [IPv6:2001:660:3301:8000::1:2]); Mon, 09 Oct 2023 09:42:09 +0200 (CEST) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (potemkin.univ-paris7.fr [194.254.61.141]); Mon, 09 Oct 2023 09:42:08 +0200 (CEST) X-Miltered: at korolev with ID 6523AED0.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-Miltered: at potemkin with ID 6523AED0.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 6523AED0.000 from potemkin.univ-paris7.fr/potemkin.univ-paris7.fr/null/potemkin.univ-paris7.fr/ X-j-chkmail-Enveloppe: 6523AED0.000 from mailhub.math.univ-paris-diderot.fr/mailhub.math.univ-paris-diderot.fr/null/mailhub.math.univ-paris-diderot.fr/ X-j-chkmail-Score: MSGID : 6523AED0.000 on korolev.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Score: MSGID : 6523AED0.000 on potemkin.univ-paris7.fr : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham X-j-chkmail-Status: Ham X-Mailman-Approved-At: Mon, 09 Oct 2023 05:44:21 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 09 Oct 2023 06:27:55 -0400 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 python-google-auth-1 doesn't self-test anymore. The tests depend on `python-mock` (easy to fix) but also on an outdated version of `python-cryptography`. --- gnu/packages/python-web.scm | 82 ------------------------------------- 1 file changed, 82 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 4dcc5b5fb9..977258acf6 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7567,42 +7567,6 @@ (define-public python-google-auth server-to-server authentication mechanisms to access Google APIs.") (license license:asl2.0))) -(define-public python-google-auth-1 - (package - (inherit python-google-auth) - (name "python-google-auth") - (version "1.35.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "google-auth" version)) - (sha256 - (base32 "13nqj6hikvbdmbs1vb78c88ym0pd03m09ch00biqw64c0blkn0xp")))) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "pytest"))))))) - (propagated-inputs - (list python-cachetools - python-pyasn1-modules - python-rsa - python-six - ;; For the extras - python-pyopenssl - python-pyu2f)) - (native-inputs - (list python-flask - python-freezegun - python-oauth2client - python-pytest - python-pytest-localserver - python-requests - python-responses - python-urllib3)))) - (define-public python-google-resumable-media (package (name "python-google-resumable-media") @@ -7702,52 +7666,6 @@ (define-public python-google-api-core clients.") (license license:asl2.0))) -(define-public python-google-api-core-1 - (package - (inherit python-google-api-core) - (name "python-google-api-core") - (version "1.32.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "google-api-core" version)) - (sha256 - (base32 "0709va9sisll7axkv6ii2x5s0ls38rqp1jnvs6nkpmg7z163q70h")))) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (for-each - delete-file - '(;; The test suite can't find AsyncMock. - "tests/asyncio/test_page_iterator_async.py" - "tests/asyncio/test_retry_async.py" - ;; Skip the tests depending on grpc. - "tests/asyncio/test_operation_async.py" - "tests/asyncio/test_grpc_helpers_async.py" - "tests/asyncio/operations_v1/test_operations_async_client.py" - "tests/unit/test_bidi.py" - "tests/unit/test_exceptions.py" - "tests/unit/test_grpc_helpers.py" - "tests/unit/test_operation.py" - "tests/unit/operations_v1/test_operations_client.py")) - (delete-file-recursively "tests/asyncio/gapic") - (delete-file-recursively "tests/unit/gapic") - (invoke "pytest" "-k" "not test_constructor_defaults"))))))) - (propagated-inputs - (list python-google-auth-1 - python-googleapis-common-protos - python-packaging - python-protobuf - python-proto-plus - python-pytz - python-requests)) - (native-inputs - (list python-pytest - python-pytest-asyncio)))) - (define-public python-google-cloud-core (package (name "python-google-cloud-core")