14
0
Files
python-google-auth/no-python3.patch
Matej Cepl 714215fd61 Accepting request 1068671 from home:glaubitz:branches:devel:languages:python
- Update to 2.16.1
  * Add support for python 3.11 (#1212)
  * Remove 3PI config url validation (#1220)
  * Update the docs generator interpreter to unblock documentation build (#1218)
- from version 2.16.0
  * AwsCredentials should not call metadata server if security creds and region
    are retrievable through the environment variables (#1195)
  * Wrap all python built-in exceptions into library excpetions (#1191)
  * Allow get_project_id to take a request (#1203)
  * Make OAUTH2.0 client resistant to string type 'expires_in' responses from
    non-compliant services (#1208)
- Drop obsolete patches
  * ga_python-executable-name.patch
- Refresh patches for new version
  * no-python3.patch

OBS-URL: https://build.opensuse.org/request/show/1068671
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-google-auth?expand=0&rev=54
2023-03-03 09:27:50 +00:00

21 lines
623 B
Diff

diff -Nru google-auth-2.16.1.orig/tests/test__cloud_sdk.py google-auth-2.16.1/tests/test__cloud_sdk.py
--- google-auth-2.16.1.orig/tests/test__cloud_sdk.py 2023-03-02 12:24:06.384913745 +0100
+++ google-auth-2.16.1/tests/test__cloud_sdk.py 2023-03-02 12:24:46.165672899 +0100
@@ -16,6 +16,7 @@
import json
import os
import subprocess
+import sys
from unittest import mock
import pytest # type: ignore
@@ -73,7 +74,7 @@
def test__run_subprocess_ignore_stderr():
command = [
- "python",
+ sys.executable,
"-c",
"from __future__ import print_function;"
+ "import sys;"