mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-08-02 22:18:28 +08:00
Update most test/lint dependencies (#15582)
This commit is contained in:
@@ -3,12 +3,10 @@ from typing_extensions import deprecated
|
||||
|
||||
from .. import Command
|
||||
|
||||
@deprecated(
|
||||
"""\
|
||||
@deprecated("""\
|
||||
The test command is disabled and references to it are deprecated. \
|
||||
Please remove any references to `setuptools.command.test` in all supported versions of the affected package.\
|
||||
"""
|
||||
)
|
||||
""")
|
||||
class test(Command):
|
||||
description: ClassVar[str]
|
||||
user_options: ClassVar[list[tuple[str, str, str]]]
|
||||
|
||||
@@ -2,13 +2,11 @@ from importlib import metadata
|
||||
from typing import Any
|
||||
from typing_extensions import deprecated
|
||||
|
||||
@deprecated(
|
||||
"""
|
||||
@deprecated("""
|
||||
`setuptools.installer` and `fetch_build_eggs` are deprecated.
|
||||
Requirements should be satisfied by a PEP 517 installer.
|
||||
If you are using pip, you can try `pip install --use-pep517`.
|
||||
"""
|
||||
)
|
||||
""")
|
||||
def fetch_build_egg(dist, req) -> metadata.Distribution | metadata.PathDistribution: ...
|
||||
|
||||
# Returns packaging.requirements.Requirement
|
||||
|
||||
Reference in New Issue
Block a user