Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-mypy for openSUSE:Factory checked in at 2026-05-27 16:12:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mypy (Old) and /work/SRC/openSUSE:Factory/.python-mypy.new.1937 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mypy" Wed May 27 16:12:11 2026 rev:24 rq:1354984 version:2.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mypy/python-mypy.changes 2026-04-15 16:03:19.619931411 +0200 +++ /work/SRC/openSUSE:Factory/.python-mypy.new.1937/python-mypy.changes 2026-05-27 16:12:15.005290605 +0200 @@ -1,0 +2,90 @@ +Sun May 17 20:55:32 UTC 2026 - Dirk Müller <[email protected]> + +- update to 2.1.0: + * The new `librt.vecs` module provides an efficient growable + array type `vec` that is optimized for mypyc use. It provides + fast, packed arrays with integer and floating point + value types, which can be **several times faster** than + `list`, and tens of times faster + than `array.array` in code compiled using mypyc. It also + supports nested `vec` objects and + non-value-type items, such as ``vec[vec[str]]``. + * The new `librt.random` module provides fast pseudo-random + number generation that is optimized for code compiled using + mypyc. It can be 3x to 10x faster than the stdlib + `random` module in compiled code. + * Make compilation order with multiple files consistent (Piotr + * Fix crash on accessing `StopAsyncIteration` (Piotr Sawicki, + * Fix incremental compilation with `separate` flag (Vaggelis + * Fix crash on partial type with `--allow-redefinition` and + `global` declaration (Jukka Lehtosalo, PR 21428) + * Fix broken awaitable generator patching (Ivan Levkivskyi, PR + * Fix function call error message for small number of arguments + * Rely on typeshed stubs for `slice` typing (Ivan Levkivskyi, + * Improve negative narrowing for membership checks on tuples + * Narrow match captures based on previous cases + * Fix nondeterminism in overload resolution + * Respect file config comments for stale modules + * Fix JSON output mode for syntax errors in parallel mode + * Fix type variable with values as a supertype + * Add support for configuring `--num-workers` with an + environment variable + * Respect JSON output mode for syntax errors + * Analyze `TypedDict` decorators +- remove support-pathspec-1.1.0.patch (upstream) + +------------------------------------------------------------------- +Thu May 7 02:34:24 UTC 2026 - Steve Kowalik <[email protected]> + +- Update to 1.20.2: + * Rework narrowing logic for equality and identity + * Refactor equality and identity narrowing for clarity + * Add support for Python 3.14 t-strings (PEP 750) + * Add implicit module dependency if using t-string + * Add work-in-progress implementation of a new Python parser + * Skip redundant analysis pass when using the native parser + * Add t-string support to native parser + * Removed Flags --force-uppercase-builtins and --force-union-syntax + * Invalidate cache when --enable-incomplete-feature changes + * Add back support for warn_unused_configs + * Recover from corrupted fixed-format cache meta file + * Simpler/cleaner reveal_type() + * Use "parameter" instead of "argument" in overload error + * Use "parameter" instead of "argument" in unpacking error + * Use "type arguments" instead of "type parameters" for bare generics + * Update "arguments" to "parameters" + * Use "parameter" instead of "argument" in default value error messages + * Update error message for parameter overlap in TypedDict + * Correct "Duplicate argument" error messages + * Use standard formatting for note on unexpected keyword + * Fix edge cases in pretty formatting + * Add function definition notes for missing named argument errors + * Make overloaded constructors consistent in error messages + * Improve error message for invalid Python package + * Emit end line/column in JSON format for span tracking + * Wrap callable in union syntax + * Use WAL with SQLite cache and fix close + * Adjust SQLite journal mode + * Correctly aggregate narrowing information on parent expressions + * Fix regression related to generic callables + * Fix regression by avoiding widening types in some contexts + * Fix slicing in non-strict optional mode + * mypyc: Fix match statement semantics for "or" pattern + * mypyc: Fix issue with module dunder attributes + * Initial support for Python 3.15.0a8 + * Always disable sync in SQLite cache + * Temporarily skip few base64 tests + * Revert dict.__or__ typeshed change + * Fix narrowing for match case with variadic tuples + * Avoid narrowing type[T] in type calls + * Fix regression for catching empty tuple in except + * Fix reachability for frozenset and dict view narrowing + * Fix narrowing with chained comparison + * Avoid narrowing to unreachable at module level + * Allow dangerous identity comparisons to Any typed variables + * --warn-unused-config should not be a strict flag +- Drop patch support-pathspec-1.0.0.patch, merged upstream. +- Add patch support-pathspec-1.1.0.patch: + * Support changes required by pathspec 1.1.0+. + +------------------------------------------------------------------- Old: ---- mypy-1.19.1.tar.gz mypy.obsinfo support-pathspec-1.0.0.patch types_psutil-7.0.0.20250401.tar.gz types_setuptools-78.1.0.20250329.tar.gz New: ---- mypy-2.1.0.tar.gz types_psutil-7.0.0.20251001.tar.gz types_setuptools-80.9.0.20250822.tar.gz ----------(Old B)---------- Old: * --warn-unused-config should not be a strict flag - Drop patch support-pathspec-1.0.0.patch, merged upstream. - Add patch support-pathspec-1.1.0.patch: ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mypy.spec ++++++ --- /var/tmp/diff_new_pack.tAoQE1/_old 2026-05-27 16:12:19.377470510 +0200 +++ /var/tmp/diff_new_pack.tAoQE1/_new 2026-05-27 16:12:19.381470674 +0200 @@ -16,8 +16,9 @@ # -%define types_psutil_version 7.0.0.20250401 -%define types_setuptools_version 78.1.0.20250329 +%define types_psutil_version 7.0.0.20251001 +%define types_setuptools_version 80.9.0.20250822 +%define hatchling_version 1.18.0 %bcond_without test %if 0%{?suse_version} > 1500 %bcond_without libalternatives @@ -26,35 +27,37 @@ %endif %{?sle15_python_module_pythons} Name: python-mypy -Version: 1.19.1 +Version: 2.1.0 Release: 0 Summary: Optional static typing for Python License: MIT URL: https://www.mypy-lang.org/ Source0: https://files.pythonhosted.org/packages/source/m/mypy/mypy-%{version}.tar.gz -# Source0: mypy-%%{version}.tar.gz # License Source1: Apache-2.0. Only for the test suite, not packaged here. Source1: https://files.pythonhosted.org/packages/source/t/types_psutil/types_psutil-%{types_psutil_version}.tar.gz # License Source2: Apache-2.0. Only for the test suite, not packaged here. Source2: https://files.pythonhosted.org/packages/source/t/types_setuptools/types_setuptools-%{types_setuptools_version}.tar.gz Source99: python-mypy-rpmlintrc -# PATCH-FIX-UPSTREAM Based on gh#python/mypy#20533 -Patch0: support-pathspec-1.0.0.patch +BuildRequires: %{python_module ast-serialize >= 0.3.0} +BuildRequires: %{python_module base >= 3.10} BuildRequires: %{python_module exceptiongroup} -BuildRequires: %{python_module librt >= 0.6} +BuildRequires: %{python_module librt >= 0.11} BuildRequires: %{python_module mypy_extensions >= 1.0.0} BuildRequires: %{python_module pathspec >= 1.0.0} BuildRequires: %{python_module pip} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module setuptools >= 77.0.3} BuildRequires: %{python_module tomli >= 1.1.0} -BuildRequires: %{python_module typing_extensions >= 4.6.0} +BuildRequires: %{python_module typing_extensions >= 4.14.0} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-librt >= 0.6 +# Now requires sqlite3, so full-fat python +Requires: python +Requires: python-ast-serialize >= 0.3.0 +Requires: python-librt >= 0.11 Requires: python-mypy_extensions >= 1.0.0 Requires: python-pathspec >= 1.0.0 -Requires: python-typing_extensions >= 4.6.0 +Requires: python-typing_extensions >= 4.14.0 Requires: (python-tomli >= 1.1.0 if python-base < 3.11) Suggests: python-psutil >= 4.0 BuildArch: noarch @@ -151,16 +154,14 @@ # gh#python/mypy#11148 donttest+=" or testSubclassSpecialize or testMultiModuleSpecialize" fi -# the fake test_module is not in the modulepath without pytest-xdist -# or with pytest-xdist >= 2.3 -- https://github.com/python/mypy/issues/11019 -donttest+=" or teststubtest" # gh#python/mypy#15221 donttest+=" or testMathOps or testFloatOps" -# fails on Python 3.11.4, see gh#python/mypy#15446. Patch db5b5af1201fff03465b0684d16b6489a62a3d78 does not apply clean, better wait for a new upstream version +# Requires large number of wheels to be available donttest+=" or PEP561Suite" -# https://github.com/python/cpython/issues/146121 caused the tests to fail as described in https://github.com/python/mypy/issues/21120, upstream hotfix does not work here -donttest+=" or testAllBase64Features_librt" -%pytest -n auto -k "not (testallexcept ${donttest})" +# compilation errors +ignore="--ignore mypyc/test/test_run.py" +donttest+=" or test_lib_rt_c_files_compile_individually" +%pytest -n auto $ignore -k "not (testallexcept ${donttest})" %endif %pre ++++++ mypy-1.19.1.tar.gz -> mypy-2.1.0.tar.gz ++++++ ++++ 115677 lines of diff (skipped) ++++++ types_psutil-7.0.0.20250401.tar.gz -> types_psutil-7.0.0.20251001.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_psutil-7.0.0.20250401/CHANGELOG.md new/types_psutil-7.0.0.20251001/CHANGELOG.md --- old/types_psutil-7.0.0.20250401/CHANGELOG.md 2025-04-01 05:06:44.000000000 +0200 +++ new/types_psutil-7.0.0.20251001/CHANGELOG.md 2025-10-01 05:04:18.000000000 +0200 @@ -1,3 +1,28 @@ +## 7.0.0.20251001 (2025-10-01) + +[psutil] Add `cache_clear` to `psutil.process_iter` typing ([#14803](https://github.com/python/typeshed/pull/14803)) + +## 7.0.0.20250822 (2025-08-22) + +Add __slots__ to third-party packages using stubdefaulter ([#14619](https://github.com/python/typeshed/pull/14619)) + +Add missing defaults to third-party stubs ([#14617](https://github.com/python/typeshed/pull/14617)) + +## 7.0.0.20250801 (2025-08-01) + +Split `tool.stubtest.platforms` metadata key (#13746) + +Co-authored-by: Avasam <[email protected]> +Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> + +## 7.0.0.20250601 (2025-06-01) + +[psutil]: Add missing `__dir__` method to `psutil.Popen` (#14207) + +## 7.0.0.20250516 (2025-05-16) + +Replace `Incomplete | None = None` in third party stubs (#14063) + ## 7.0.0.20250401 (2025-04-01) Add `__all__` part 2 (#13719) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_psutil-7.0.0.20250401/PKG-INFO new/types_psutil-7.0.0.20251001/PKG-INFO --- old/types_psutil-7.0.0.20250401/PKG-INFO 2025-04-01 05:06:45.731213600 +0200 +++ new/types_psutil-7.0.0.20251001/PKG-INFO 2025-10-01 05:04:19.062167600 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.4 Name: types-psutil -Version: 7.0.0.20250401 +Version: 7.0.0.20251001 Summary: Typing stubs for psutil License-Expression: Apache-2.0 Project-URL: Homepage, https://github.com/python/typeshed @@ -17,14 +17,9 @@ ## Typing stubs for psutil -This is a [PEP 561](https://peps.python.org/pep-0561/) -type stub package for the [`psutil`](https://github.com/giampaolo/psutil) package. -It can be used by type-checking tools like -[mypy](https://github.com/python/mypy/), -[pyright](https://github.com/microsoft/pyright), -[pytype](https://github.com/google/pytype/), -[Pyre](https://pyre-check.org/), -PyCharm, etc. to check code that uses `psutil`. This version of +This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html) +for the [`psutil`](https://github.com/giampaolo/psutil) package. It can be used by type checkers +to check code that uses `psutil`. This version of `types-psutil` aims to provide accurate annotations for `psutil==7.0.*`. @@ -35,9 +30,9 @@ [`stubs/psutil`](https://github.com/python/typeshed/tree/main/stubs/psutil) directory. -This package was tested with -mypy 1.15.0, -pyright 1.1.398, -and pytype 2024.10.11. +This package was tested with the following type checkers: +* [mypy](https://github.com/python/mypy/) 1.18.1 +* [pyright](https://github.com/microsoft/pyright) 1.1.405 + It was generated from typeshed commit -[`bfd032156c59bbf851f62174014f24f4f89b96af`](https://github.com/python/typeshed/commit/bfd032156c59bbf851f62174014f24f4f89b96af). +[`91055c730ffcda6311654cf32d663858ece69bad`](https://github.com/python/typeshed/commit/91055c730ffcda6311654cf32d663858ece69bad). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_psutil-7.0.0.20250401/README.md new/types_psutil-7.0.0.20251001/README.md --- old/types_psutil-7.0.0.20250401/README.md 2025-04-01 05:06:44.000000000 +0200 +++ new/types_psutil-7.0.0.20251001/README.md 2025-10-01 05:04:18.000000000 +0200 @@ -1,13 +1,8 @@ ## Typing stubs for psutil -This is a [PEP 561](https://peps.python.org/pep-0561/) -type stub package for the [`psutil`](https://github.com/giampaolo/psutil) package. -It can be used by type-checking tools like -[mypy](https://github.com/python/mypy/), -[pyright](https://github.com/microsoft/pyright), -[pytype](https://github.com/google/pytype/), -[Pyre](https://pyre-check.org/), -PyCharm, etc. to check code that uses `psutil`. This version of +This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html) +for the [`psutil`](https://github.com/giampaolo/psutil) package. It can be used by type checkers +to check code that uses `psutil`. This version of `types-psutil` aims to provide accurate annotations for `psutil==7.0.*`. @@ -18,9 +13,9 @@ [`stubs/psutil`](https://github.com/python/typeshed/tree/main/stubs/psutil) directory. -This package was tested with -mypy 1.15.0, -pyright 1.1.398, -and pytype 2024.10.11. +This package was tested with the following type checkers: +* [mypy](https://github.com/python/mypy/) 1.18.1 +* [pyright](https://github.com/microsoft/pyright) 1.1.405 + It was generated from typeshed commit -[`bfd032156c59bbf851f62174014f24f4f89b96af`](https://github.com/python/typeshed/commit/bfd032156c59bbf851f62174014f24f4f89b96af). \ No newline at end of file +[`91055c730ffcda6311654cf32d663858ece69bad`](https://github.com/python/typeshed/commit/91055c730ffcda6311654cf32d663858ece69bad). \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_psutil-7.0.0.20250401/psutil-stubs/METADATA.toml new/types_psutil-7.0.0.20251001/psutil-stubs/METADATA.toml --- old/types_psutil-7.0.0.20250401/psutil-stubs/METADATA.toml 2025-04-01 05:06:44.000000000 +0200 +++ new/types_psutil-7.0.0.20251001/psutil-stubs/METADATA.toml 2025-10-01 05:04:18.000000000 +0200 @@ -2,4 +2,4 @@ upstream_repository = "https://github.com/giampaolo/psutil" [tool.stubtest] -platforms = ["darwin", "linux", "win32"] +ci_platforms = ["darwin", "linux", "win32"] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_psutil-7.0.0.20250401/psutil-stubs/__init__.pyi new/types_psutil-7.0.0.20251001/psutil-stubs/__init__.pyi --- old/types_psutil-7.0.0.20250401/psutil-stubs/__init__.pyi 2025-04-01 05:06:24.000000000 +0200 +++ new/types_psutil-7.0.0.20251001/psutil-stubs/__init__.pyi 2025-10-01 05:03:53.000000000 +0200 @@ -2,7 +2,7 @@ from _typeshed import Incomplete from collections.abc import Callable, Iterable, Iterator from contextlib import AbstractContextManager -from typing import Any, Literal, overload +from typing import Any, Literal, Protocol, overload, type_check_only from typing_extensions import Self, TypeAlias, deprecated from psutil._common import ( @@ -175,7 +175,7 @@ info: dict[str, Any] def oneshot(self) -> AbstractContextManager[None]: ... def as_dict( - self, attrs: list[str] | tuple[str, ...] | set[str] | frozenset[str] | None = None, ad_value: Incomplete | None = None + self, attrs: list[str] | tuple[str, ...] | set[str] | frozenset[str] | None = None, ad_value=None ) -> dict[str, Any]: ... def parent(self) -> Process | None: ... def parents(self) -> list[Process]: ... @@ -232,22 +232,30 @@ def __enter__(self) -> Self: ... def __exit__(self, *args: object, **kwargs: object) -> None: ... def __getattribute__(self, name: str) -> Any: ... + def __dir__(self) -> list[str]: ... + +@type_check_only +class _ProcessIterCallable(Protocol): + def __call__( + self, attrs: list[str] | tuple[str, ...] | set[str] | frozenset[str] | None = None, ad_value=None + ) -> Iterator[Process]: ... + def cache_clear(self) -> None: ... def pids() -> list[int]: ... def pid_exists(pid: int) -> bool: ... -def process_iter( - attrs: list[str] | tuple[str, ...] | set[str] | frozenset[str] | None = None, ad_value: Incomplete | None = None -) -> Iterator[Process]: ... + +process_iter: _ProcessIterCallable + def wait_procs( procs: Iterable[Process], timeout: float | None = None, callback: Callable[[Process], object] | None = None ) -> tuple[list[Process], list[Process]]: ... def cpu_count(logical: bool = True) -> int | None: ... @overload -def cpu_freq(percpu: Literal[False] = ...) -> scpufreq: ... +def cpu_freq(percpu: Literal[False] = False) -> scpufreq: ... @overload def cpu_freq(percpu: Literal[True]) -> list[scpufreq]: ... @overload -def cpu_times(percpu: Literal[False] = ...) -> scputimes: ... +def cpu_times(percpu: Literal[False] = False) -> scputimes: ... @overload def cpu_times(percpu: Literal[True]) -> list[scputimes]: ... @overload diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_psutil-7.0.0.20250401/psutil-stubs/_common.pyi new/types_psutil-7.0.0.20251001/psutil-stubs/_common.pyi --- old/types_psutil-7.0.0.20250401/psutil-stubs/_common.pyi 2025-04-01 05:06:24.000000000 +0200 +++ new/types_psutil-7.0.0.20251001/psutil-stubs/_common.pyi 2025-10-01 05:03:53.000000000 +0200 @@ -1,5 +1,5 @@ import enum -from _typeshed import Incomplete, StrOrBytesPath, SupportsWrite +from _typeshed import StrOrBytesPath, SupportsWrite from collections.abc import Callable from socket import AF_INET6 as AF_INET6, AddressFamily, SocketKind from typing import Any, Literal, NamedTuple, TypeVar, overload @@ -219,7 +219,7 @@ pid: Any name: Any msg: Any - def __init__(self, pid, name: Incomplete | None = None, msg: Incomplete | None = None) -> None: ... + def __init__(self, pid, name=None, msg=None) -> None: ... class ZombieProcess(NoSuchProcess): __module__: str @@ -227,23 +227,21 @@ ppid: Any name: Any msg: Any - def __init__( - self, pid, name: Incomplete | None = None, ppid: Incomplete | None = None, msg: Incomplete | None = None - ) -> None: ... + def __init__(self, pid, name=None, ppid=None, msg=None) -> None: ... class AccessDenied(Error): __module__: str pid: Any name: Any msg: Any - def __init__(self, pid: Incomplete | None = None, name: Incomplete | None = None, msg: Incomplete | None = None) -> None: ... + def __init__(self, pid=None, name=None, msg=None) -> None: ... class TimeoutExpired(Error): __module__: str seconds: Any pid: Any name: Any - def __init__(self, seconds, pid: Incomplete | None = None, name: Incomplete | None = None) -> None: ... + def __init__(self, seconds, pid=None, name=None) -> None: ... _Func = TypeVar("_Func", bound=Callable[..., Any]) @@ -269,7 +267,7 @@ reminder_keys: Any def __init__(self) -> None: ... def run(self, input_dict, name): ... - def cache_clear(self, name: Incomplete | None = None) -> None: ... + def cache_clear(self, name=None) -> None: ... def cache_info(self): ... def wrap_numbers(input_dict, name: str): ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_psutil-7.0.0.20250401/psutil-stubs/_psosx.pyi new/types_psutil-7.0.0.20251001/psutil-stubs/_psosx.pyi --- old/types_psutil-7.0.0.20250401/psutil-stubs/_psosx.pyi 2025-04-01 05:06:24.000000000 +0200 +++ new/types_psutil-7.0.0.20251001/psutil-stubs/_psosx.pyi 2025-10-01 05:03:53.000000000 +0200 @@ -61,13 +61,13 @@ disk_usage: Any disk_io_counters: Any -def disk_partitions(all: bool = ...): ... +def disk_partitions(all: bool = False): ... def sensors_battery(): ... net_io_counters: Any net_if_addrs: Any -def net_connections(kind: str = ...): ... +def net_connections(kind: str = "inet"): ... def net_if_stats(): ... def boot_time(): ... def users(): ... @@ -79,6 +79,7 @@ def wrap_exceptions(fun): ... class Process: + __slots__ = ["_cache", "_name", "_ppid", "pid"] pid: Any def __init__(self, pid) -> None: ... def oneshot_enter(self) -> None: ... @@ -99,9 +100,9 @@ def num_ctx_switches(self): ... def num_threads(self): ... def open_files(self): ... - def net_connections(self, kind: str = ...): ... + def net_connections(self, kind: str = "inet"): ... def num_fds(self): ... - def wait(self, timeout: Incomplete | None = ...): ... + def wait(self, timeout=None): ... def nice_get(self): ... def nice_set(self, value): ... def status(self): ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_psutil-7.0.0.20250401/psutil-stubs/_psposix.pyi new/types_psutil-7.0.0.20251001/psutil-stubs/_psposix.pyi --- old/types_psutil-7.0.0.20250401/psutil-stubs/_psposix.pyi 2025-04-01 05:06:24.000000000 +0200 +++ new/types_psutil-7.0.0.20251001/psutil-stubs/_psposix.pyi 2025-10-01 05:03:53.000000000 +0200 @@ -1,16 +1,5 @@ -from _typeshed import Incomplete - def pid_exists(pid): ... -def wait_pid( - pid, - timeout: Incomplete | None = None, - proc_name: Incomplete | None = None, - _waitpid=..., - _timer=..., - _min=..., - _sleep=..., - _pid_exists=..., -): ... +def wait_pid(pid, timeout=None, proc_name=None, _waitpid=..., _timer=..., _min=..., _sleep=..., _pid_exists=...): ... def disk_usage(path): ... def get_terminal_map(): ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_psutil-7.0.0.20250401/psutil-stubs/_pswindows.pyi new/types_psutil-7.0.0.20251001/psutil-stubs/_pswindows.pyi --- old/types_psutil-7.0.0.20250401/psutil-stubs/_pswindows.pyi 2025-04-01 05:06:24.000000000 +0200 +++ new/types_psutil-7.0.0.20251001/psutil-stubs/_pswindows.pyi 2025-10-01 05:03:53.000000000 +0200 @@ -158,7 +158,7 @@ ppid_map: Any def is_permission_err(exc): ... -def convert_oserror(exc, pid: Incomplete | None = None, name: Incomplete | None = None): ... +def convert_oserror(exc, pid=None, name=None): ... def wrap_exceptions(fun): ... def retry_error_partial_copy(fun): ... @@ -177,7 +177,7 @@ def memory_maps(self) -> None: ... def kill(self): ... def send_signal(self, sig) -> None: ... - def wait(self, timeout: Incomplete | None = None): ... + def wait(self, timeout=None): ... def username(self): ... def create_time(self, fast_only: bool = False): ... def num_threads(self): ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_psutil-7.0.0.20250401/pyproject.toml new/types_psutil-7.0.0.20251001/pyproject.toml --- old/types_psutil-7.0.0.20250401/pyproject.toml 2025-04-01 05:06:44.000000000 +0200 +++ new/types_psutil-7.0.0.20251001/pyproject.toml 2025-10-01 05:04:18.000000000 +0200 @@ -4,21 +4,16 @@ [project] name = "types-psutil" -version = "7.0.0.20250401" +version = "7.0.0.20251001" license = "Apache-2.0" license-files = ["LICENSE"] description = "Typing stubs for psutil" readme = { text = """\ ## Typing stubs for psutil -This is a [PEP 561](https://peps.python.org/pep-0561/) -type stub package for the [`psutil`](https://github.com/giampaolo/psutil) package. -It can be used by type-checking tools like -[mypy](https://github.com/python/mypy/), -[pyright](https://github.com/microsoft/pyright), -[pytype](https://github.com/google/pytype/), -[Pyre](https://pyre-check.org/), -PyCharm, etc. to check code that uses `psutil`. This version of +This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html) +for the [`psutil`](https://github.com/giampaolo/psutil) package. It can be used by type checkers +to check code that uses `psutil`. This version of `types-psutil` aims to provide accurate annotations for `psutil==7.0.*`. @@ -29,12 +24,12 @@ [`stubs/psutil`](https://github.com/python/typeshed/tree/main/stubs/psutil) directory. -This package was tested with -mypy 1.15.0, -pyright 1.1.398, -and pytype 2024.10.11. +This package was tested with the following type checkers: +* [mypy](https://github.com/python/mypy/) 1.18.1 +* [pyright](https://github.com/microsoft/pyright) 1.1.405 + It was generated from typeshed commit -[`bfd032156c59bbf851f62174014f24f4f89b96af`](https://github.com/python/typeshed/commit/bfd032156c59bbf851f62174014f24f4f89b96af). +[`91055c730ffcda6311654cf32d663858ece69bad`](https://github.com/python/typeshed/commit/91055c730ffcda6311654cf32d663858ece69bad). """, content-type = "text/markdown" } classifiers = [ "Programming Language :: Python :: 3", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_psutil-7.0.0.20250401/types_psutil.egg-info/PKG-INFO new/types_psutil-7.0.0.20251001/types_psutil.egg-info/PKG-INFO --- old/types_psutil-7.0.0.20250401/types_psutil.egg-info/PKG-INFO 2025-04-01 05:06:45.000000000 +0200 +++ new/types_psutil-7.0.0.20251001/types_psutil.egg-info/PKG-INFO 2025-10-01 05:04:19.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.4 Name: types-psutil -Version: 7.0.0.20250401 +Version: 7.0.0.20251001 Summary: Typing stubs for psutil License-Expression: Apache-2.0 Project-URL: Homepage, https://github.com/python/typeshed @@ -17,14 +17,9 @@ ## Typing stubs for psutil -This is a [PEP 561](https://peps.python.org/pep-0561/) -type stub package for the [`psutil`](https://github.com/giampaolo/psutil) package. -It can be used by type-checking tools like -[mypy](https://github.com/python/mypy/), -[pyright](https://github.com/microsoft/pyright), -[pytype](https://github.com/google/pytype/), -[Pyre](https://pyre-check.org/), -PyCharm, etc. to check code that uses `psutil`. This version of +This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html) +for the [`psutil`](https://github.com/giampaolo/psutil) package. It can be used by type checkers +to check code that uses `psutil`. This version of `types-psutil` aims to provide accurate annotations for `psutil==7.0.*`. @@ -35,9 +30,9 @@ [`stubs/psutil`](https://github.com/python/typeshed/tree/main/stubs/psutil) directory. -This package was tested with -mypy 1.15.0, -pyright 1.1.398, -and pytype 2024.10.11. +This package was tested with the following type checkers: +* [mypy](https://github.com/python/mypy/) 1.18.1 +* [pyright](https://github.com/microsoft/pyright) 1.1.405 + It was generated from typeshed commit -[`bfd032156c59bbf851f62174014f24f4f89b96af`](https://github.com/python/typeshed/commit/bfd032156c59bbf851f62174014f24f4f89b96af). +[`91055c730ffcda6311654cf32d663858ece69bad`](https://github.com/python/typeshed/commit/91055c730ffcda6311654cf32d663858ece69bad). ++++++ types_setuptools-78.1.0.20250329.tar.gz -> types_setuptools-80.9.0.20250822.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/CHANGELOG.md new/types_setuptools-80.9.0.20250822/CHANGELOG.md --- old/types_setuptools-78.1.0.20250329/CHANGELOG.md 2025-03-29 03:51:44.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/CHANGELOG.md 2025-08-22 05:02:05.000000000 +0200 @@ -1,3 +1,60 @@ +## 80.9.0.20250822 (2025-08-22) + +Add missing defaults to third-party stubs ([#14617](https://github.com/python/typeshed/pull/14617)) + +## 80.9.0.20250809 (2025-08-09) + +Mark stub-only private symbols as `@type_check_only` in third-party stubs (#14545) + +## 80.9.0.20250801 (2025-08-01) + +Split `tool.stubtest.platforms` metadata key (#13746) + +Co-authored-by: Avasam <[email protected]> +Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> + +## 80.9.0.20250529 (2025-05-29) + +Bump setuptools to 80.9.* (#14179) + +## 80.8.0.20250521 (2025-05-21) + +[stubsabot] Bump setuptools to 80.8.* (#14110) + +Co-authored-by: stubsabot <> + +## 80.7.0.20250516 (2025-05-16) + +Replace `Incomplete | None = None` in third party stubs (#14063) + +Bump setuptools to 80.7.* (#14069) + +--------- + +Co-authored-by: Sebastian Rittau <[email protected]> + +## 80.4.0.20250511 (2025-05-11) + +[stubsabot] Bump setuptools to 80.4.* (#13980) + +## 80.3.0.20250505 (2025-05-05) + +Bump setuptools to 80.3.* (#13938) + +## 80.1.0.20250503 (2025-05-03) + +Bump setuptools to 80.1.* (#13915) + +## 80.0.0.20250429 (2025-04-29) + +Bump setuptools to 80.0.* (#13898) + +## 79.0.0.20250422 (2025-04-22) + +[stubsabot] Bump setuptools to 79.0.* (#13860) + +Co-authored-by: stubsabot <> + ## 78.1.0.20250329 (2025-03-29) Update setuptools to 78.1.0 (#13734) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/PKG-INFO new/types_setuptools-80.9.0.20250822/PKG-INFO --- old/types_setuptools-78.1.0.20250329/PKG-INFO 2025-03-29 03:51:45.648417700 +0100 +++ new/types_setuptools-80.9.0.20250822/PKG-INFO 2025-08-22 05:02:06.352526200 +0200 @@ -1,43 +1,27 @@ Metadata-Version: 2.4 Name: types-setuptools -Version: 78.1.0.20250329 +Version: 80.9.0.20250822 Summary: Typing stubs for setuptools -Home-page: https://github.com/python/typeshed -License: Apache-2.0 +License-Expression: Apache-2.0 +Project-URL: Homepage, https://github.com/python/typeshed Project-URL: GitHub, https://github.com/python/typeshed Project-URL: Changes, https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/setuptools.md Project-URL: Issue tracker, https://github.com/python/typeshed/issues Project-URL: Chat, https://gitter.im/python/typing -Classifier: License :: OSI Approved :: Apache Software License Classifier: Programming Language :: Python :: 3 Classifier: Typing :: Stubs Only Requires-Python: >=3.9 Description-Content-Type: text/markdown License-File: LICENSE -Requires-Dist: setuptools -Dynamic: classifier -Dynamic: description -Dynamic: description-content-type -Dynamic: home-page -Dynamic: license Dynamic: license-file -Dynamic: project-url -Dynamic: requires-dist -Dynamic: requires-python -Dynamic: summary ## Typing stubs for setuptools -This is a [PEP 561](https://peps.python.org/pep-0561/) -type stub package for the [`setuptools`](https://github.com/pypa/setuptools) package. -It can be used by type-checking tools like -[mypy](https://github.com/python/mypy/), -[pyright](https://github.com/microsoft/pyright), -[pytype](https://github.com/google/pytype/), -[Pyre](https://pyre-check.org/), -PyCharm, etc. to check code that uses `setuptools`. This version of +This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html) +for the [`setuptools`](https://github.com/pypa/setuptools) package. It can be used by type checkers +to check code that uses `setuptools`. This version of `types-setuptools` aims to provide accurate annotations for -`setuptools==78.1.*`. +`setuptools==80.9.*`. Given that `pkg_resources` is typed since `setuptools >= 71.1`, it is no longer included with `types-setuptools`. @@ -48,9 +32,9 @@ [`stubs/setuptools`](https://github.com/python/typeshed/tree/main/stubs/setuptools) directory. -This package was tested with -mypy 1.15.0, -pyright 1.1.398, -and pytype 2024.10.11. +This package was tested with the following type checkers: +* [mypy](https://github.com/python/mypy/) 1.17.1 +* [pyright](https://github.com/microsoft/pyright) 1.1.404 + It was generated from typeshed commit -[`8c9451154e7f24b997892dc82bb4326531e165a6`](https://github.com/python/typeshed/commit/8c9451154e7f24b997892dc82bb4326531e165a6). +[`ca44e4c45dc40fb47602dc79a3145ba61879add8`](https://github.com/python/typeshed/commit/ca44e4c45dc40fb47602dc79a3145ba61879add8). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/README.md new/types_setuptools-80.9.0.20250822/README.md --- old/types_setuptools-78.1.0.20250329/README.md 2025-03-29 03:51:44.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/README.md 2025-08-22 05:02:05.000000000 +0200 @@ -1,15 +1,10 @@ ## Typing stubs for setuptools -This is a [PEP 561](https://peps.python.org/pep-0561/) -type stub package for the [`setuptools`](https://github.com/pypa/setuptools) package. -It can be used by type-checking tools like -[mypy](https://github.com/python/mypy/), -[pyright](https://github.com/microsoft/pyright), -[pytype](https://github.com/google/pytype/), -[Pyre](https://pyre-check.org/), -PyCharm, etc. to check code that uses `setuptools`. This version of +This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html) +for the [`setuptools`](https://github.com/pypa/setuptools) package. It can be used by type checkers +to check code that uses `setuptools`. This version of `types-setuptools` aims to provide accurate annotations for -`setuptools==78.1.*`. +`setuptools==80.9.*`. Given that `pkg_resources` is typed since `setuptools >= 71.1`, it is no longer included with `types-setuptools`. @@ -20,9 +15,9 @@ [`stubs/setuptools`](https://github.com/python/typeshed/tree/main/stubs/setuptools) directory. -This package was tested with -mypy 1.15.0, -pyright 1.1.398, -and pytype 2024.10.11. +This package was tested with the following type checkers: +* [mypy](https://github.com/python/mypy/) 1.17.1 +* [pyright](https://github.com/microsoft/pyright) 1.1.404 + It was generated from typeshed commit -[`8c9451154e7f24b997892dc82bb4326531e165a6`](https://github.com/python/typeshed/commit/8c9451154e7f24b997892dc82bb4326531e165a6). \ No newline at end of file +[`ca44e4c45dc40fb47602dc79a3145ba61879add8`](https://github.com/python/typeshed/commit/ca44e4c45dc40fb47602dc79a3145ba61879add8). \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/distutils-stubs/METADATA.toml new/types_setuptools-80.9.0.20250822/distutils-stubs/METADATA.toml --- old/types_setuptools-78.1.0.20250329/distutils-stubs/METADATA.toml 2025-03-29 03:51:44.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/distutils-stubs/METADATA.toml 2025-08-22 05:02:05.000000000 +0200 @@ -1,12 +1,11 @@ -version = "78.1.*" +version = "80.9.*" 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`. """ -requires = ["setuptools"] # For pkg_resources [tool.stubtest] # darwin is equivalent to linux for OS-specific methods -platforms = ["linux", "win32"] +ci_platforms = ["linux", "win32"] stubtest_requirements = ["tomli"] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/pyproject.toml new/types_setuptools-80.9.0.20250822/pyproject.toml --- old/types_setuptools-78.1.0.20250329/pyproject.toml 1970-01-01 01:00:00.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/pyproject.toml 2025-08-22 05:02:05.000000000 +0200 @@ -0,0 +1,52 @@ +[build-system] +build-backend = "setuptools.build_meta" +requires = ["setuptools>=77.0.3"] + +[project] +name = "types-setuptools" +version = "80.9.0.20250822" +license = "Apache-2.0" +license-files = ["LICENSE"] +description = "Typing stubs for setuptools" +readme = { text = """\ +## Typing stubs for setuptools + +This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html) +for the [`setuptools`](https://github.com/pypa/setuptools) package. It can be used by type checkers +to check code that uses `setuptools`. This version of +`types-setuptools` aims to provide accurate annotations for +`setuptools==80.9.*`. + +Given that `pkg_resources` is typed since `setuptools >= 71.1`, it is no longer included with `types-setuptools`. + +This package is part of the [typeshed project](https://github.com/python/typeshed). +All fixes for types and metadata should be contributed there. +See [the README](https://github.com/python/typeshed/blob/main/README.md) +for more details. The source for this package can be found in the +[`stubs/setuptools`](https://github.com/python/typeshed/tree/main/stubs/setuptools) +directory. + +This package was tested with the following type checkers: +* [mypy](https://github.com/python/mypy/) 1.17.1 +* [pyright](https://github.com/microsoft/pyright) 1.1.404 + +It was generated from typeshed commit +[`ca44e4c45dc40fb47602dc79a3145ba61879add8`](https://github.com/python/typeshed/commit/ca44e4c45dc40fb47602dc79a3145ba61879add8). +""", content-type = "text/markdown" } +classifiers = [ + "Programming Language :: Python :: 3", + "Typing :: Stubs Only", +] +requires-python = ">=3.9" +dependencies = [] + +[project.urls] +"Homepage" = "https://github.com/python/typeshed" +"GitHub" = "https://github.com/python/typeshed" +"Changes" = "https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/setuptools.md" +"Issue tracker" = "https://github.com/python/typeshed/issues" +"Chat" = "https://gitter.im/python/typing" + +[tool.setuptools] +packages = ['setuptools-stubs', 'distutils-stubs'] +include-package-data = false diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/setup.py new/types_setuptools-80.9.0.20250822/setup.py --- old/types_setuptools-78.1.0.20250329/setup.py 2025-03-29 03:51:44.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/setup.py 2025-08-22 05:02:05.000000000 +0200 @@ -1,58 +1,4 @@ -from setuptools import setup - -name = "types-setuptools" -description = "Typing stubs for setuptools" -long_description = ''' -## Typing stubs for setuptools - -This is a [PEP 561](https://peps.python.org/pep-0561/) -type stub package for the [`setuptools`](https://github.com/pypa/setuptools) package. -It can be used by type-checking tools like -[mypy](https://github.com/python/mypy/), -[pyright](https://github.com/microsoft/pyright), -[pytype](https://github.com/google/pytype/), -[Pyre](https://pyre-check.org/), -PyCharm, etc. to check code that uses `setuptools`. This version of -`types-setuptools` aims to provide accurate annotations for -`setuptools==78.1.*`. -Given that `pkg_resources` is typed since `setuptools >= 71.1`, it is no longer included with `types-setuptools`. - -This package is part of the [typeshed project](https://github.com/python/typeshed). -All fixes for types and metadata should be contributed there. -See [the README](https://github.com/python/typeshed/blob/main/README.md) -for more details. The source for this package can be found in the -[`stubs/setuptools`](https://github.com/python/typeshed/tree/main/stubs/setuptools) -directory. - -This package was tested with -mypy 1.15.0, -pyright 1.1.398, -and pytype 2024.10.11. -It was generated from typeshed commit -[`8c9451154e7f24b997892dc82bb4326531e165a6`](https://github.com/python/typeshed/commit/8c9451154e7f24b997892dc82bb4326531e165a6). -'''.lstrip() +from setuptools import setup -setup(name=name, - version="78.1.0.20250329", - description=description, - long_description=long_description, - long_description_content_type="text/markdown", - url="https://github.com/python/typeshed", - project_urls={ - "GitHub": "https://github.com/python/typeshed", - "Changes": "https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/setuptools.md", - "Issue tracker": "https://github.com/python/typeshed/issues", - "Chat": "https://gitter.im/python/typing", - }, - install_requires=['setuptools'], - packages=['distutils-stubs', 'setuptools-stubs'], - package_data={'distutils-stubs': ['__init__.pyi', '_modified.pyi', '_msvccompiler.pyi', 'archive_util.pyi', 'ccompiler.pyi', 'cmd.pyi', 'command/__init__.pyi', 'command/bdist.pyi', 'command/bdist_rpm.pyi', 'command/build.pyi', 'command/build_clib.pyi', 'command/build_ext.pyi', 'command/build_py.pyi', 'command/install.pyi', 'command/install_data.pyi', 'command/install_lib.pyi', 'command/install_scripts.pyi', 'command/sdist.pyi', 'compat/__init__.pyi', 'compilers/C/base.pyi', 'compilers/C/errors.pyi', 'compilers/C/msvc.pyi', 'compilers/C/unix.pyi', 'dep_util.pyi', 'dist.pyi', 'errors.pyi', 'extension.pyi', 'filelist.pyi', 'spawn.pyi', 'sysconfig.pyi', 'unixccompiler.pyi', 'util.pyi', 'METADATA.toml', 'py.typed'], 'setuptools-stubs': ['__init__.pyi', '_distutils/__init__.pyi', '_distutils/_modified.pyi', '_distutils/_msvccompiler.pyi', '_distutils/archive_util.pyi', '_distutils/ccompiler.pyi', '_distutils/cmd.pyi', '_distutils/command/__init__.pyi', '_distutils/command/bdist.pyi' , '_distutils/command/bdist_rpm.pyi', '_distutils/command/build.pyi', '_distutils/command/build_clib.pyi', '_distutils/command/build_ext.pyi', '_distutils/command/build_py.pyi', '_distutils/command/install.pyi', '_distutils/command/install_data.pyi', '_distutils/command/install_lib.pyi', '_distutils/command/install_scripts.pyi', '_distutils/command/sdist.pyi', '_distutils/compat/__init__.pyi', '_distutils/compilers/C/base.pyi', '_distutils/compilers/C/errors.pyi', '_distutils/compilers/C/msvc.pyi', '_distutils/compilers/C/unix.pyi', '_distutils/dep_util.pyi', '_distutils/dist.pyi', '_distutils/errors.pyi', '_distutils/extension.pyi', '_distutils/filelist.pyi', '_distutils/spawn.pyi', '_distutils/sysconfig.pyi', '_distutils/unixccompiler.pyi', '_distutils/util.pyi', 'archive_util.pyi', 'build_meta.pyi', 'command/__init__.pyi', 'command/alias.pyi', 'command/bdist_egg.pyi', 'command/bdist_rpm.pyi', 'command/bdist_wheel.pyi', 'command/build.pyi', 'command/build_clib.pyi', 'command/build _ext.pyi', 'command/build_py.pyi', 'command/develop.pyi', 'command/dist_info.pyi', 'command/easy_install.pyi', 'command/editable_wheel.pyi', 'command/egg_info.pyi', 'command/install.pyi', 'command/install_egg_info.pyi', 'command/install_lib.pyi', 'command/install_scripts.pyi', 'command/rotate.pyi', 'command/saveopts.pyi', 'command/sdist.pyi', 'command/setopt.pyi', 'command/test.pyi', 'config/__init__.pyi', 'config/expand.pyi', 'config/pyprojecttoml.pyi', 'config/setupcfg.pyi', 'depends.pyi', 'discovery.pyi', 'dist.pyi', 'errors.pyi', 'extension.pyi', 'glob.pyi', 'installer.pyi', 'launch.pyi', 'logging.pyi', 'modified.pyi', 'monkey.pyi', 'msvc.pyi', 'namespaces.pyi', 'package_index.pyi', 'sandbox.pyi', 'unicode_utils.pyi', 'version.pyi', 'warnings.pyi', 'wheel.pyi', 'windows_support.pyi', 'METADATA.toml', 'py.typed']}, - license="Apache-2.0", - python_requires=">=3.9", - classifiers=[ - "License :: OSI Approved :: Apache Software License", - "Programming Language :: Python :: 3", - "Typing :: Stubs Only", - ] -) +setup(package_data={'setuptools-stubs': ['__init__.pyi', '_distutils/__init__.pyi', '_distutils/_modified.pyi', '_distutils/_msvccompiler.pyi', '_distutils/archive_util.pyi', '_distutils/ccompiler.pyi', '_distutils/cmd.pyi', '_distutils/command/__init__.pyi', '_distutils/command/bdist.pyi', '_distutils/command/bdist_rpm.pyi', '_distutils/command/build.pyi', '_distutils/command/build_clib.pyi', '_distutils/command/build_ext.pyi', '_distutils/command/build_py.pyi', '_distutils/command/install.pyi', '_distutils/command/install_data.pyi', '_distutils/command/install_lib.pyi', '_distutils/command/install_scripts.pyi', '_distutils/command/sdist.pyi', '_distutils/compat/__init__.pyi', '_distutils/compilers/C/base.pyi', '_distutils/compilers/C/errors.pyi', '_distutils/compilers/C/msvc.pyi', '_distutils/compilers/C/unix.pyi', '_distutils/dep_util.pyi', '_distutils/dist.pyi', '_distutils/errors.pyi', '_distutils/extension.pyi', '_distutils/filelist.pyi', '_distutils/spawn.pyi', '_distutils/sy sconfig.pyi', '_distutils/unixccompiler.pyi', '_distutils/util.pyi', 'archive_util.pyi', 'build_meta.pyi', 'command/__init__.pyi', 'command/alias.pyi', 'command/bdist_egg.pyi', 'command/bdist_rpm.pyi', 'command/bdist_wheel.pyi', 'command/build.pyi', 'command/build_clib.pyi', 'command/build_ext.pyi', 'command/build_py.pyi', 'command/develop.pyi', 'command/dist_info.pyi', 'command/easy_install.pyi', 'command/editable_wheel.pyi', 'command/egg_info.pyi', 'command/install.pyi', 'command/install_egg_info.pyi', 'command/install_lib.pyi', 'command/install_scripts.pyi', 'command/rotate.pyi', 'command/saveopts.pyi', 'command/sdist.pyi', 'command/setopt.pyi', 'command/test.pyi', 'config/__init__.pyi', 'config/expand.pyi', 'config/pyprojecttoml.pyi', 'config/setupcfg.pyi', 'depends.pyi', 'discovery.pyi', 'dist.pyi', 'errors.pyi', 'extension.pyi', 'glob.pyi', 'installer.pyi', 'launch.pyi', 'logging.pyi', 'modified.pyi', 'monkey.pyi', 'msvc.pyi', 'namespaces.pyi', 'unicode_utils.pyi', 'version.py i', 'warnings.pyi', 'wheel.pyi', 'windows_support.pyi', 'METADATA.toml', 'py.typed'], 'distutils-stubs': ['__init__.pyi', '_modified.pyi', '_msvccompiler.pyi', 'archive_util.pyi', 'ccompiler.pyi', 'cmd.pyi', 'command/__init__.pyi', 'command/bdist.pyi', 'command/bdist_rpm.pyi', 'command/build.pyi', 'command/build_clib.pyi', 'command/build_ext.pyi', 'command/build_py.pyi', 'command/install.pyi', 'command/install_data.pyi', 'command/install_lib.pyi', 'command/install_scripts.pyi', 'command/sdist.pyi', 'compat/__init__.pyi', 'compilers/C/base.pyi', 'compilers/C/errors.pyi', 'compilers/C/msvc.pyi', 'compilers/C/unix.pyi', 'dep_util.pyi', 'dist.pyi', 'errors.pyi', 'extension.pyi', 'filelist.pyi', 'spawn.pyi', 'sysconfig.pyi', 'unixccompiler.pyi', 'util.pyi', 'METADATA.toml', 'py.typed']}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/setuptools-stubs/METADATA.toml new/types_setuptools-80.9.0.20250822/setuptools-stubs/METADATA.toml --- old/types_setuptools-78.1.0.20250329/setuptools-stubs/METADATA.toml 2025-03-29 03:51:44.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/setuptools-stubs/METADATA.toml 2025-08-22 05:02:05.000000000 +0200 @@ -1,12 +1,11 @@ -version = "78.1.*" +version = "80.9.*" 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`. """ -requires = ["setuptools"] # For pkg_resources [tool.stubtest] # darwin is equivalent to linux for OS-specific methods -platforms = ["linux", "win32"] +ci_platforms = ["linux", "win32"] stubtest_requirements = ["tomli"] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/setuptools-stubs/__init__.pyi new/types_setuptools-80.9.0.20250822/setuptools-stubs/__init__.pyi --- old/types_setuptools-78.1.0.20250329/setuptools-stubs/__init__.pyi 2025-03-29 03:51:24.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/setuptools-stubs/__init__.pyi 2025-08-22 05:01:42.000000000 +0200 @@ -109,7 +109,6 @@ distribution: Distribution # Any: Dynamic command subclass attributes def __init__(self, dist: Distribution, **kw: Any) -> None: ... - def ensure_string_list(self, option: str) -> None: ... # Note: Commands that setuptools doesn't re-expose are considered deprecated (they must be imported from distutils directly) # So we're not listing them here. This list comes directly from the setuptools/command folder. Minus the test command. @overload # type: ignore[override] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/setuptools-stubs/_distutils/dist.pyi new/types_setuptools-80.9.0.20250822/setuptools-stubs/_distutils/dist.pyi --- old/types_setuptools-78.1.0.20250329/setuptools-stubs/_distutils/dist.pyi 2025-03-29 03:51:24.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/setuptools-stubs/_distutils/dist.pyi 2025-08-22 05:01:42.000000000 +0200 @@ -96,9 +96,7 @@ command_obj: dict[str, Command] have_run: dict[str, bool] want_user_cfg: bool - def dump_option_dicts( - self, header: Incomplete | None = None, commands: Incomplete | None = None, indent: str = "" - ) -> None: ... + def dump_option_dicts(self, header=None, commands=None, indent: str = "") -> None: ... def find_config_files(self): ... commands: Incomplete def parse_command_line(self): ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/setuptools-stubs/_distutils/filelist.pyi new/types_setuptools-80.9.0.20250822/setuptools-stubs/_distutils/filelist.pyi --- old/types_setuptools-78.1.0.20250329/setuptools-stubs/_distutils/filelist.pyi 2025-03-29 03:51:24.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/setuptools-stubs/_distutils/filelist.pyi 2025-08-22 05:01:42.000000000 +0200 @@ -9,7 +9,7 @@ files: list[str] def __init__(self, warn: Unused = None, debug_print: Unused = None) -> None: ... def set_allfiles(self, allfiles: Iterable[str]) -> None: ... - def findall(self, dir: StrPath = ...) -> None: ... + def findall(self, dir: StrPath = ".") -> None: ... def debug_print(self, msg: object) -> None: ... def append(self, item: str) -> None: ... def extend(self, items: Iterable[str]) -> None: ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/setuptools-stubs/archive_util.pyi new/types_setuptools-80.9.0.20250822/setuptools-stubs/archive_util.pyi --- old/types_setuptools-78.1.0.20250329/setuptools-stubs/archive_util.pyi 2025-03-29 03:51:24.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/setuptools-stubs/archive_util.pyi 2025-08-22 05:01:42.000000000 +0200 @@ -16,7 +16,7 @@ class UnrecognizedFormat(DistutilsError): ... def default_filter(src, dst): ... -def unpack_archive(filename, extract_dir, progress_filter=..., drivers: Incomplete | None = None) -> None: ... +def unpack_archive(filename, extract_dir, progress_filter=..., drivers=None) -> None: ... def unpack_directory(filename, extract_dir, progress_filter=...) -> None: ... def unpack_zipfile(filename, extract_dir, progress_filter=...) -> None: ... def unpack_tarfile(filename, extract_dir, progress_filter=...): ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/setuptools-stubs/command/bdist_egg.pyi new/types_setuptools-80.9.0.20250822/setuptools-stubs/command/bdist_egg.pyi --- old/types_setuptools-78.1.0.20250329/setuptools-stubs/command/bdist_egg.pyi 2025-03-29 03:51:24.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/setuptools-stubs/command/bdist_egg.pyi 2025-08-22 05:01:42.000000000 +0200 @@ -17,7 +17,7 @@ user_options: ClassVar[list[tuple[str, str | None, str]]] boolean_options: ClassVar[list[str]] bdist_dir: Incomplete - plat_name: Incomplete + plat_name: str keep_temp: bool dist_dir: Incomplete skip_build: bool diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/setuptools-stubs/command/build_ext.pyi new/types_setuptools-80.9.0.20250822/setuptools-stubs/command/build_ext.pyi --- old/types_setuptools-78.1.0.20250329/setuptools-stubs/command/build_ext.pyi 2025-03-29 03:51:24.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/setuptools-stubs/command/build_ext.pyi 2025-08-22 05:01:42.000000000 +0200 @@ -9,7 +9,6 @@ use_stubs: bool libtype: str -def if_dl(s): ... def get_abi3_suffix(): ... class build_ext(_build_ext): @@ -39,14 +38,14 @@ self, objects, output_libname, - output_dir: Incomplete | None = None, - libraries: Incomplete | None = None, - library_dirs: Incomplete | None = None, - runtime_library_dirs: Incomplete | None = None, - export_symbols: Incomplete | None = None, + output_dir=None, + libraries=None, + library_dirs=None, + runtime_library_dirs=None, + export_symbols=None, debug: bool = False, - extra_preargs: Incomplete | None = None, - extra_postargs: Incomplete | None = None, - build_temp: Incomplete | None = None, - target_lang: Incomplete | None = None, + extra_preargs=None, + extra_postargs=None, + build_temp=None, + target_lang=None, ) -> None: ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/setuptools-stubs/command/develop.pyi new/types_setuptools-80.9.0.20250822/setuptools-stubs/command/develop.pyi --- old/types_setuptools-78.1.0.20250329/setuptools-stubs/command/develop.pyi 2025-03-29 03:51:24.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/setuptools-stubs/command/develop.pyi 2025-08-22 05:01:42.000000000 +0200 @@ -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): ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/setuptools-stubs/command/easy_install.pyi new/types_setuptools-80.9.0.20250822/setuptools-stubs/command/easy_install.pyi --- old/types_setuptools-78.1.0.20250329/setuptools-stubs/command/easy_install.pyi 2025-03-29 03:51:24.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/setuptools-stubs/command/easy_install.pyi 2025-08-22 05:01:42.000000000 +0200 @@ -1,151 +1,11 @@ -from _typeshed import Incomplete -from collections.abc import Iterable, Iterator -from typing import Any, ClassVar, Literal, NoReturn, TypedDict -from typing_extensions import Self +from abc import abstractmethod -from pkg_resources import Distribution, Environment -from setuptools.package_index import PackageIndex - -from .. import Command, SetuptoolsDeprecationWarning - -__all__ = ["PthDistributions", "easy_install", "extract_wininst_cfg", "get_exe_prefixes"] +from setuptools import Command class easy_install(Command): - description: str - command_consumes_arguments: bool - user_options: ClassVar[list[tuple[str, str | None, str]]] - boolean_options: ClassVar[list[str]] - negative_opt: ClassVar[dict[str, str]] - create_index: ClassVar[type[PackageIndex]] - user: bool - zip_ok: Incomplete - install_dir: Incomplete - index_url: Incomplete - find_links: Incomplete - build_directory: Incomplete - args: Incomplete - optimize: Incomplete - upgrade: Incomplete - editable: Incomplete - root: Incomplete - version: Incomplete - install_purelib: Incomplete - install_platlib: Incomplete - install_headers: Incomplete - install_lib: Incomplete - install_scripts: Incomplete - install_data: Incomplete - install_base: Incomplete - install_platbase: Incomplete - install_userbase: str | None - install_usersite: str | None - no_find_links: Incomplete - package_index: Incomplete - pth_file: Incomplete - site_dirs: Incomplete - installed_projects: Incomplete - verbose: bool | Literal[0, 1] + @abstractmethod def initialize_options(self) -> None: ... - def delete_blockers(self, blockers) -> None: ... - config_vars: dict[str, Any] - script_dir: Incomplete - all_site_dirs: list[str] - shadow_path: list[str] - local_index: Environment - outputs: list[str] + @abstractmethod def finalize_options(self) -> None: ... - def expand_basedirs(self) -> None: ... - def expand_dirs(self) -> None: ... - def run(self, show_deprecation: bool = True) -> None: ... - def pseudo_tempname(self): ... - def warn_deprecated_options(self) -> None: ... - def check_site_dir(self) -> None: ... - def cant_write_to_target(self) -> NoReturn: ... - def check_pth_processing(self): ... - def install_egg_scripts(self, dist) -> None: ... - def add_output(self, path) -> None: ... - def not_editable(self, spec) -> None: ... - def check_editable(self, spec) -> None: ... - def easy_install(self, spec, deps: bool = False) -> Distribution | None: ... - def install_item(self, spec, download, tmpdir, deps, install_needed: bool = False) -> Distribution | None: ... - def select_scheme(self, name) -> None: ... - def process_distribution(self, requirement, dist, deps: bool = True, *info) -> None: ... - def should_unzip(self, dist) -> bool: ... - def maybe_move(self, spec, dist_filename, setup_base): ... - def install_wrapper_scripts(self, dist) -> None: ... - def install_script(self, dist, script_name, script_text, dev_path: Incomplete | None = None) -> None: ... - def write_script(self, script_name, contents, mode: str = "t", blockers=()) -> None: ... - def install_eggs(self, spec, dist_filename, tmpdir) -> list[Distribution]: ... - def egg_distribution(self, egg_path): ... - def install_egg(self, egg_path, tmpdir): ... - def install_exe(self, dist_filename, tmpdir): ... - def exe_to_egg(self, dist_filename, egg_tmp) -> None: ... - 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 build_and_install(self, setup_script, setup_base): ... - def update_pth(self, dist) -> None: ... - def unpack_progress(self, src, dst): ... - def unpack_and_compile(self, egg_path, destination): ... - def byte_compile(self, to_compile) -> None: ... - def create_home_path(self) -> None: ... - INSTALL_SCHEMES: ClassVar[dict[str, dict[str, str]]] - DEFAULT_SCHEME: ClassVar[dict[str, str]] - -def extract_wininst_cfg(dist_filename): ... -def get_exe_prefixes(exe_filename): ... - -class PthDistributions(Environment): - dirty: bool - filename: Incomplete - sitedirs: list[str] - basedir: Incomplete - paths: list[str] - def __init__(self, filename, sitedirs=()) -> None: ... - def save(self) -> None: ... - def add(self, dist) -> None: ... - def remove(self, dist) -> None: ... - def make_relative(self, path): ... - -class RewritePthDistributions(PthDistributions): - prelude: str - postlude: str - -class _SplitArgs(TypedDict, total=False): - comments: bool - posix: bool - -class CommandSpec(list[str]): - options: list[str] - split_args: ClassVar[_SplitArgs] - @classmethod - def best(cls) -> type[CommandSpec]: ... - @classmethod - def from_param(cls, param: Self | str | Iterable[str] | None) -> Self: ... - @classmethod - def from_environment(cls) -> CommandSpec: ... - @classmethod - def from_string(cls, string: str) -> CommandSpec: ... - def install_options(self, script_text: str) -> None: ... - def as_header(self) -> str: ... - -class WindowsCommandSpec(CommandSpec): ... - -class ScriptWriter: - template: ClassVar[str] - command_spec_class: ClassVar[type[CommandSpec]] - @classmethod - def get_args(cls, dist, header: Incomplete | None = None) -> Iterator[tuple[str, str]]: ... - @classmethod - def best(cls) -> type[ScriptWriter]: ... - @classmethod - def get_header(cls, script_text: str = "", executable: str | CommandSpec | Iterable[str] | None = None) -> str: ... - -class WindowsScriptWriter(ScriptWriter): - command_spec_class: ClassVar[type[WindowsCommandSpec]] - @classmethod - def best(cls) -> type[WindowsScriptWriter]: ... - -class WindowsExecutableLauncherWriter(WindowsScriptWriter): ... -class EasyInstallDeprecationWarning(SetuptoolsDeprecationWarning): ... + @abstractmethod + def run(self) -> None: ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/setuptools-stubs/command/editable_wheel.pyi new/types_setuptools-80.9.0.20250822/setuptools-stubs/command/editable_wheel.pyi --- old/types_setuptools-78.1.0.20250329/setuptools-stubs/command/editable_wheel.pyi 2025-03-29 03:51:24.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/setuptools-stubs/command/editable_wheel.pyi 2025-08-22 05:01:42.000000000 +0200 @@ -77,4 +77,3 @@ class InformationOnly(SetuptoolsWarning): ... class LinksNotSupported(errors.FileError): ... -class _DebuggingTips(SetuptoolsWarning): ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/setuptools-stubs/command/install.pyi new/types_setuptools-80.9.0.20250822/setuptools-stubs/command/install.pyi --- old/types_setuptools-78.1.0.20250329/setuptools-stubs/command/install.pyi 2025-03-29 03:51:24.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/setuptools-stubs/command/install.pyi 2025-08-22 05:01:42.000000000 +0200 @@ -19,5 +19,3 @@ path_file: Incomplete extra_dirs: str def handle_extra_path(self): ... - def run(self): ... - def do_egg_install(self) -> None: ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/setuptools-stubs/config/pyprojecttoml.pyi new/types_setuptools-80.9.0.20250822/setuptools-stubs/config/pyprojecttoml.pyi --- old/types_setuptools-78.1.0.20250329/setuptools-stubs/config/pyprojecttoml.pyi 2025-03-29 03:51:24.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/setuptools-stubs/config/pyprojecttoml.pyi 2025-08-22 05:01:42.000000000 +0200 @@ -4,7 +4,6 @@ from typing_extensions import Self from ..dist import Distribution -from ..warnings import SetuptoolsWarning from . import expand def load_file(filepath: StrPath) -> dict[Incomplete, Incomplete]: ... @@ -45,6 +44,3 @@ def __exit__( self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: TracebackType | None ) -> None: ... - -class _BetaConfiguration(SetuptoolsWarning): ... -class _InvalidFile(SetuptoolsWarning): ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/setuptools-stubs/depends.pyi new/types_setuptools-80.9.0.20250822/setuptools-stubs/depends.pyi --- old/types_setuptools-78.1.0.20250329/setuptools-stubs/depends.pyi 2025-03-29 03:51:24.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/setuptools-stubs/depends.pyi 2025-08-22 05:01:42.000000000 +0200 @@ -1,4 +1,3 @@ -from _typeshed import Incomplete from typing import IO, Any, Literal, TypeVar _T = TypeVar("_T") @@ -10,22 +9,12 @@ ) -> tuple[IO[Any], str | None, tuple[str, Literal["", "r", "rb"], Literal[7, 6, 1, 2, 3, -1]]]: ... class Require: - def __init__( - self, - name, - requested_version, - module, - homepage: str = "", - attribute: Incomplete | None = None, - format: Incomplete | None = None, - ) -> None: ... + def __init__(self, name, requested_version, module, homepage: str = "", attribute=None, format=None) -> None: ... def full_name(self): ... def version_ok(self, version): ... - def get_version( - self, paths: Incomplete | None = None, default: _T | Literal["unknown"] = "unknown" - ) -> _T | Literal["unknown"] | None | Any: ... - def is_present(self, paths: Incomplete | None = None): ... - def is_current(self, paths: Incomplete | None = None): ... + def get_version(self, paths=None, default: _T | Literal["unknown"] = "unknown") -> _T | Literal["unknown"] | None | Any: ... + def is_present(self, paths=None): ... + def is_current(self, paths=None): ... -def get_module_constant(module, symbol, default: _T | int = -1, paths: Incomplete | None = None) -> _T | int | None | Any: ... +def get_module_constant(module, symbol, default: _T | int = -1, paths=None) -> _T | int | None | Any: ... def extract_constant(code, symbol, default: _T | int = -1) -> _T | int | None | Any: ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/setuptools-stubs/dist.pyi new/types_setuptools-80.9.0.20250822/setuptools-stubs/dist.pyi --- old/types_setuptools-78.1.0.20250329/setuptools-stubs/dist.pyi 2025-03-29 03:51:24.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/setuptools-stubs/dist.pyi 2025-08-22 05:01:42.000000000 +0200 @@ -1,5 +1,6 @@ from _typeshed import Incomplete, StrPath from collections.abc import Iterable, Iterator, MutableMapping +from importlib import metadata from typing import Literal, TypeVar, overload from . import Command, SetuptoolsDeprecationWarning @@ -39,7 +40,7 @@ setup_requires: list[str] def __init__(self, attrs: MutableMapping[str, Incomplete] | None = None) -> None: ... def parse_config_files(self, filenames: Iterable[StrPath] | None = None, ignore_option_errors: bool = False) -> None: ... - def fetch_build_eggs(self, requires: str | Iterable[str]): ... + def fetch_build_eggs(self, requires: str | Iterable[str]) -> list[metadata.Distribution]: ... def get_egg_cache_dir(self) -> str: ... def fetch_build_egg(self, req): ... # NOTE: Commands that setuptools doesn't re-expose are considered deprecated (they must be imported from distutils directly) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/setuptools-stubs/installer.pyi new/types_setuptools-80.9.0.20250822/setuptools-stubs/installer.pyi --- old/types_setuptools-78.1.0.20250329/setuptools-stubs/installer.pyi 2025-03-29 03:51:24.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/setuptools-stubs/installer.pyi 2025-08-22 05:01:42.000000000 +0200 @@ -1,2 +1,16 @@ -def fetch_build_egg(dist, req): ... -def strip_marker(req): ... +from importlib import metadata +from typing import Any +from typing_extensions import 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 +# But since this module is deprecated, we avoid declaring a dependency on packaging +def strip_marker(req) -> Any: ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/setuptools-stubs/package_index.pyi new/types_setuptools-80.9.0.20250822/setuptools-stubs/package_index.pyi --- old/types_setuptools-78.1.0.20250329/setuptools-stubs/package_index.pyi 2025-03-29 03:51:24.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/setuptools-stubs/package_index.pyi 1970-01-01 01:00:00.000000000 +0100 @@ -1,99 +0,0 @@ -import configparser -import urllib.request -from _typeshed import Incomplete -from collections.abc import Generator -from hashlib import _Hash -from re import Pattern -from typing import ClassVar -from typing_extensions import NamedTuple - -from pkg_resources import Distribution, Environment - -__all__ = ["PackageIndex", "distros_for_url", "parse_bdist_wininst", "interpret_distro_name"] - -def parse_bdist_wininst(name): ... -def distros_for_url(url, metadata: Incomplete | None = None) -> Generator[Distribution]: ... -def distros_for_location( - location, basename, metadata: Incomplete | None = None -) -> list[Distribution] | Generator[Distribution]: ... -def interpret_distro_name( - location, basename, metadata, py_version: Incomplete | None = None, precedence=1, platform: Incomplete | None = None -) -> Generator[Distribution]: ... - -class ContentChecker: - def feed(self, block) -> None: ... - def is_valid(self): ... - def report(self, reporter, template) -> None: ... - -class HashChecker(ContentChecker): - pattern: ClassVar[Pattern[str]] - hash_name: Incomplete - hash: _Hash - expected: Incomplete - def __init__(self, hash_name, expected) -> None: ... - @classmethod - def from_url(cls, url): ... - def feed(self, block) -> None: ... - def is_valid(self): ... - def report(self, reporter, template): ... - -class PackageIndex(Environment): - index_url: str - scanned_urls: dict[Incomplete, Incomplete] - fetched_urls: dict[Incomplete, Incomplete] - package_pages: dict[Incomplete, Incomplete] - allows: Incomplete - to_scan: list[Incomplete] - opener = urllib.request.urlopen - def __init__( - self, - index_url: str = "https://pypi.org/simple/", - hosts=("*",), - ca_bundle: Incomplete | None = None, - verify_ssl: bool = True, - *args, - **kw, - ) -> None: ... - def process_url(self, url, retrieve: bool = False) -> None: ... - def process_filename(self, fn, nested: bool = False) -> None: ... - def url_ok(self, url, fatal: bool = False): ... - def scan_egg_links(self, search_path) -> None: ... - def scan_egg_link(self, path, entry) -> None: ... - def process_index(self, url, page): ... - def need_version_info(self, url) -> None: ... - def scan_all(self, msg: Incomplete | None = None, *args) -> None: ... - def find_packages(self, requirement) -> None: ... - def obtain(self, requirement, installer: Incomplete | None = None): ... - def check_hash(self, checker, filename, tfp) -> None: ... - def add_find_links(self, urls) -> None: ... - def prescan(self) -> None: ... - def not_found_in_index(self, requirement) -> None: ... - def download(self, spec, tmpdir): ... - def fetch_distribution( - self, - requirement, - tmpdir, - force_scan: bool = False, - source: bool = False, - develop_ok: bool = False, - local_index: Incomplete | None = None, - ): ... - def fetch(self, requirement, tmpdir, force_scan: bool = False, source: bool = False): ... - def gen_setup(self, filename, fragment, tmpdir): ... - dl_blocksize: int - def reporthook(self, url, filename, blocknum, blksize, size) -> None: ... - def open_url(self, url, warning: Incomplete | None = None): ... - def scan_url(self, url) -> None: ... - def debug(self, msg, *args) -> None: ... - def info(self, msg, *args) -> None: ... - def warn(self, msg, *args) -> None: ... - -class Credential(NamedTuple): - username: str - password: str - -class PyPIConfig(configparser.RawConfigParser): - def __init__(self) -> None: ... - @property - def creds_by_repository(self): ... - def find_credential(self, url): ... diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/setuptools-stubs/sandbox.pyi new/types_setuptools-80.9.0.20250822/setuptools-stubs/sandbox.pyi --- old/types_setuptools-78.1.0.20250329/setuptools-stubs/sandbox.pyi 2025-03-29 03:51:24.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/setuptools-stubs/sandbox.pyi 1970-01-01 01:00:00.000000000 +0100 @@ -1,63 +0,0 @@ -import sys -from types import TracebackType -from typing import ClassVar -from typing_extensions import Self - -from ._distutils.errors import DistutilsError - -__all__ = ["AbstractSandbox", "DirectorySandbox", "SandboxViolation", "run_setup"] - -class UnpickleableException(Exception): - @staticmethod - def dump(type, exc): ... - -class ExceptionSaver: - def __enter__(self) -> Self: ... - def __exit__(self, type: type[BaseException] | None, exc: BaseException | None, tb: TracebackType | None) -> bool: ... - def resume(self) -> None: ... - -def run_setup(setup_script, args): ... - -class AbstractSandbox: - def __enter__(self) -> None: ... - def __exit__( - self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: TracebackType | None - ) -> None: ... - def run(self, func): ... - # Dynamically created - if sys.platform == "win32": - def startfile(self, path, *args, **kw): ... - else: - def chown(self, path, *args, **kw): ... - def chroot(self, path, *args, **kw): ... - def lchown(self, path, *args, **kw): ... - def mkfifo(self, path, *args, **kw): ... - def mknod(self, path, *args, **kw): ... - def pathconf(self, path, *args, **kw): ... - - def access(self, path, *args, **kw): ... - def chdir(self, path, *args, **kw): ... - def chmod(self, path, *args, **kw): ... - def getcwd(self, *args, **kw): ... - def link(self, src, dst, *args, **kw): ... - def listdir(self, path, *args, **kw): ... - def lstat(self, path, *args, **kw): ... - def mkdir(self, path, *args, **kw): ... - def open(self, path, *args, **kw): ... - def readlink(self, path, *args, **kw): ... - def remove(self, path, *args, **kw): ... - def rename(self, src, dst, *args, **kw): ... - def rmdir(self, path, *args, **kw): ... - def stat(self, path, *args, **kw): ... - def symlink(self, src, dst, *args, **kw): ... - def unlink(self, path, *args, **kw): ... - def utime(self, path, *args, **kw): ... - -class DirectorySandbox(AbstractSandbox): - write_ops: ClassVar[dict[str, None]] - def __init__(self, sandbox, exceptions=...) -> None: ... - def tmpnam(self) -> None: ... - def open(self, file, flags, mode: int = 511, *args, **kw): ... # type: ignore[override] - -class SandboxViolation(DistutilsError): - tmpl: str diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/types_setuptools.egg-info/PKG-INFO new/types_setuptools-80.9.0.20250822/types_setuptools.egg-info/PKG-INFO --- old/types_setuptools-78.1.0.20250329/types_setuptools.egg-info/PKG-INFO 2025-03-29 03:51:45.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/types_setuptools.egg-info/PKG-INFO 2025-08-22 05:02:06.000000000 +0200 @@ -1,43 +1,27 @@ Metadata-Version: 2.4 Name: types-setuptools -Version: 78.1.0.20250329 +Version: 80.9.0.20250822 Summary: Typing stubs for setuptools -Home-page: https://github.com/python/typeshed -License: Apache-2.0 +License-Expression: Apache-2.0 +Project-URL: Homepage, https://github.com/python/typeshed Project-URL: GitHub, https://github.com/python/typeshed Project-URL: Changes, https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/setuptools.md Project-URL: Issue tracker, https://github.com/python/typeshed/issues Project-URL: Chat, https://gitter.im/python/typing -Classifier: License :: OSI Approved :: Apache Software License Classifier: Programming Language :: Python :: 3 Classifier: Typing :: Stubs Only Requires-Python: >=3.9 Description-Content-Type: text/markdown License-File: LICENSE -Requires-Dist: setuptools -Dynamic: classifier -Dynamic: description -Dynamic: description-content-type -Dynamic: home-page -Dynamic: license Dynamic: license-file -Dynamic: project-url -Dynamic: requires-dist -Dynamic: requires-python -Dynamic: summary ## Typing stubs for setuptools -This is a [PEP 561](https://peps.python.org/pep-0561/) -type stub package for the [`setuptools`](https://github.com/pypa/setuptools) package. -It can be used by type-checking tools like -[mypy](https://github.com/python/mypy/), -[pyright](https://github.com/microsoft/pyright), -[pytype](https://github.com/google/pytype/), -[Pyre](https://pyre-check.org/), -PyCharm, etc. to check code that uses `setuptools`. This version of +This is a [type stub package](https://typing.python.org/en/latest/tutorials/external_libraries.html) +for the [`setuptools`](https://github.com/pypa/setuptools) package. It can be used by type checkers +to check code that uses `setuptools`. This version of `types-setuptools` aims to provide accurate annotations for -`setuptools==78.1.*`. +`setuptools==80.9.*`. Given that `pkg_resources` is typed since `setuptools >= 71.1`, it is no longer included with `types-setuptools`. @@ -48,9 +32,9 @@ [`stubs/setuptools`](https://github.com/python/typeshed/tree/main/stubs/setuptools) directory. -This package was tested with -mypy 1.15.0, -pyright 1.1.398, -and pytype 2024.10.11. +This package was tested with the following type checkers: +* [mypy](https://github.com/python/mypy/) 1.17.1 +* [pyright](https://github.com/microsoft/pyright) 1.1.404 + It was generated from typeshed commit -[`8c9451154e7f24b997892dc82bb4326531e165a6`](https://github.com/python/typeshed/commit/8c9451154e7f24b997892dc82bb4326531e165a6). +[`ca44e4c45dc40fb47602dc79a3145ba61879add8`](https://github.com/python/typeshed/commit/ca44e4c45dc40fb47602dc79a3145ba61879add8). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/types_setuptools.egg-info/SOURCES.txt new/types_setuptools-80.9.0.20250822/types_setuptools.egg-info/SOURCES.txt --- old/types_setuptools-78.1.0.20250329/types_setuptools.egg-info/SOURCES.txt 2025-03-29 03:51:45.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/types_setuptools.egg-info/SOURCES.txt 2025-08-22 05:02:06.000000000 +0200 @@ -2,6 +2,7 @@ LICENSE MANIFEST.in README.md +pyproject.toml setup.py distutils-stubs/METADATA.toml distutils-stubs/__init__.pyi @@ -54,9 +55,7 @@ setuptools-stubs/monkey.pyi setuptools-stubs/msvc.pyi setuptools-stubs/namespaces.pyi -setuptools-stubs/package_index.pyi setuptools-stubs/py.typed -setuptools-stubs/sandbox.pyi setuptools-stubs/unicode_utils.pyi setuptools-stubs/version.pyi setuptools-stubs/warnings.pyi @@ -124,5 +123,4 @@ types_setuptools.egg-info/PKG-INFO types_setuptools.egg-info/SOURCES.txt types_setuptools.egg-info/dependency_links.txt -types_setuptools.egg-info/requires.txt types_setuptools.egg-info/top_level.txt \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/types_setuptools-78.1.0.20250329/types_setuptools.egg-info/requires.txt new/types_setuptools-80.9.0.20250822/types_setuptools.egg-info/requires.txt --- old/types_setuptools-78.1.0.20250329/types_setuptools.egg-info/requires.txt 2025-03-29 03:51:45.000000000 +0100 +++ new/types_setuptools-80.9.0.20250822/types_setuptools.egg-info/requires.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -setuptools
