Skip to content

Commit 132b8e5

Browse files
authored
Update stubinfo for py.typed and removed packages (#12959)
python/typeshed#8042 python/typeshed#8043 python/typeshed#8044 python/typeshed#8045 python/typeshed#8046 python/typeshed#8040 Co-authored-by: hauntsaninja <>
1 parent ddbea69 commit 132b8e5

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

mypy/stubinfo.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ def is_legacy_bundled_package(prefix: str, py_version: int) -> bool:
2929
'bleach': StubInfo('types-bleach'),
3030
'boto': StubInfo('types-boto'),
3131
'cachetools': StubInfo('types-cachetools'),
32-
'certifi': StubInfo('types-certifi'),
33-
'characteristic': StubInfo('types-characteristic'),
3432
'chardet': StubInfo('types-chardet'),
3533
'click_spinner': StubInfo('types-click-spinner'),
3634
'concurrent': StubInfo('types-futures', py_version=2),
@@ -46,10 +44,7 @@ def is_legacy_bundled_package(prefix: str, py_version: int) -> bool:
4644
'emoji': StubInfo('types-emoji'),
4745
'enum': StubInfo('types-enum34', py_version=2),
4846
'fb303': StubInfo('types-fb303', py_version=2),
49-
'filelock': StubInfo('types-filelock', py_version=3),
5047
'first': StubInfo('types-first'),
51-
'freezegun': StubInfo('types-freezegun', py_version=3),
52-
'frozendict': StubInfo('types-frozendict', py_version=3),
5348
'geoip2': StubInfo('types-geoip2'),
5449
'gflags': StubInfo('types-python-gflags'),
5550
'google.protobuf': StubInfo('types-protobuf'),

mypy/test/teststubinfo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ def test_is_legacy_bundled_packages(self) -> None:
88
assert not is_legacy_bundled_package('foobar_asdf', 2)
99
assert not is_legacy_bundled_package('foobar_asdf', 3)
1010

11-
assert is_legacy_bundled_package('certifi', 2)
12-
assert is_legacy_bundled_package('certifi', 3)
11+
assert is_legacy_bundled_package('pycurl', 2)
12+
assert is_legacy_bundled_package('pycurl', 3)
1313

1414
assert is_legacy_bundled_package('scribe', 2)
1515
assert not is_legacy_bundled_package('scribe', 3)

0 commit comments

Comments
 (0)