diff setup.py @ 50751:b9eb65a1ec14 stable

extensions: address ast deprecations introduced in Python 3.12 Tests would fail with: .../mercurial/extensions.py:910: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead if isinstance(a, ast.Str): .../mercurial/extensions.py:912: DeprecationWarning: ast.Bytes is deprecated and will be removed in Python 3.14; use ast.Constant instead elif isinstance(a, ast.Bytes): .../mercurial/extensions.py:913: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead name = a.s
author Mads Kiilerich <mads@kiilerich.com>
date Tue, 27 Jun 2023 22:31:44 +0200
parents b1ac55606eb7
children 5dc7e1907e48 2c34c9b61a4f
line wrap: on
line diff