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
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
github-actions[bot]
6ac15185fb
[stubsabot] Bump setuptools to 67.4.* ( #9794 )
...
Release: https://pypi.org/pypi/setuptools/67.4.0
Homepage: https://github.com/pypa/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v67.3.3...v67.4.0
Stubsabot analysis of the diff between the two releases:
- Total lines of Python code added: 877.
- Total lines of Python code deleted: 433.
2023-02-22 00:16:40 +00:00
Avasam
ed6748fb32
Stubtest settings: change ignore_missing_stub default to false ( #9779 )
...
If you're reading about this commit from an autogenerated changelog entry, this should have no user-visible impact on how the stubs are interpreted by a type checker; it's just an internal change to how typeshed's tests work.
2023-02-20 22:37:45 +00:00
Alex Waygood
7180d0223b
Use typing_extensions.Self instead of _typeshed.Self ( #9702 )
2023-02-15 11:32:43 +01:00
github-actions[bot]
c50ceada0f
[stubsabot] Bump setuptools to 67.3.* ( #9738 )
2023-02-15 08:15:49 +01:00
Avasam
372073d35b
Use _typeshed.FileDescriptorOrPath in stubs ( #9695 )
2023-02-09 08:30:19 +01:00
github-actions[bot]
cf6ff75952
[stubsabot] Bump setuptools to 67.2.* ( #9691 )
...
Release: https://pypi.org/pypi/setuptools/67.2.0
Homepage: https://github.com/pypa/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v67.1.0...v67.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.
- 33 files included in typeshed's stubs have been modified or renamed.
- Total lines of Python code added: 152.
- Total lines of Python code deleted: 111.
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 <>
2023-02-08 00:16:53 +00:00
Alex Waygood
0ef9c3f8e8
Enable flake8-pyi's Y037 ( #9686 )
2023-02-06 19:01:02 -08:00
Alex Waygood
efee70abfa
Bump mypy to 1.0 ( #9684 )
2023-02-06 15:57:17 -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
Peter Pentchev
1e5d72314f
setuptools: add pkg_resources.Requirement.url ( #9657 )
...
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com >
2023-02-01 23:44:08 -08:00
Avasam
6ac24ed923
Replace Any with Incomplete in many places ( #9565 )
2023-01-18 19:12:46 +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
github-actions[bot]
af1a505963
[stubsabot] Bump setuptools to 65.7.* ( #9504 )
...
Release: https://pypi.org/pypi/setuptools/65.7.0
Homepage: https://github.com/pypa/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v65.6.3...v65.7.0
2023-01-12 00:24:16 +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
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