Skip to content

Commit 76b370b

Browse files
committed
Remove 3.7 remnants in docs/metadata
1 parent 6fcb714 commit 76b370b

File tree

5 files changed

+4
-10
lines changed

5 files changed

+4
-10
lines changed

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Projects for which ``typeshed_client`` could be useful include:
1717
Installation
1818
------------
1919

20-
``typeshed_client`` works on Python 3.7 and higher. To install it, run
20+
``typeshed_client`` works on all supported versions of Python. To install it, run
2121
``python3 -m pip install typeshed_client``.
2222

2323
Finding stubs

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ exclude = [
5858
]
5959

6060
[tool.ruff]
61-
6261
line-length = 100
6362
target-version = "py38"
6463
preview = true

setup.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,12 @@ def find_bundled_files() -> Iterable[str]:
5555
"License :: OSI Approved :: MIT License",
5656
"Operating System :: OS Independent",
5757
"Programming Language :: Python",
58-
"Programming Language :: Python :: 3.7",
5958
"Programming Language :: Python :: 3.8",
6059
"Programming Language :: Python :: 3.9",
6160
"Programming Language :: Python :: 3.10",
6261
"Programming Language :: Python :: 3.11",
6362
"Programming Language :: Python :: 3.12",
6463
"Topic :: Software Development",
6564
],
66-
python_requires=">=3.7",
65+
python_requires=">=3.8",
6766
)

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
minversion=2.3.1
3-
envlist = py37,py38,py39,py310,py311,py312,black,mypy
3+
envlist = py38,py39,py310,py311,py312,black,mypy
44
isolated_build = True
55

66
[testenv]

typeshed_client/typeshed/typing.pyi

+1-5
Original file line numberDiff line numberDiff line change
@@ -280,11 +280,7 @@ if sys.version_info >= (3, 10):
280280

281281
class NewType:
282282
def __init__(self, name: str, tp: Any) -> None: ...
283-
if sys.version_info >= (3, 11):
284-
@staticmethod
285-
def __call__(__x: _T) -> _T: ...
286-
else:
287-
def __call__(self, x: _T) -> _T: ...
283+
def __call__(self, __x: _T) -> _T: ...
288284

289285
def __or__(self, other: Any) -> _SpecialForm: ...
290286
def __ror__(self, other: Any) -> _SpecialForm: ...

0 commit comments

Comments
 (0)