Commit Graph

149 Commits

Author SHA1 Message Date
Avasam
df499768cb setuptools & distutils: Add more recent MSVCCompiler from _msvccompiler (#12887) 2024-10-24 11:44:55 +02:00
Avasam
78e4e036c4 Add install_data in distutils-stubs from setuptools (#12889) 2024-10-24 11:39:08 +02:00
Avasam
de4842db26 Replace Any with Incomplete in distutils (#12842) 2024-10-18 17:26:08 +02:00
Avasam
81138321d9 distutils: Add some return types for setuptools to pass ANN201 (#12841) 2024-10-18 12:09:34 +02:00
Avasam
3b0ce50352 Add missing defaults to setuptools/_distutils (#12839) 2024-10-18 12:02:39 +02:00
github-actions[bot]
1993e251f7 [stubsabot] Bump setuptools to 75.2.* (#12829)
Release: https://pypi.org/pypi/setuptools/75.2.0
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/v75.1.1...v75.2.0

Stubsabot analysis of the diff between the two releases:
 - 0 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 2 files included in typeshed's stubs have been modified or renamed: `setuptools/build_meta.py`, `setuptools/dist.py`.
 - Total lines of Python code added: 103.
 - Total lines of Python code deleted: 41.
2024-10-16 19:58:28 -07:00
Max Muoto
407eeaa133 Correct types for setuptools.setup (#12791)
Co-authored-by: Avasam <samuel.06@hotmail.com>
2024-10-13 14:38:31 -07:00
github-actions[bot]
3266319a76 [stubsabot] Bump setuptools to 75.1.* (#12670)
Co-authored-by: stubsabot <>
2024-09-16 21:59:15 -04:00
Sebastian Rittau
94889897ca [setuptools] Bump to 75.0.* (#12668)
Co-authored-by: Avasam <samuel.06@hotmail.com>
2024-09-16 19:17:52 +02:00
Avasam
0784bf6bee distutils: add missing generated attributes (#12467) 2024-09-06 15:07:44 -07:00
Sebastian Rittau
346fef2137 [setuptools] Update to 74.1.* (#12614)
---------

Co-authored-by: Avasam <samuel.06@hotmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-05 10:45:52 -04:00
Avasam
f87041e118 distutils: expose Command.dry_run + make 0|1 attrs bool (#12607) 2024-08-30 18:32:54 +02:00
Avasam
661fe27658 Bump setuptools to 74.0.* (#12599) 2024-08-29 18:53:16 +02:00
Avasam
fa3ab94f47 Bump setuptools to 73.0.* (#12564) 2024-08-21 12:51:52 +02:00
Sebastian Rittau
b19d9670f9 Bump setuptools to 72.2.* (#12461)
Co-authored-by: Avasam <samuel.06@hotmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-08-20 14:30:08 -04:00
Avasam
45627d18dd Update incorrect or incomplete constants in distutils (#12536) 2024-08-17 20:51:42 +02:00
Max Muoto
37807d753a Use Generator instead of Iterator for 3rd-party context managers (#12481) 2024-08-12 14:26:18 +02:00
Avasam
a919d8dfe3 distutils & setuptools: all possible dynamic command method overloads (#12507) 2024-08-12 13:42:09 +02:00
sobolevn
6f248dfa37 Bump mypy to 1.11.1 (#12463) 2024-08-04 23:19:28 -07:00
Avasam
ac8720b99d Setuptools stubs update from merging upstream (#12400) 2024-07-25 16:46:22 +02:00
Avasam
2aeb777cde Replace bare Any in setuptools (#12406) 2024-07-25 13:38:07 +02:00
Avasam
0b1d35829b setuptools & distutils: ClassVar mutables (and tuples) (#12403) 2024-07-23 14:17:02 +02:00
Avasam
ef42f3b765 distutils: Type execute using TypeVarTuple (#12405) 2024-07-23 13:16:14 +01:00
Avasam
6ddef4333d Bump setuptools to 71.1.* and mark pkg_resources as obsolete (#12397) 2024-07-22 13:23:39 +02:00
Avasam
1b560bbf6a Bump setuptools to 71.0.* (#12381) 2024-07-21 13:09:27 +02:00
github-actions[bot]
9f24a1f523 [stubsabot] Bump setuptools to 70.3.* (#12308)
Release: https://pypi.org/pypi/setuptools/70.3.0
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/v70.2.0...v70.3.0

Stubsabot analysis of the diff between the two releases:
 - 0 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 1 file included in typeshed's stubs has been modified or renamed: `setuptools/_distutils/sysconfig.py`.
 - Total lines of Python code added: 35.
 - Total lines of Python code deleted: 2.

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

Note that you will need to close and re-open the PR in order to trigger CI

Co-authored-by: stubsabot <>
2024-07-10 02:26:59 +01:00
Avasam
45d162c9ee Bump setuptools to 70.2.* (#12261) 2024-07-03 12:59:08 +02:00
Avasam
a6bd781626 Update setuptools to v70.1.1 (#12215) 2024-06-26 08:17:03 +02:00
Sebastian Rittau
eff4ca189c [setuptools] Update to 71.1.* (#12176) 2024-06-24 18:38:59 -04:00
Avasam
c11fc20651 Small fix for pkg_resources StrPath (#12015) 2024-05-23 09:13:53 -07:00
Avasam
50cbca413c Make shutil.rmtree.onexc parameter optional (#12002) 2024-05-22 22:41:25 +02:00
Avasam
06efe457d4 Bump setuptools to 70.0 (#11994) 2024-05-22 17:21:17 +02:00
Avasam
a375953f63 distutils & setuptools: Relax path related params (#11948)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-05-20 23:41:20 -04:00
Avasam
003361c006 Make distutils.dist.Distribution.get_command_obj not return None by default (#11950) 2024-05-18 11:38:48 +02:00
Avasam
3e0269bc6c distutils & setuptools: Complete sub_commands ClassVar typing (#11951) 2024-05-18 11:36:49 +02:00
Avasam
c99adf4b85 distutils: improve boolean parameters with int defaults (#11928) 2024-05-17 08:33:18 +02:00
Avasam
ef42294f92 Avoid using new _typeshed protocol in pkg_resources for now (#11909) 2024-05-12 16:19:58 -04:00
Anderson Bravalheri
b42e3b2e89 Use protocols instead of importlib.abc.Loader/MetaPathFinder/PathEntryFinder (#11890) 2024-05-12 11:58:33 +02:00
Eric Traut
17f1c4628a Add precise values for enum members where possible (#11299)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
2024-04-22 15:10:59 +01:00
Sebastian Rittau
d3aa08188f Ensure that distutils and setuptools._distutils stay consistent (#11758) 2024-04-14 15:41:59 +02:00
Sebastian Rittau
3c678c997d Update setuptools to 69.5.* (#11756) 2024-04-14 15:30:37 +02:00
Alex Waygood
d436110d13 Add distutils as a top-level package included with types-setuptools (#10948) 2024-03-16 16:44:47 +00:00
Avasam
ff7caa30e2 setuptools&distutils: setup returns a Distribution (#11617)
`setup` returns a `Distribution`
2024-03-16 12:06:37 +00:00
Avasam
8e2ce00623 Bump setuptools to 69.2.* (#11603) 2024-03-14 22:04:34 -07:00
Avasam
63737acac6 pkg_resources: Make _InstallerType stricter and generic (#11527) 2024-03-09 14:37:10 -08:00
Shantanu
4d8ae17776 Bump mypy to 1.9, add to json.encoder, small fixups (#11549)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-03-09 14:25:00 -08:00
Avasam
c35b3bce4e Use strict pyright configs for pkg_resources (#11538) 2024-03-08 17:35:56 +01:00
Avasam
af84d2fbfe pkg_resources: Updates from upstream typing merge (#11455) 2024-03-08 15:23:55 +01:00
Avasam
52daae514a pkg_resources: Remove stray Anys and use more Self & NoReturn types (#11528) 2024-03-07 18:11:11 -08:00
Avasam
9e5bced2d1 pkg_resources: Remove type-only _Importer class (#11512) 2024-03-01 08:58:17 -08:00