Skip to content

Bump setuptools to 80.0.* #13898

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stubs/setuptools/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "79.0.*"
version = "80.0.*"
upstream_repository = "https://github.com/pypa/setuptools"
extra_description = """\
Given that `pkg_resources` is typed since `setuptools >= 71.1`, \
Expand Down
40 changes: 15 additions & 25 deletions stubs/setuptools/setuptools/command/develop.pyi
Original file line number Diff line number Diff line change
@@ -1,34 +1,24 @@
from _typeshed import Incomplete
from typing import ClassVar
from typing_extensions import deprecated

from pkg_resources import Distribution
from setuptools import Command
from setuptools.warnings import SetuptoolsDeprecationWarning

from .. import namespaces
from .easy_install import easy_install

class develop(namespaces.DevelopInstaller, easy_install):
description: str
class develop(Command):
user_options: ClassVar[list[tuple[str, str | None, str]]]
boolean_options: ClassVar[list[str]]
command_consumes_arguments: bool
multi_version: bool
def run(self) -> None: ... # type: ignore[override]
uninstall: Incomplete
egg_path: Incomplete
setup_path: Incomplete
always_copy_from: str
install_dir: Incomplete
no_deps: bool
user: bool
prefix: Incomplete
index_url: Incomplete
def run(self) -> None: ...
@deprecated(
"develop command is deprecated. Please avoid running `setup.py` and `develop`. "
"Instead, use standards-based tools like pip or uv."
)
def initialize_options(self) -> None: ...
args: list[Incomplete]
egg_link: str
egg_base: Incomplete
dist: Distribution
def finalize_options(self) -> None: ...
def install_for_development(self) -> None: ...
def uninstall_link(self) -> None: ...
def install_egg_scripts(self, dist): ...
def install_wrapper_scripts(self, dist): ...

class VersionlessRequirement:
def __init__(self, dist) -> None: ...
def __getattr__(self, name: str): ...
def as_requirement(self): ...
class DevelopDeprecationWarning(SetuptoolsDeprecationWarning): ...
4 changes: 2 additions & 2 deletions stubs/setuptools/setuptools/command/easy_install.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class easy_install(Command):
def finalize_options(self) -> None: ...
def expand_basedirs(self) -> None: ...
def expand_dirs(self) -> None: ...
def run(self, show_deprecation: bool = True) -> None: ...
def run(self, show_deprecation: bool = True) -> NoReturn: ...
def pseudo_tempname(self): ...
def warn_deprecated_options(self) -> None: ...
def check_site_dir(self) -> None: ...
Expand All @@ -83,7 +83,7 @@ class easy_install(Command):
def install_wheel(self, wheel_path, tmpdir): ...
def installation_report(self, req, dist, what: str = "Installed") -> str: ...
def report_editable(self, spec, setup_script): ...
def run_setup(self, setup_script, setup_base, args) -> None: ...
def run_setup(self, setup_script, setup_base, args) -> NoReturn: ...
def build_and_install(self, setup_script, setup_base): ...
def update_pth(self, dist) -> None: ...
def unpack_progress(self, src, dst): ...
Expand Down
4 changes: 2 additions & 2 deletions stubs/setuptools/setuptools/command/install.pyi
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from _typeshed import Incomplete
from collections.abc import Callable
from typing import Any, ClassVar
from typing import Any, ClassVar, NoReturn

from setuptools.dist import Distribution

Expand All @@ -20,4 +20,4 @@ class install(orig.install):
extra_dirs: str
def handle_extra_path(self): ...
def run(self): ...
def do_egg_install(self) -> None: ...
def do_egg_install(self) -> NoReturn: ...
63 changes: 0 additions & 63 deletions stubs/setuptools/setuptools/sandbox.pyi

This file was deleted.

X