Commit Graph

108 Commits

Author SHA1 Message Date
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
Avasam
696333c28a pkg_resources: Types from assignments and aliases (#11511) 2024-03-01 08:48:32 -08:00
Avasam
185ef486ae Override pkg_resources.ZipProvider.loader type (#11514) 2024-03-01 07:09:51 -08:00
Avasam
3a06fc7c1a setuptools & pkg_resources: Complete VendorImporter class (#11495) 2024-02-28 22:48:26 -08:00
Avasam
5a9033720d pkg_resources: don't ignore "missing symbol from stub" in stubtest (#11494) 2024-02-28 22:31:19 -08:00
Avasam
c75ecf0bca Fix invalid noqa comments and poorly formatted type ignores (#11497) 2024-02-28 22:27:07 -08:00
Avasam
5e9589dd75 pkg_resources: Reorder names to be closer to implementation (#11493) 2024-02-28 17:20:21 -08:00
Avasam
3c08a97656 Improve typing of sysconfig.get_config_var(s) (#11454) 2024-02-22 09:52:41 -08:00
Kanishk Pachauri
aed633ec95 fix: typo on setuptools (#11432) 2024-02-16 18:59:24 +01:00
Avasam
48a0497b23 Bump setuptools to 69.1.* (#11423) 2024-02-14 19:58:21 +01:00
Viicos
8b9b0f4d03 Add missing long_description_content_type kwarg to setuptools (#11309) 2024-01-24 18:27:44 +01:00
Marcell Perger
673c3c37fe Fix types for setuptools._distutils.ccompiler.CCompiler.compile (#11275) 2024-01-14 14:04:38 +01:00
Sebastian Rittau
b6eaadcfe5 Update typing_extensions imports in third-party stubs (#11245) 2024-01-05 15:40:13 +01:00
Alex Waygood
e7c57b5a6d Bump setuptools to 69.0.* (#11069)
Co-authored-by: Avasam <samuel.06@hotmail.com>
2023-11-28 22:23:29 +00:00
Alex Waygood
1d2fe59e88 Third-party stubs: remove unused type: ignores (#11063) 2023-11-23 13:35:45 +00:00
Alex Waygood
516f665505 Bump flake8-pyi to 23.11.0 (#10997) 2023-11-08 16:01:24 +00:00
github-actions[bot]
06d83d48e7 [stubsabot] Bump setuptools to 68.2.* (#10674)
Release: https://pypi.org/pypi/setuptools/68.2.0
Homepage: https://github.com/pypa/setuptools
Repository: https://github.com/pypa/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v68.1.2...v68.2.0

Stubsabot analysis of the diff between the two releases:
 - 1 public Python file has been added: `setuptools/tests/test_core_metadata.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 7 files included in typeshed's stubs have been modified or renamed: `setuptools/__init__.py`, `setuptools/command/editable_wheel.py`, `setuptools/command/egg_info.py`, `setuptools/depends.py`, `setuptools/dist.py`, `setuptools/monkey.py`, `setuptools/namespaces.py`.
 - Total lines of Python code added: 1051.
 - Total lines of Python code deleted: 682.
2023-09-07 02:36:30 +01:00
Alex Waygood
a4f08bd07f setuptools: add various missing objects and annotations (#10639) 2023-08-30 13:46:20 -07:00
github-actions[bot]
8ca41166c0 [stubsabot] Bump setuptools to 68.1.* (#10588)
Release: https://pypi.org/pypi/setuptools/68.1.0
Homepage: https://github.com/pypa/setuptools
Repository: https://github.com/pypa/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v68.0.0...v68.1.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.
 - 42 files included in typeshed's stubs have been modified or renamed.
 - Total lines of Python code added: 3401.
 - Total lines of Python code deleted: 2264.
2023-08-16 01:22:21 +01:00
Sebastian Rittau
afe18e95a9 Add an upstream_repository field to METADATA.toml (#10487)
Closes: #10478
2023-07-20 16:45:41 +02:00
Alex Waygood
47fc836259 Add stubs for pkg_resources._vendor.packaging (#10423) 2023-07-15 13:56:21 -07:00
Shantanu
614aa1a2ba Bring back a few setuptools._distutils files (#10401) 2023-07-04 12:11:37 +02:00
Sebastian Rittau
06c2fb047a Bump setuptools to 68.0 (#10339)
* Any -> Incomplete in a few files
* Bump setuptools to 68.0.*

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-06-21 13:26:55 +01:00
github-actions[bot]
35450d9c0d [stubsabot] Bump setuptools to 67.8.* (#10194)
Release: https://pypi.org/pypi/setuptools/67.8.0
Homepage: https://github.com/pypa/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v67.7.2...v67.8.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/command/easy_install.py`, `setuptools/version.py`.
 - Total lines of Python code added: 425.
 - Total lines of Python code deleted: 215.

---------

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-20 09:46:05 +01:00
Avasam
b5c9d8d677 Don't ignore missing stubs in setuptools (#10058) 2023-05-19 07:03:34 +01:00
Avasam
db0149859c Add partial_stub metadata field (#10157) 2023-05-10 17:04:18 +02:00
Alex Waygood
e816acffdd Avoid unnecessary forward refs in class definitions (#10124) 2023-05-01 07:50:50 -07:00
Shantanu
cc35f4be3b setuptools: bump to 67.7 (#10069)
Fixes #10067

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-04-22 09:50:42 -06:00
Ben Mares
0b17fafbe3 Add missing exception classes in setuptools.errors (#10057)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-04-17 13:13:44 -06:00
Alex Waygood
755e2bda7e google-cloud-ndb, paramiko, setuptools: remove unnecessary = ...s (#10011) 2023-04-04 13:40:16 +01:00
Alex Waygood
b69b17c3d8 Add defaults for third-party stubs Q-T (#9959) 2023-03-28 13:16:31 +02:00
Alex Waygood
ca55889329 distutils/setuptools: Don't use wildcards for allowlist entries (#9900) 2023-03-17 14:05:12 -07:00
Henry Schreiner
2d990ee2f7 Fill out more annotations for distutils & setuptools dist (#9895)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-03-17 18:48:24 +00:00
Henry Schreiner
629f12e9a1 [setuptools] Fully annotate Extension.__init__ (#9899)
Add defaults to distutils.Extension.__init__
2023-03-17 16:44:51 +01:00
Henry Schreiner
3a82796d1e [distutils] Add generated methods to Distribution (#9896) 2023-03-17 12:14:36 +01:00
Henry Schreiner
bcff9cd51f distutils.command.build_ext: add more annotations to get_ext_* methods (#9894)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
2023-03-16 20:29:11 +00:00
Henry Schreiner
ed1fd8fc35 Add missing distribution attribute to distutils.cmd.Command (#9893)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
2023-03-16 20:21:23 +00:00
Henry Schreiner
eb3f8f3307 Add remaining types to setuptools.build_meta (#9890)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-16 17:01:39 +00:00
github-actions[bot]
4b9c1b9ed3 [stubsabot] Bump setuptools to 67.6.* (#9858)
Release: https://pypi.org/pypi/setuptools/67.6.0
Homepage: https://github.com/pypa/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v67.5.1...v67.6.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/wheel.py`.
 - Total lines of Python code added: 38.
 - Total lines of Python code deleted: 19.
2023-03-09 00:19:39 +00:00
Avasam
635493a8f6 Update pkg_resources-stubs for use in pytype_test (#9747)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-05 16:24:57 -08:00
github-actions[bot]
aadd0d2eff [stubsabot] Bump setuptools to 67.5.* (#9841)
Release: https://pypi.org/pypi/setuptools/67.5.0
Homepage: https://github.com/pypa/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v67.4.0...v67.5.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: `pkg_resources/__init__.py`.
 - Total lines of Python code added: 28.
 - Total lines of Python code deleted: 23.
2023-03-06 00:24:30 +00:00
Avasam
fee5f1b765 Remove most of setuptools._distutils (#9795) 2023-02-26 10:49:24 +00:00