chore(deps): update dependency io_abseil_py to v2 #241
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.4.0
->v2.0.0
Release Notes
abseil/abseil-py
v2.0.0
Compare Source
New
Changed
absl-py
no longer supports Python 3.6. It has reached end-of-life for morethan a year now.
logging.exception
can now takeexc_info
as argument, withdefault value
True
. Prior to this change settingexc_info
would raiseKeyError
, this change fixes this behaviour.absltest.TestCase.enter_context
are forwarded to
unittest.TestCase.enterContext
(when called via instance)or
unittest.TestCase.enterClassContext
(when called via class) now. As aresult, on Python 3.11+, the private
_cls_exit_stack
attribute is notdefined on
absltest.TestCase
and_exit_stack
attribute is not defined onits instances.
absltest.TestCase.assertSameStructure()
now uses the test case'sequality functions (registered with
TestCase.addTypeEqualityFunc()
) forcomparing leaves of the structure.
abslTest.TestCase.fail()
now names its arguments(self, msg=None, user_msg=None)
, and not(self, msg=None, prefix=None)
,better reflecting the behavior and usage of the two message arguments.
DEFINE_enum
,DEFINE_multi_enum
, andEnumParser
now raise errors whenenum_values
is provided as a single string value. Additionally,EnumParser.enum_values
is now stored as a list copy of the providedenum_values
parameter.paramaterized.CoopTestCase()
to use Python 3 metaclassidioms. Most uses of this function continued working during the Python 3
migration still worked because a Python 2 compatibility
__metaclass__
variables also existed. Now pure Python 3 base classes without backwards
compatibility will work as intended.
absltest.TestCase.assertSequenceStartsWith
now explicitly failwhen passed a
Mapping
orSet
object as thewhole
argument.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.