Skip to content

Commit 7a85ddb

Browse files
committed
Add local workaround for Pytype issue
1 parent f073e55 commit 7a85ddb

File tree

4 files changed

+25
-10
lines changed

4 files changed

+25
-10
lines changed

MODULE.bazel.lock

Lines changed: 13 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dev/linux-requirements.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,10 +275,11 @@ tomlkit==0.11.0 \
275275
--hash=sha256:0f4050db66fd445b885778900ce4dd9aea8c90c4721141fde0d6ade893820ef1 \
276276
--hash=sha256:71ceb10c0eefd8b8f11fe34e8a51ad07812cb1dc3de23247425fbc9ddc47b9dd
277277
# via pylint
278-
typing-extensions==4.3.0 \
279-
--hash=sha256:25642c956049920a5aa49edcdd6ab1e06d7e5d467fc00e0506c44ac86fbfca02 \
280-
--hash=sha256:e6d2677a32f47fc7eb2795db1dd15c1f34eff616bcaf2cfb5e997f854fa1c4a6
278+
typing-extensions==4.12.2 ; sys_platform == "linux" or sys_platform == "darwin" \
279+
--hash=sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d \
280+
--hash=sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8
281281
# via
282+
# -r dev/requirements.in
282283
# astroid
283284
# libcst
284285
# pytype

dev/macos-requirements.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,10 +275,11 @@ tomlkit==0.11.0 \
275275
--hash=sha256:0f4050db66fd445b885778900ce4dd9aea8c90c4721141fde0d6ade893820ef1 \
276276
--hash=sha256:71ceb10c0eefd8b8f11fe34e8a51ad07812cb1dc3de23247425fbc9ddc47b9dd
277277
# via pylint
278-
typing-extensions==4.3.0 \
279-
--hash=sha256:25642c956049920a5aa49edcdd6ab1e06d7e5d467fc00e0506c44ac86fbfca02 \
280-
--hash=sha256:e6d2677a32f47fc7eb2795db1dd15c1f34eff616bcaf2cfb5e997f854fa1c4a6
278+
typing-extensions==4.12.2 ; sys_platform == "linux" or sys_platform == "darwin" \
279+
--hash=sha256:04e5ca0351e0f3f85c6853954072df659d0d13fac324d0072316b67d7794700d \
280+
--hash=sha256:1a7ead55c7e559dd4dee8856e3a88b41225abfe1ce8df57b7c13915fe121ffb8
281281
# via
282+
# -r dev/requirements.in
282283
# astroid
283284
# libcst
284285
# pytype

dev/requirements.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@ pylint == 3.3.3
1919
# Pytype isn’t supported on Windows,
2020
# cf. https://github.com/google/pytype/tree/2024.03.19#requirements
2121
pytype == 2024.3.19 ; sys_platform == 'linux' or sys_platform == 'darwin'
22+
23+
# Work around the issue described in https://github.com/google/pytype/pull/1793.
24+
# FIXME: Remove once https://github.com/google/pytype/pull/1793 is merged.
25+
typing-extensions >= 4.4.0 ; sys_platform == 'linux' or sys_platform == 'darwin'

0 commit comments

Comments
 (0)