Skip to content

Commit 34342a6

Browse files
oprypincopybara-github
authored andcommitted
Fix CI
PiperOrigin-RevId: 820617194
1 parent 9121672 commit 34342a6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build_scripts/build_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ def run_cmake(force_clean=False, log_output=False, debug_build=False):
153153
"-G",
154154
"Ninja",
155155
f"-DPython_ADDITIONAL_VERSIONS={current_config.py_version}",
156+
"-DCMAKE_POLICY_VERSION_MINIMUM=3.16",
156157
]
157158
if debug_build:
158159
cmd.append("-DCMAKE_BUILD_TYPE=Debug")

pytype/overlays/functools_overlay.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44

55
from collections.abc import Mapping, Sequence
66
import threading
7-
from typing import Any, Self, TYPE_CHECKING
7+
from typing import Any, TYPE_CHECKING
88

99
from pytype.abstract import abstract
1010
from pytype.abstract import function
1111
from pytype.abstract import mixin
1212
from pytype.overlays import overlay
1313
from pytype.overlays import special_builtins
1414
from pytype.typegraph import cfg
15+
from typing_extensions import Self
1516

1617
if TYPE_CHECKING:
1718
from pytype import context # pylint: disable=g-import-not-at-top

0 commit comments

Comments
 (0)