From cf1387d8a66caa200666fd0bf5438640653c9231 Mon Sep 17 00:00:00 2001 From: stubsabot <> Date: Wed, 21 Oct 2026 00:21:14 +0000 Subject: [PATCH] [stubsabot] Bump setuptools to 84.2.* Release: https://pypi.org/pypi/setuptools/84.2.1 Repository: https://github.com/pypa/setuptools Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/setuptools Changelog: https://setuptools.pypa.io/en/stable/history.html Diff: https://github.com/pypa/setuptools/compare/v84.0.0...v84.2.1 Stubsabot analysis of the diff between the two releases: - 4 public Python files have been added: `setuptools/_vendor/packaging/dependency_groups.py`, `setuptools/_vendor/packaging/direct_url.py`, `setuptools/_vendor/packaging/errors.py`, `setuptools/_vendor/packaging/ranges.py`. - 0 files included in typeshed's stubs have been deleted. - 5 files included in typeshed's stubs have been modified or renamed: `setuptools/archive_util.py`, `setuptools/command/bdist_wheel.py`, `setuptools/command/build_ext.py`, `setuptools/warnings.py`, `setuptools/wheel.py`. - Total lines of Python code added: 7604. - Total lines of Python code deleted: 889. If stubtest fails for this PR: - Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR) - Fix stubtest failures in another PR, then close this PR --- stubs/setuptools/METADATA.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stubs/setuptools/METADATA.toml b/stubs/setuptools/METADATA.toml index f7ba41591377..ccb7d69cfc7d 100644 --- a/stubs/setuptools/METADATA.toml +++ b/stubs/setuptools/METADATA.toml @@ -1,16 +1,18 @@ -version = "84.0.*" +version = "84.2.*" upstream-repository = "https://github.com/pypa/setuptools" extra-description = """\ Given that `pkg_resources` is typed since `setuptools >= 71.1`, \ it is no longer included with `types-setuptools`. """ + [tool.stubtest] # darwin is equivalent to linux for OS-specific methods ci-platforms = ["linux", "win32"] stubtest-dependencies = ["more_itertools", "tomli"] # Stubtest fails on trying to run mypy on the source files rather than our stubs + [mypy-tests.distutils1] module-name = "setuptools._distutils.compilers.C.*" values = { ignore_errors = true }