Alex Waygood
75ecd7e229
importlib.resources is a package on 3.11+ (#9822 )
2023-03-08 08:36:18 +00:00
Alex Waygood
8a2bc88409
Improve typechecking of the test suite ( #9806 )
2023-03-08 08:35:41 +00:00
Jelle Zijlstra
bff9d7a7df
psutil: sconn.pid can be None ( #9853 )
...
Found out about this the hard way.
The code path that allows None is here: 2da9950223/psutil/_pslinux.py (L923)
2023-03-07 22:07:54 +00:00
Lucina
81f2f22a03
Add deprecated to typing_extensions ( #9850 )
2023-03-06 11:24:36 -08:00
Avasam
14b06ae672
pytype_test.py: Fix typechecking errors following #9747 ( #9849 )
2023-03-06 18:23:07 +00:00
Alex Waygood
4118b5fc6e
Update console-menu stubs for v0.8 ( #9845 )
2023-03-06 18:25:37 +01: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
Alex Waygood
9472dc10b9
Update tqdm stubs to 4.65.* ( #9840 )
2023-03-04 10:06:40 -08:00
Alex Waygood
257e287fec
Stdlib: correct many parameter names ( #9815 )
2023-03-04 09:53:12 +00:00
Shantanu
4b755c7034
docopt: add exception types ( #9839 )
2023-03-04 08:36:16 +00:00
Thomas M Kehrenberg
d76259a062
Add __name__ to _Wrapped in functools ( #9835 )
2023-03-03 15:02:51 +00:00
Denys Zhak
45f0a5e7e4
Add rrule.__iter__ return type ( #9828 )
2023-03-01 18:07:34 +01:00
Jonah Lawrence
8aedbda4cd
babel: Mark babel as obsolete since 2.12.1 ( #9832 )
2023-02-28 16:50:55 +00:00
Alex Waygood
904407f8e4
Revert "babel: Mark babel as obsolete since 2.12.0" ( #9831 )
...
Revert "babel: Mark babel as obsolete since 2.12.0 (#9830 )"
This reverts commit 68f78efe31 .
2023-02-28 12:53:40 +01:00
Jonah Lawrence
68f78efe31
babel: Mark babel as obsolete since 2.12.0 ( #9830 )
2023-02-28 10:36:11 +01:00
github-actions[bot]
05b294e911
Update peewee stubs to v3.16 ( #9827 )
...
Bump peewee to 3.16.*
Release: https://pypi.org/pypi/peewee/3.16.0
Homepage: https://github.com/coleifer/peewee/
Diff: https://github.com/coleifer/peewee/compare/3.15.4...3.16.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: `peewee.py`.
- Total lines of Python code added: 120.
- Total lines of Python code deleted: 90.
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-02-28 00:46:57 +00:00
Avasam
21c9ac5df6
Enable running stubtest on more of types-pika ( #9826 )
...
Make aliases for non-imported dependency private
2023-02-28 00:41:31 +00:00
Denys Zhak
0cd5bf0921
Update protobuf for v4.22 ( #9824 )
2023-02-27 23:50:46 +00:00
Andy Freeland
f53d0737f2
invoke: Update Context.cd() to accept a pathlib.Path or a string ( #9823 )
2023-02-27 18:11:48 +00:00
Denys Zhak
6b98f7307b
[stripe] Add Session.expire() ( #9814 )
2023-02-27 14:13:49 +01:00
Sebastian Rittau
05453b0c0a
Update caldav to 1.2 ( #9821 )
...
Also add a few default values and replace some instances of Any with
Incomplete.
2023-02-27 13:42:33 +01:00
Alex Waygood
88506f0e56
_weakref.ReferenceType.__new__: all args are pos-only (#9820 )
...
Fixes #9712
2023-02-27 13:20:10 +01:00
Alex Waygood
9b63a49f64
Re-export dateutil._common.weekday from dateutil.relativedelta ( #9819 )
2023-02-27 12:03:18 +00:00
Eric Traut
9c4bfd5d11
Updated functools.wraps and functools.update_wrapper ( #6670 )
...
Updated functools.wraps and functools.update_wrapper to use ParamSpec to preserve signatures of wrapped and wrapper functions.
2023-02-26 12:41:08 +01:00
Avasam
fee5f1b765
Remove most of setuptools._distutils ( #9795 )
2023-02-26 10:49:24 +00:00
github-actions[bot]
2c5df195ef
[stubsabot] Bump toposort to 1.10 ( #9816 )
...
Release: https://pypi.org/pypi/toposort/1.10
2023-02-26 09:49:56 +00:00
Alex Waygood
2daa07ddf0
stubtest_stdlib: suppress output from pip ( #9807 )
2023-02-25 16:32:24 -08:00
Avasam
52ec44fa58
Improve many __(a)exit__ annotations ( #9696 )
2023-02-25 21:50:30 +00:00
Rogdham
db821101b8
bisect: don't require Sequences ( #9813 )
2023-02-25 09:24:31 -08:00
Stanislav Zmiev
806b13435c
Add get_origin annotations ( #9811 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-02-25 15:59:37 +00:00
Alex Waygood
13325d4d80
Fix stubtest for influxdb-client ( #9808 )
...
Fixes #9805
2023-02-24 09:00:17 -08:00
github-actions[bot]
4ca5ee98df
[stubsabot] Bump polib to 1.2.* ( #9804 )
...
Release: https://pypi.org/pypi/polib/1.2.0
Homepage: https://github.com/izimobil/polib/
Diff: https://github.com/izimobil/polib/compare/1.1.1...1.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.
- 1 file included in typeshed's stubs has been modified or renamed: `polib.py`.
- Total lines of Python code added: 293.
- Total lines of Python code deleted: 195.
2023-02-24 00:17:46 +00:00
Alex Waygood
f6df5b5dd2
Remove a default value in distutils ( #9800 )
...
Fixes #9799 .
Stubtest started failing on our `setuptools` stubs because of a default value added to our stdlib `distutils` stubs. The reason for this is because our `setuptools` stubs erroneously claim here that the `setuptools._distutils.core.Distribution` class is the same as the stdlib `distutils.dist.Distribution` class:
06755e10ba/stubs/setuptools/setuptools/_distutils/core.pyi (L3)
In actual fact, they're not, and they have different default values for this parameter. But reverting the addition of the default value is the simplest short-term fix for now.
(An alternative fix would be to just merge #9795.)
2023-02-23 22:38:11 +00:00
Alex Waygood
1d2ae2598b
Fix some typos in comments ( #9802 )
2023-02-23 22:11:24 +00:00
Alex Waygood
6ba28ae547
Remove unused type: ignore comments ( #9801 )
2023-02-23 12:59:50 -08:00
Neil Girdhar
06755e10ba
Add object.__subclasshook__ ( #9755 )
2023-02-22 23:08:25 +00:00
Alex Waygood
76bfe8b469
argparse: simplify parse_args overloads (#9798 )
2023-02-22 23:46:35 +02:00
Avasam
75f47d0cb1
Typecheck typeshed's code with pyright ( #9793 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2023-02-22 18:53:07 +00:00
Alex Waygood
b0dc6a3405
Add defaults to logging.LoggerAdapter methods ( #9797 )
2023-02-22 11:50:11 +01:00
Alex Waygood
9ed719b640
Bump pyright to 1.1.295 ( #9796 )
2023-02-22 09:22:35 +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
fbc092b4cd
Stdlib: add defaults for several functions that delegate kwargs to other functions at runtime ( #9791 )
2023-02-21 23:31:25 -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
Alex Waygood
fea57ad095
hmac.HMAC: digestmod defaults to None on py37 (#9790 )
2023-02-21 18:24:34 +00:00
Mynhardt Burger
3f6f54e9d9
Improve openpyxl annotations ( #9764 )
...
Co-authored-by: ArnabRollin <iamarnab.phukan@gmail.com >
Co-authored-by: ArnabRollin <106329283+ArnabRollin@users.noreply.github.com >
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-02-21 15:36:57 +00:00
Alex Waygood
f2ae3542d3
Stdlib: Deduplicate some multiprocessing type aliases ( #9788 )
2023-02-21 13:30:41 +01:00
Alex Waygood
c407a44489
Add defaults to csv stubs ( #9774 )
2023-02-21 11:33:38 +01:00
Avasam
5ac80781ec
Integrate requirements-stubtest.txt into METADATA.toml ( #9778 )
2023-02-21 11:19:50 +01:00
Avasam
a6c6bc1b8e
Fix stdlib/disutils testing ( #9734 )
2023-02-21 08:06:20 +00:00