Github messages for voidlinux
 help / color / mirror / Atom feed
From: icp1994 <icp1994@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] python3-google-api-python-client: update to 2.66.0.
Date: Sat, 17 Dec 2022 15:34:10 +0100	[thread overview]
Message-ID: <20221217143410.ZCO7618evGHUPtGh3ayF3c0A6BU01ExK7l8idGsAg40@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40780@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 528 bytes --]

There is an updated pull request by icp1994 against master on the void-packages repository

https://github.com/icp1994/void-packages python3-google-api-python-client
https://github.com/void-linux/void-packages/pull/40780

python3-google-api-python-client: update to 2.66.0.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64

A patch file from https://github.com/void-linux/void-packages/pull/40780.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-google-api-python-client-40780.patch --]
[-- Type: text/x-diff, Size: 10547 bytes --]

From 4efd254e8dc21d452c5d006e348078086a94c080 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 12:34:43 +0530
Subject: [PATCH 1/6] New package: python3-pytest-localserver-0.7.0

---
 srcpkgs/python3-pytest-localserver/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-localserver/template

diff --git a/srcpkgs/python3-pytest-localserver/template b/srcpkgs/python3-pytest-localserver/template
new file mode 100644
index 000000000000..f25715c3ed17
--- /dev/null
+++ b/srcpkgs/python3-pytest-localserver/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pytest-localserver'
+pkgname=python3-pytest-localserver
+version=0.7.0
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+depends="python3-Werkzeug"
+checkdepends="${depends} python3-requests python3-pytest-xdist"
+short_desc="Pytest plugin to test server connections locally"
+maintainer="icp <pangolin@vivaldi.net>"
+license="MIT"
+homepage="https://pypi.org/project/pytest-localserver/"
+changelog="https://raw.githubusercontent.com/pytest-dev/pytest-localserver/master/CHANGES"
+distfiles="${PYPI_SITE}/p/pytest-localserver/pytest-localserver-${version}.tar.gz"
+checksum=f19b490c7ca1ed05bfe4bc6b490811805a61e7271f0424d3c0fa4d43893a5dcd
+
+post_install() {
+	vlicense LICENSE
+}

From ba4499d5d2cf469a15e557582449954e7ab368c9 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 12:34:51 +0530
Subject: [PATCH 2/6] python3-google-auth: update to 2.15.0.

---
 srcpkgs/python3-google-auth/template | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-google-auth/template b/srcpkgs/python3-google-auth/template
index 3997ef4501b8..825f594e836e 100644
--- a/srcpkgs/python3-google-auth/template
+++ b/srcpkgs/python3-google-auth/template
@@ -1,15 +1,18 @@
 # Template file for 'python3-google-auth'
 pkgname=python3-google-auth
-version=1.28.0
-revision=3
+version=2.15.0
+revision=1
 build_style=python3-module
+make_check_args="--ignore=tests/oauth2/test_challenges.py"
 hostmakedepends="python3-setuptools"
 depends="python3-pyasn1-modules python3-rsa python3-six python3-cachetools"
+checkdepends="${depends} python3-Flask python3-freezegun python3-mock python3-oauth2client
+ python3-openssl python3-pytest-localserver python3-requests python3-urllib3 python3-cryptography
+ python3-responses python3-grpcio python3-certifi python3-pytest-xdist"
 short_desc="Google Authentication Library (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/GoogleCloudPlatform/google-auth-library-python"
+homepage="https://googleapis.dev/python/google-auth/latest/index.html"
+changelog="https://raw.githubusercontent.com/googleapis/google-auth-library-python/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-auth/google-auth-${version}.tar.gz"
-checksum=9bd436d19ab047001a1340720d2b629eb96dd503258c524921ec2af3ee88a80e
-# all tests require many optional dependencies
-make_check=no
+checksum=72f12a6cfc968d754d7bdab369c5c5c16032106e52d32c6dfd8484e4c01a6d1f

From e2bcd2d0b2270cc1147aaf5388ad4dc88fe41062 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Tue, 25 Oct 2022 01:29:34 +0530
Subject: [PATCH 3/6] python3-google-auth-oauthlib: update to 0.8.0.

---
 srcpkgs/python3-google-auth-oauthlib/template | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/srcpkgs/python3-google-auth-oauthlib/template b/srcpkgs/python3-google-auth-oauthlib/template
index 366133b6ba86..7ac019f65a58 100644
--- a/srcpkgs/python3-google-auth-oauthlib/template
+++ b/srcpkgs/python3-google-auth-oauthlib/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-google-auth-oauthlib'
 pkgname=python3-google-auth-oauthlib
-version=0.5.3
-revision=2
+version=0.8.0
+revision=1
 build_style=python3-module
 make_check_args="--deselect tests/unit/test_flow.py::TestInstalledAppFlow::test_run_local_server_bind_addr"
 hostmakedepends="python3-setuptools"
@@ -10,7 +10,7 @@ checkdepends="${depends} python3-click python3-mock python3-pytest-xdist"
 short_desc="Oauthlib integration for Google Auth"
 maintainer="icp <pangolin@vivaldi.net>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/google-auth-library-python-oauthlib"
+homepage="https://googleapis.dev/python/google-auth-oauthlib/latest/index.html"
 changelog="https://raw.githubusercontent.com/googleapis/google-auth-library-python-oauthlib/main/CHANGELOG.md"
-distfiles="https://github.com/googleapis/google-auth-library-python-oauthlib/archive/refs/tags/v${version}.tar.gz"
-checksum=7fe8591eac00bfc0eecc8407e210741576566c7771927a4ee08b48fb84205473
+distfiles="${PYPI_SITE}/g/google-auth-oauthlib/google-auth-oauthlib-${version}.tar.gz"
+checksum=81056a310fb1c4a3e5a7e1a443e1eb96593c6bbc55b26c0261e4d3295d3e6593

From d7ddf3d95bd5a7c63768d22cfad9db98778069ad Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 13:31:14 +0530
Subject: [PATCH 4/6] python3-googleapis-common-protos: update to 1.57.0.

---
 srcpkgs/python3-googleapis-common-protos/template | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-googleapis-common-protos/template b/srcpkgs/python3-googleapis-common-protos/template
index 787b5bc0b6aa..914c43f14a3f 100644
--- a/srcpkgs/python3-googleapis-common-protos/template
+++ b/srcpkgs/python3-googleapis-common-protos/template
@@ -1,19 +1,18 @@
 # Template file for 'python3-googleapis-common-protos'
 pkgname=python3-googleapis-common-protos
-version=1.53.0
-revision=3
+version=1.57.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-protobuf"
-checkdepends="python3-protobuf python3-six"
+checkdepends="${depends} python3-grpcio python3-mock python3-pytest-xdist"
 short_desc="Common protobufs used in Google APIs (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/googleapis"
+homepage="https://pypi.org/project/googleapis-common-protos/"
+changelog="https://raw.githubusercontent.com/googleapis/python-api-common-protos/v1.57.0/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/googleapis-common-protos/googleapis-common-protos-${version}.tar.gz"
-checksum=a88ee8903aa0a81f6c3cec2d5cf62d3c8aa67c06439b0496b49048fb1854ebf4
-# testing requires many optional dependencies
-make_check=no
+checksum=27a849d6205838fb6cc3c1c21cb9800707a661bb21c6ce7fb13e99eb1f8a0c46
 
 post_install() {
 	chmod -R +r "${DESTDIR}/${py3_sitelib}"

From 56fb3f1eb347330d2102d6e4b6d553aef71b03c0 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 21:22:18 +0530
Subject: [PATCH 5/6] python3-google-api-core: update to 2.11.0.

---
 srcpkgs/python3-google-api-core/template | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/srcpkgs/python3-google-api-core/template b/srcpkgs/python3-google-api-core/template
index dfc366881661..4f4a42b98efd 100644
--- a/srcpkgs/python3-google-api-core/template
+++ b/srcpkgs/python3-google-api-core/template
@@ -1,17 +1,17 @@
 # Template file for 'python3-google-api-core'
 pkgname=python3-google-api-core
-version=1.26.2
-revision=3
+version=2.11.0
+revision=1
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3-googleapis-common-protos python3-protobuf python3-google-auth
- python3-requests python3-six python3-pytz"
-checkdepends="$depends python3-mock python3-pytest"
+ python3-requests"
 short_desc="Google API client core library for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/python-api-core"
+homepage="https://googleapis.dev/python/google-api-core/latest/index.html"
+changelog="https://raw.githubusercontent.com/googleapis/python-api-core/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-api-core/google-api-core-${version}.tar.gz"
-checksum=418a131cd349e8bda036741d93e7fb9caefa691daa7296851193edc60b3c946c
-# all tests require grpc, which is optional dependencies.
+checksum=4b9bb5d5a380a0befa0573b302651b8a9a89262c1730e37bf423cec511804c22
+# tests require unpackaged dependencies: asyncmock, proto-plus
 make_check=no

From 79b750656642a203adf281b2fcbfa22f53c4aee9 Mon Sep 17 00:00:00 2001
From: icp <pangolin@vivaldi.net>
Date: Sat, 26 Nov 2022 13:05:56 +0530
Subject: [PATCH 6/6] fixup! python3-google-api-python-client: update to
 2.69.0.

---
 .../python3-google-api-python-client/template | 23 ++++++++-----------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/srcpkgs/python3-google-api-python-client/template b/srcpkgs/python3-google-api-python-client/template
index 640c50c77360..91aff1eba87d 100644
--- a/srcpkgs/python3-google-api-python-client/template
+++ b/srcpkgs/python3-google-api-python-client/template
@@ -1,22 +1,19 @@
 # Template file for 'python3-google-api-python-client'
 pkgname=python3-google-api-python-client
-version=2.0.2
-revision=3
+version=2.70.0
+revision=1
 build_style=python3-module
+make_check_args="--deselect=tests/test__helpers.py::PositionalTests::test_usage
+ --deselect=tests/test_discovery.py::DiscoveryErrors::test_tests_should_be_run_with_strict_positional_enforcement"
 hostmakedepends="python3-setuptools"
 depends="python3-httplib2 python3-google-auth python3-google-auth-httplib2
- python3-google-api-core python3-uritemplate python3-six"
-# FIXME: 6 unittests are failing, cannot use py test to override
-checkdepends="python3-mock $depends python3-oauth2client"
+ python3-google-api-core python3-uritemplate"
+checkdepends="${depends} python3-Django python3-parameterized python3-openssl
+ python3-oauth2client python3-pytest-xdist"
 short_desc="Google API client library for Python3"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="Apache-2.0"
-homepage="https://github.com/googleapis/google-api-python-client"
+homepage="https://googleapis.github.io/google-api-python-client/"
+changelog="https://raw.githubusercontent.com/googleapis/google-api-python-client/main/CHANGELOG.md"
 distfiles="${PYPI_SITE}/g/google-api-python-client/google-api-python-client-${version}.tar.gz"
-checksum=48686cceb0dc8cb8b9ee1920ad7c0d9b499ef4fca0ca51c1c69f1e462a628011
-
-post_patch() {
-	# unittest2 is python2 thing.
-	vsed -i -e '/^import unittest2 as unittest/s/.*/import unittest/' \
-		tests/test_*.py
-}
+checksum=262de094d5a30d337f59e66581019fed45b698c078397ac48dd323c0968236e7

  parent reply	other threads:[~2022-12-17 14:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-26 16:20 [PR PATCH] " icp1994
2022-11-26 16:27 ` [PR PATCH] [Updated] " icp1994
2022-12-10 10:59 ` muzaffer015
2022-12-12 16:57 ` [PR PATCH] [Updated] " icp1994
2022-12-12 17:05 ` icp1994
2022-12-16 18:39 ` [PR REVIEW] " paper42
2022-12-17 13:27 ` [PR PATCH] [Updated] " icp1994
2022-12-17 14:34 ` icp1994 [this message]
2022-12-17 14:41 ` icp1994
2022-12-18 11:02 ` [PR PATCH] [Merged]: python3-google-api-python-client: update to 2.70.0 paper42

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=20221217143410.ZCO7618evGHUPtGh3ayF3c0A6BU01ExK7l8idGsAg40@z \
    --to=icp1994@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /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.
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 NNTP newsgroup(s).