aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/google-auth/py3
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2024-03-07 13:39:40 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2024-03-07 13:48:37 +0300
commita5bc35bb658487b44e707d555998bbec6cb14eab (patch)
tree4df3ffcdd48c13abc65053c681eeb9ad05901f2b /contrib/python/google-auth/py3
parente49f2e6094ceb19570c44590cd0e5909a104b81d (diff)
downloadydb-a5bc35bb658487b44e707d555998bbec6cb14eab.tar.gz
Intermediate changes
Diffstat (limited to 'contrib/python/google-auth/py3')
-rw-r--r--contrib/python/google-auth/py3/.dist-info/METADATA2
-rw-r--r--contrib/python/google-auth/py3/google/auth/_refresh_worker.py2
-rw-r--r--contrib/python/google-auth/py3/google/auth/version.py2
-rw-r--r--contrib/python/google-auth/py3/tests/test__refresh_worker.py3
-rw-r--r--contrib/python/google-auth/py3/ya.make2
5 files changed, 7 insertions, 4 deletions
diff --git a/contrib/python/google-auth/py3/.dist-info/METADATA b/contrib/python/google-auth/py3/.dist-info/METADATA
index c8e96994cf..898701cac8 100644
--- a/contrib/python/google-auth/py3/.dist-info/METADATA
+++ b/contrib/python/google-auth/py3/.dist-info/METADATA
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: google-auth
-Version: 2.28.0
+Version: 2.28.1
Summary: Google Authentication Library
Home-page: https://github.com/googleapis/google-auth-library-python
Author: Google Cloud Platform
diff --git a/contrib/python/google-auth/py3/google/auth/_refresh_worker.py b/contrib/python/google-auth/py3/google/auth/_refresh_worker.py
index 9bb0ccc2c5..674032d849 100644
--- a/contrib/python/google-auth/py3/google/auth/_refresh_worker.py
+++ b/contrib/python/google-auth/py3/google/auth/_refresh_worker.py
@@ -75,7 +75,7 @@ class RefreshThreadManager:
def __setstate__(self, state):
"""Pickle helper that deserializes the _lock attribute."""
- state["_key"] = threading.Lock()
+ state["_lock"] = threading.Lock()
self.__dict__.update(state)
diff --git a/contrib/python/google-auth/py3/google/auth/version.py b/contrib/python/google-auth/py3/google/auth/version.py
index 9672a6c412..7580efbee5 100644
--- a/contrib/python/google-auth/py3/google/auth/version.py
+++ b/contrib/python/google-auth/py3/google/auth/version.py
@@ -12,4 +12,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-__version__ = "2.28.0"
+__version__ = "2.28.1"
diff --git a/contrib/python/google-auth/py3/tests/test__refresh_worker.py b/contrib/python/google-auth/py3/tests/test__refresh_worker.py
index f842b02cac..c25965d10b 100644
--- a/contrib/python/google-auth/py3/tests/test__refresh_worker.py
+++ b/contrib/python/google-auth/py3/tests/test__refresh_worker.py
@@ -150,7 +150,10 @@ def test_refresh_dead_worker():
def test_pickle():
w = _refresh_worker.RefreshThreadManager()
+ # For some reason isinstance cannot interpret threading.Lock as a type.
+ assert w._lock is not None
pickled_manager = pickle.dumps(w)
manager = pickle.loads(pickled_manager)
assert isinstance(manager, _refresh_worker.RefreshThreadManager)
+ assert manager._lock is not None
diff --git a/contrib/python/google-auth/py3/ya.make b/contrib/python/google-auth/py3/ya.make
index 7863862fdc..83e92e22ff 100644
--- a/contrib/python/google-auth/py3/ya.make
+++ b/contrib/python/google-auth/py3/ya.make
@@ -2,7 +2,7 @@
PY3_LIBRARY()
-VERSION(2.28.0)
+VERSION(2.28.1)
LICENSE(Apache-2.0)