absl-py breaking changes
absl-py 2.5.0 (July 3, 2026) is its newest release with breaking changes, 35 of them. The first: Signature changed absl.logging.ABSLHandler.close. Every breaking API change we have recorded in absl-py on PyPI: 55 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.5.1, released October 9, 2026. Source repository
Its 2.0.0 release drops Python 3.6. Python end of life dates.
absl-py 2.5.0 breaking changes
- Signature changed
absl.logging.ABSLHandler.close
Was def close(self) -> None; now def close(self). pypi.org - Signature changed
absl.logging.ABSLHandler.emit
Was def emit(self, record: logging.LogRecord) -> None; now def emit(self, record). pypi.org - Signature changed
absl.logging.ABSLHandler.flush
Was def flush(self) -> None; now def flush(self). pypi.org - Signature changed
absl.logging.ABSLHandler.format
Was def format(self, record: logging.LogRecord) -> str; now def format(self, record). pypi.org - Signature changed
absl.logging.ABSLHandler.handle
Was def handle(self, record: logging.LogRecord) -> bool; now def handle(self, record). pypi.org - Signature changed
absl.logging.ABSLHandler.python_handler
Was python_handler: PythonHandler; now python_handler: PythonHandler[Any]. pypi.org - Signature changed
absl.logging.ABSLHandler.setFormatter
Was def setFormatter(self, fmt) -> None; now def setFormatter(self, fmt). pypi.org - Signature changed
absl.logging.ABSLLogger.critical
Was def critical(self, msg: Any, *args: Any, **kwargs: Any) -> None; now def critical(self, msg, *args, **kwargs). pypi.org - Signature changed
absl.logging.ABSLLogger.debug
Was def debug(self, msg: Any, *args: Any, **kwargs: Any) -> None; now def debug(self, msg, *args, **kwargs). pypi.org - Signature changed
absl.logging.ABSLLogger.error
Was def error(self, msg: Any, *args: Any, **kwargs: Any) -> None; now def error(self, msg, *args, **kwargs). pypi.org - Signature changed
absl.logging.ABSLLogger.fatal
Was def fatal(self, msg: Any, *args: Any, **kwargs: Any) -> NoReturn; now def fatal(self, msg: object, *args: object, **kwargs) -> NoReturn. pypi.org - Signature changed
absl.logging.ABSLLogger.findCaller
Was def findCaller(self, stack_info: bool = False, stacklevel: int = 1) -> tuple[str, int, str, str | None]; now def findCaller(self, stack_info=False, stacklevel=1). pypi.org - Signature changed
absl.logging.ABSLLogger.handle
Was def handle(self, record: logging.LogRecord) -> None; now def handle(self, record). pypi.org - Signature changed
absl.logging.ABSLLogger.info
Was def info(self, msg: Any, *args: Any, **kwargs: Any) -> None; now def info(self, msg, *args, **kwargs). pypi.org - Signature changed
absl.logging.ABSLLogger.log
Was def log(self, level: int, msg: Any, *args: Any, **kwargs: Any) -> None; now def log(self, level, msg, *args, **kwargs). pypi.org - Signature changed
absl.logging.ABSLLogger.warn
Was def warn(self, msg: Any, *args: Any, **kwargs: Any) -> None; now def warn(self, msg, *args, **kwargs). pypi.org - Signature changed
absl.logging.ABSLLogger.warning
Was def warning(self, msg: Any, *args: Any, **kwargs: Any) -> None; now def warning(self, msg, *args, **kwargs). pypi.org - Signature changed
absl.logging.debug
Was def debug(msg: Any, *args: Any, **kwargs: Any) -> None; now def debug(msg: object, *args: object, **kwargs) -> None. pypi.org - Signature changed
absl.logging.error
Was def error(msg: Any, *args: Any, **kwargs: Any) -> None; now def error(msg: object, *args: object, **kwargs) -> None. pypi.org - Signature changed
absl.logging.exception
Was def exception(msg: Any, *args: Any, exc_info=True, **kwargs: Any) -> None; now def exception(msg: object, *args: object, exc_info: _ExcInfo = True, **kwargs) -> None. pypi.org - Signature changed
absl.logging.fatal
Was def fatal(msg: Any, *args: Any, **kwargs: Any) -> NoReturn; now def fatal(msg: object, *args: object, **kwargs) -> NoReturn. pypi.org - Signature changed
absl.logging.info
Was def info(msg: Any, *args: Any, **kwargs: Any) -> None; now def info(msg: object, *args: object, **kwargs) -> None. pypi.org - Signature changed
absl.logging.log
Was def log(level: int, msg: Any, *args: Any, **kwargs: Any) -> None; now def log(level: int, msg: object, *args: object, **kwargs) -> None. pypi.org - Signature changed
absl.logging.log_every_n
Was def log_every_n(level: int, msg: Any, n: int, *args: Any, use_call_stack: bool = False, **kwargs: Any) -> None; now def log_every_n(level: int, msg: object, n: int, *args: object, use_call_stack: bool = False, **kwargs) -> None. pypi.org - Signature changed
absl.logging.log_every_n_seconds
Was def log_every_n_seconds(level: int, msg: Any, n_seconds: float, *args: Any, use_call_stack: bool = False, **kwargs: Any) -> None; now def log_every_n_seconds(level: int, msg: object, n_seconds: float, *args: object, use_call_stack... pypi.org - Signature changed
absl.logging.log_first_n
Was def log_first_n(level: int, msg: Any, n: int, *args: Any, use_call_stack: bool = False, **kwargs: Any) -> None; now def log_first_n(level: int, msg: object, n: int, *args: object, use_call_stack: bool = False, **kwargs) -> None. pypi.org - Signature changed
absl.logging.log_if
Was def log_if(level: int, msg: Any, condition: Any, *args: Any, **kwargs: Any) -> None; now def log_if(level: int, msg: object, condition: object, *args: object, **kwargs) -> None. pypi.org - Signature changed
absl.logging.PythonFormatter.format
Was def format(self, record: logging.LogRecord) -> str; now def format(self, record). pypi.org - Signature changed
absl.logging.PythonHandler.close
Was def close(self) -> None; now def close(self). pypi.org - Signature changed
absl.logging.PythonHandler.emit
Was def emit(self, record: logging.LogRecord) -> None; now def emit(self, record). pypi.org - Signature changed
absl.logging.PythonHandler.flush
Was def flush(self) -> None; now def flush(self). pypi.org - Signature changed
absl.logging.vlog
Was def vlog(level: int, msg: Any, *args: Any, **kwargs: Any) -> None; now def vlog(level: int, msg: object, *args: object, **kwargs) -> None. pypi.org - Signature changed
absl.logging.warn
Was def warn(msg: Any, *args: Any, **kwargs: Any) -> None; now def warn(msg: object, *args: object, **kwargs) -> None. pypi.org - Signature changed
absl.logging.warning
Was def warning(msg: Any, *args: Any, **kwargs: Any) -> None; now def warning(msg: object, *args: object, **kwargs) -> None. pypi.org - Signature changed
absl.testing.parameterized.TestGeneratorMetaclass.__new__
Was def __new__(cls, class_name, bases, dct); now def __new__(mcs, class_name, bases, dct). pypi.org
absl-py 2.0.0 breaking changes
- Removed
absl-py no longer supports Python 3.6, which reached end-of-life; upgrade the Python runtime to keep using this release. github.com - Behavior changed
absltest.TestCase.assertSameStructure
assertSameStructure now compares structure leaves using the test case's equality functions registered with addTypeEqualityFunc. github.com - Behavior changed
absltest.TestCase.assertSequenceStartsWith
assertSequenceStartsWith now explicitly fails when passed a Mapping or Set object as the whole argument. github.com - Behavior changed
absltest.TestCase.enter_context
On Python 3.11+, enter_context calls are forwarded to unittest's enterContext or enterClassContext, and the private _cls_exit_stack and _exit_stack attributes are no longer defined. github.com - Behavior changed
DEFINE_enum
DEFINE_enum, DEFINE_multi_enum and EnumParser now raise errors when enum_values is a single string; pass a list instead. github.com - Behavior changed
DEFINE_multi_enum
DEFINE_multi_enum raises an error when enum_values is a single string; pass a list instead. github.com - Behavior changed
EnumParser
EnumParser now raises an error when enum_values is a single string, and stores enum_values as a list copy of the input. github.com - Signature changed
absl.logging.exception
Was def exception(msg, *args, **kwargs); now def exception(msg, *args, exc_info=True, **kwargs). pypi.org - Signature changed
absl.testing.absltest.TestCase.fail
The second argument of TestCase.fail is renamed from prefix to user_msg; callers passing prefix by keyword must update. pypi.org
absl-py 1.0.0 breaking changes
- Removed
absl-py no longer supports Python 2.7, 3.4 and 3.5. Users on those interpreters must stay on an older absl-py release or upgrade Python. github.com - Removed
absl.testing.absltest.enum
absl.testing.absltest.enum was removed in absl-py 1.0.0 pypi.org - Removed
absl.testing.absltest.TestCase.assertNotRegex
TestCase.assertNotRegex was removed in absl-py 1.0.0 pypi.org - Removed
absl.testing.absltest.TestCase.assertRaisesRegex
TestCase.assertRaisesRegex was removed in absl-py 1.0.0 pypi.org - Removed
absl.testing.absltest.TestCase.assertRegex
TestCase.assertRegex was removed in absl-py 1.0.0 pypi.org - Removed
absl.testing.absltest.TestCase.run
TestCase.run was removed in absl-py 1.0.0 pypi.org - Removed
absl.testing.absltest.TestCase.subTest
TestCase.subTest was removed in absl-py 1.0.0 pypi.org - Removed
absl.testing.absltest.unittest3_backport
absl.testing.absltest.unittest3_backport was removed in absl-py 1.0.0 pypi.org - Removed
absl.testing.xml_reporter.unittest3_backport
absl.testing.xml_reporter.unittest3_backport was removed in absl-py 1.0.0 pypi.org - Removed
absl.third_party
absl.third_party was removed in absl-py 1.0.0 pypi.org
And 1 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.