Commit Graph

37 Commits

Author SHA1 Message Date
Kyle Benesch
6aae57783a Fix pkg_resources.split_sections (#8975)
This function is currently documented as returning a list of lines as
the 2nd pair value.  It does not return plain str here.
2022-10-24 12:58:31 -07:00
Nikita Sobolev
3e828bd307 Remove empty __init__ methods from classes with 0 parents (#8907) 2022-10-16 12:47:47 +01:00
github-actions[bot]
51e18a8601 [stubsabot] Bump setuptools to 65.5.* (#8900)
Release: https://pypi.org/pypi/setuptools/65.5.0
Homepage: https://github.com/pypa/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v65.4.1...v65.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.
 - 4 files included in typeshed's stubs have been modified or renamed: `setuptools/build_meta.py`, `setuptools/command/test.py`, `setuptools/monkey.py`, `setuptools/wheel.py`.
 - Total lines of Python code added: 111.
 - Total lines of Python code deleted: 59.

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 <>
2022-10-14 17:42:37 -07:00
github-actions[bot]
f9fdee5b8d [stubsabot] Bump setuptools to 65.4.* (#8811)
Release: https://pypi.org/pypi/setuptools/65.4.0
Homepage: https://github.com/pypa/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v65.3.0...v65.4.0
2022-09-29 18:02:57 -07:00
github-actions[bot]
e93af9b333 [stubsabot] Bump setuptools to 65.3.* (#8620) 2022-08-25 19:34:32 -07:00
Kevin Kirsche
80ce12e295 Update setuptools to 65.1.* (#8565)
Fixes #8563
2022-08-18 18:16:24 -07:00
Shantanu
2efaa6a379 setuptools: fix stubtest (#8540)
Fixes #8539
2022-08-12 19:37:11 -07:00
github-actions[bot]
8b0b500df3 [stubsabot] Bump setuptools to 64.0.* (#8534) 2022-08-11 19:53:47 -07:00
Alex Waygood
5a24bf8e1f setuptools: delete _distutils.command.check.HAS_DOCUTILS (#8529)
Fixes #8527
2022-08-11 07:17:00 +01:00
github-actions[bot]
fe99d2322c [stubsabot] Bump setuptools to 63.4.* (#8493)
Co-authored-by: stubsabot <>
2022-08-04 17:53:42 -07:00
Nikita Sobolev
38c4a1ece2 Remove redundant __str__ methods (#8475) 2022-08-03 13:45:16 +02:00
Kevin Kirsche
046c0104e4 Fix todo in setuptools.command.test (#8416)
With https://github.com/python/mypy/pull/10884 merged and released, this should be safe to re-enable per the todo comment.

https://github.com/pypa/setuptools/blob/main/setuptools/command/test.py#L117
2022-07-27 18:23:37 -07:00
Sebastian Rittau
73fbb53475 Update setuptools stubs (#8345)
setuptools now vendors `distutils` as `setuptools._distutils`.
2022-07-20 18:44:22 +02:00
Shantanu
8fb85533cd [stubsabot] Bump setuptools to 63.2.* (#8301)
Co-authored-by: hauntsaninja <>
2022-07-14 20:48:09 -07:00
Alex Waygood
edc0ecd857 Remove Python 3.6 branches from typeshed (#8269) 2022-07-11 10:55:17 +02:00
Shantanu
72c7eb6f80 [stubsabot] Bump setuptools to 62.6.* (#8224)
Most of setuptools.config is not included as the module is deprecated.
2022-07-08 21:23:18 +02:00
Alex Waygood
74bd0d962b Third-party stubs: audit Callable[<parameters>, None] annotations (#8175) 2022-06-26 13:56:19 +02:00
Alex Waygood
fa636bc044 Third-party stubs: fix several fictitious type aliases (#7958) 2022-05-26 06:26:26 -07:00
Jelle Zijlstra
bb119544d8 pkg_resources: Fix unconstrained TypeVars (#7941)
499c468a57/pkg_resources/__init__.py (L1049)

Part of #7928
2022-05-24 19:49:22 -07:00
Peter Pentchev
ef887b7beb More setuptools.command.easy_install definitions. (#7145)
Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2022-05-22 00:31:31 +03:00
Alex Waygood
653f2c6ba4 Third-party stubs: import from collections.abc where possible (#7637) 2022-04-16 14:52:57 +01:00
Alex Waygood
740193a8fc Use TypeAlias where possible for type aliases (#7630) 2022-04-15 18:01:00 -07:00
Alex Waygood
85aec034ae Mark many attributes as read-only properties (#7591) 2022-04-05 08:37:24 +02:00
Alex Waygood
3ab250eec8 Use PEP 604 syntax wherever possible (#7493) 2022-03-16 16:01:33 +01:00
Bas van Beek
70988f1811 Widen the cmdclass parameter of setuptools.setup (#7458) 2022-03-08 15:07:44 +02:00
Alex Waygood
a62fd92fb0 Improve some in-place BinOp methods (#7149) 2022-02-06 15:36:57 -08:00
Alex Waygood
45a2dad83c Reduce use of Any in equality methods (#7081)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2022-01-30 00:59:00 +02:00
Alex Waygood
a40d79a4e6 Use lowercase type everywhere (#6853) 2022-01-08 16:09:29 +01:00
Alex Waygood
8d5d2520ac Use PEP 585 syntax wherever possible (#6717) 2021-12-28 11:31:43 +01:00
Akuli
a5bc1e037f Add mypy error codes to '# type: ignore' comments (#6379) 2021-11-26 07:07:56 +01:00
Alex Waygood
c685c2d6c6 Reduce use of deprecated typing aliases (#6358) 2021-11-23 10:56:43 +01:00
Akuli
994b69ef8f Use lowercase tuple where possible (#6170) 2021-10-14 17:18:19 -07:00
Sebastian Rittau
9f86972350 Add star to all non-0.1 versions (#6146) 2021-10-11 13:41:19 -07:00
Sebastian Rittau
db69e41fda Add setuptools stubs (#5762) 2021-09-18 19:45:23 -07:00
Akuli
ce11072dbe Big diff: use lower-case list and dict (#5888) 2021-08-08 09:26:35 -07:00
Akuli
ee487304d7 Big diff: Use new "|" union syntax (#5872) 2021-08-08 11:05:21 +02:00
Sebastian Rittau
a319ba4604 pkg_resources is part of setuptools (#5669) 2021-06-21 15:19:18 +01:00