diff options
| author | robot-piglet <[email protected]> | 2024-03-07 13:39:40 +0300 | 
|---|---|---|
| committer | robot-piglet <[email protected]> | 2024-03-07 13:48:37 +0300 | 
| commit | a5bc35bb658487b44e707d555998bbec6cb14eab (patch) | |
| tree | 4df3ffcdd48c13abc65053c681eeb9ad05901f2b /contrib/python/google-auth/py3 | |
| parent | e49f2e6094ceb19570c44590cd0e5909a104b81d (diff) | |
Intermediate changes
Diffstat (limited to 'contrib/python/google-auth/py3')
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 c8e96994cf3..898701cac89 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 9bb0ccc2c59..674032d8496 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 9672a6c4127..7580efbee52 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 f842b02cac4..c25965d10b9 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 7863862fdcb..83e92e22ffd 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)  | 
