unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Pierre-Evariste Dagand <doc@evr.ist>
To: 66417@debbugs.gnu.org
Cc: Pierre-Evariste Dagand <doc@evr.ist>,
	Lars-Dominik Braun <lars@6xq.net>, Marius Bakke <marius@gnu.org>,
	Munyoki Kilyungi <me@bonfacemunyoki.com>,
	jgart <jgart@dismail.de>
Subject: [bug#66417] [PATCH 3/3] gnu: Remove python-google-api-core-1 and its dependency python-google-auth-1
Date: Mon,  9 Oct 2023 09:40:39 +0200	[thread overview]
Message-ID: <14a892d2816a37267d45a82bbe6f55081788d9cd.1696777449.git.doc@evr.ist> (raw)
In-Reply-To: <cover.1696777449.git.doc@evr.ist>

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")
-- 
2.41.0





  parent reply	other threads:[~2023-10-09 10:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-09  7:12 [bug#66417] [PATCH 0/3] Bump python-google-api-client to version 2 Pierre-Evariste Dagand
2023-10-09  7:40 ` [bug#66417] [PATCH 1/3] gnu: Add python-google-auth-oauthlib Pierre-Evariste Dagand
2023-10-09  7:40 ` [bug#66417] [PATCH 2/3] gnu: python-google-api-client: Update to 2.102.0 Pierre-Evariste Dagand
2023-10-09  7:40 ` Pierre-Evariste Dagand [this message]
2023-10-11 21:14 ` bug#66417: [PATCH 0/3] Bump python-google-api-client to version 2 Ludovic Courtès

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14a892d2816a37267d45a82bbe6f55081788d9cd.1696777449.git.doc@evr.ist \
    --to=doc@evr.ist \
    --cc=66417@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    --cc=lars@6xq.net \
    --cc=marius@gnu.org \
    --cc=me@bonfacemunyoki.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).