Alex Waygood
b69b17c3d8
Add defaults for third-party stubs Q-T ( #9959 )
2023-03-28 13:16:31 +02: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
Avasam
fee5f1b765
Remove most of setuptools._distutils ( #9795 )
2023-02-26 10:49:24 +00:00
Avasam
52ec44fa58
Improve many __(a)exit__ annotations ( #9696 )
2023-02-25 21:50:30 +00:00
Avasam
078c6a0958
Update Unused parameters in stubs/ ( #9704 )
...
* Update _Unused TypeAlias
* Update `object | None` params
* Replace unused `object` parameters with `Unused` alias
2023-02-21 23:52:52 -08:00
Alex Waygood
7180d0223b
Use typing_extensions.Self instead of _typeshed.Self ( #9702 )
2023-02-15 11:32:43 +01:00
Avasam
372073d35b
Use _typeshed.FileDescriptorOrPath in stubs ( #9695 )
2023-02-09 08:30:19 +01:00
Alex Waygood
0ef9c3f8e8
Enable flake8-pyi's Y037 ( #9686 )
2023-02-06 19:01:02 -08:00
Sebastian Rittau
dc389eafe7
Update setuptools to 67.1 ( #9664 )
...
Replace some instances of `Any` with `Incomplete` or proper types.
2023-02-03 11:43:35 +00:00
Alex Waygood
4fea314594
Replace Any with Incomplete in many places ( #9558 )
2023-01-18 08:48:16 +00:00
Avasam
b216053432
Fix setuptools stubtest on windows ( #9521 )
2023-01-13 08:16:39 +00:00
Avasam
9041a925cf
Add types-docutils as a dependency of types-setuptools ( #9460 )
...
Remove the need for subclassing `Any`
2023-01-05 10:37:44 +00:00
Avasam
0c3cf8f5e6
More pywin32 stub completion ( #9308 )
...
Completed based on usage of the following libraries in mypy_primer:
- apprise
- comtypes
As well as some of the most popular libraries that use both pywin32 and mypy (all over 1k stars on github):
- certbot
- anki
- flexget
- monkey
- twisted
- salt
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-12-05 22:23:35 +00:00
Nikita Sobolev
18e2ae762b
Mark first argument of __[get|set|del]attr__ as str ( #9245 )
2022-11-22 11:06:50 +00:00
github-actions[bot]
c10ed87f6e
[stubsabot] Bump setuptools to 65.6.* ( #9227 )
...
Release: https://pypi.org/pypi/setuptools/65.6.0
Homepage: https://github.com/pypa/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v65.5.1...v65.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.
- 40 files included in typeshed's stubs have been modified or renamed.
- Total lines of Python code added: 637.
- Total lines of Python code deleted: 630.
Co-authored-by: stubsabot <>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2022-11-19 16:49:37 -08:00
Avasam
4bad015bbb
Remove setuptools._distutils.command.bdst_msi ( #9174 )
...
It does not exist
2022-11-12 18:30:56 +00:00
Nikita Sobolev
3e828bd307
Remove empty __init__ methods from classes with 0 parents ( #8907 )
2022-10-16 12:47:47 +01: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
Alex Waygood
5a24bf8e1f
setuptools: delete _distutils.command.check.HAS_DOCUTILS ( #8529 )
...
Fixes #8527
2022-08-11 07:17:00 +01: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
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
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
85aec034ae
Mark many attributes as read-only properties ( #7591 )
2022-04-05 08:37:24 +02:00
Bas van Beek
70988f1811
Widen the cmdclass parameter of setuptools.setup ( #7458 )
2022-03-08 15:07:44 +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
Sebastian Rittau
db69e41fda
Add setuptools stubs ( #5762 )
2021-09-18 19:45:23 -07:00