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
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
Avasam
5ac80781ec
Integrate requirements-stubtest.txt into METADATA.toml ( #9778 )
2023-02-21 11:19:50 +01:00
Avasam
040103a74e
Add missing symbols to tabulate ( #9781 )
2023-02-20 23:57:10 +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
github-actions[bot]
7b975dc144
[stubsabot] Mark DateTimeRange as obsolete since 2.1.0 ( #9765 )
...
Release: https://pypi.org/pypi/DateTimeRange/2.1.0
Homepage: https://github.com/thombashi/DateTimeRange
Diff: https://github.com/thombashi/DateTimeRange/compare/v2.0.0...v2.1.0
Co-authored-by: stubsabot <>
2023-02-19 16:14:08 -08:00
Avasam
d92332d120
Type Loader parameter in PyYAML/yaml ( #9752 )
2023-02-19 19:22:14 +00:00
hamdanal
a2fee5b30f
pyserial: fix stubtest errors (#9722 )
2023-02-19 12:08:20 +00:00
Spencer Brown
f5b761d465
Add types for PIL.ImageTk ( #9733 )
2023-02-18 21:50:28 +02:00
Alex Waygood
7180d0223b
Use typing_extensions.Self instead of _typeshed.Self ( #9702 )
2023-02-15 11:32:43 +01:00
Alex Waygood
8cd6d81f15
Bump pyright to 1.1.294; improve psutil stubs ( #9739 )
...
Partially type psfullmem
2023-02-15 10:54:36 +01:00
github-actions[bot]
c50ceada0f
[stubsabot] Bump setuptools to 67.3.* ( #9738 )
2023-02-15 08:15:49 +01:00
Avasam
140bba3425
Add comments when subclassing Any ( #9732 )
2023-02-14 14:11:56 +01:00
github-actions[bot]
c437f5ba06
[stubsabot] Bump flake8-bugbear to 23.2.13 ( #9729 )
2023-02-14 01:18:46 +01:00
Andy Doan
70f0f5488a
pyOpenSSL: Introduce PARTIAL_CHAIN constant ( #9727 )
2023-02-13 18:36:14 +01:00
Bart van Merriënboer
8aa9b37a97
[PyYAML] Accept all iterables for dump_all functions ( #9725 )
2023-02-13 13:19:16 +01:00
Shantanu
35871f4222
Bump DateTimeRange to 2.0.* ( #9720 )
...
Release: https://pypi.org/pypi/DateTimeRange/2.0.0
Homepage: https://github.com/thombashi/DateTimeRange
Diff: https://github.com/thombashi/DateTimeRange/compare/v1.2.0...v2.0.0
2023-02-12 10:40:54 +01:00
Avasam
95789d20b2
Bump pyinstaller to 5.8.* ( #9721 )
...
Release: https://pypi.org/pypi/pyinstaller/5.8.0
Homepage: https://www.pyinstaller.org/
Diff: https://github.com/pyinstaller/pyinstaller/compare/v5.7.0...v5.8.0
2023-02-11 18:00:16 -08:00
Sebastian Rittau
39487a8bab
[redis] Update to 4.5.1 ( #9697 )
...
Also add a few argument defaults
2023-02-10 11:10:37 +00:00
Anders Kaseorg
8e0b56f12c
Add markdown.treeprocessors.UnescapeTreeprocessor ( #9671 )
...
This replaced the deprecated
`markdown.postprocessors.UnescapePostprocessor` in
https://github.com/Python-Markdown/markdown/pull/1272 .
Signed-off-by: Anders Kaseorg <andersk@mit.edu >
2023-02-09 17:22:23 +00:00
Jelle Zijlstra
e17ee201f5
yaml: allow ReadableBuffer in represent_binary ( #9701 )
2023-02-09 16:03:49 +01:00
Sebastian Rittau
ad1e2bede1
[fpdf2] FPDF.add_font() accepts PurePaths ( #9699 )
2023-02-09 05:57:45 -08:00
Anders Kaseorg
afb7704b36
Pillow: Add missing enums from 9.1.0 ( #9698 )
2023-02-09 11:03:50 +01:00
Avasam
10086c06a1
Fix Any subclassing in fpdf2 ( #9536 )
2023-02-09 09:39:40 +01:00
Avasam
372073d35b
Use _typeshed.FileDescriptorOrPath in stubs ( #9695 )
2023-02-09 08:30:19 +01:00
Alex Waygood
6d535bf0a3
Enable stubtest for pyserial ( #9692 )
2023-02-09 00:10:33 +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
Nikita Sobolev
62c54da134
Complete python-crontab ( #9306 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2023-02-07 05:21:06 -08:00
Alex Waygood
60789273a2
Improve pyright verification of third-party test cases in CI ( #9650 )
...
Co-authored-by: Avasam <samuel.06@hotmail.com >
2023-02-07 11:53:54 +00:00
Alex Waygood
0ef9c3f8e8
Enable flake8-pyi's Y037 ( #9686 )
2023-02-06 19:01:02 -08:00
Avasam
29d9aa9b28
Complete stubtest and fix Any subclassing in tqdm ( #9525 )
2023-02-07 00:15:44 +00:00
Alex Waygood
efee70abfa
Bump mypy to 1.0 ( #9684 )
2023-02-06 15:57:17 -08:00
Nikita Sobolev
f7cb7f33b2
Use OSError instead of IOError ( #9683 )
2023-02-06 18:56:32 +00:00
Alex Waygood
262f2067aa
Update paramiko stubs to 3.0.* ( #9667 )
2023-02-06 07:01:50 -08:00
Alex Waygood
191afbc559
Update invoke stubs to 2.0.* ( #9669 )
2023-02-06 06:54:21 -08:00
Jelle Zijlstra
c65a87481d
colorama: Preserve input type for wrap_stream ( #9677 )
2023-02-06 06:50:21 -08:00
Jukka Lehtosalo
bba1c67610
Update mypy_extensions stubs to 1.0.x ( #9675 )
2023-02-04 12:54:39 +00:00
Alex Waygood
48cffeeea6
Update caldav stubs to 1.0.* ( #9668 )
2023-02-03 06:38:16 -08:00
Juan Amari
ce8c82a27c
[redis] Initial stubs for redis.asyncio.cluster ( #9468 )
...
Co-authored-by: Nikita Sobolev <mail@sobolevn.me >
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
Co-authored-by: Sebastian Rittau <srittau@rittau.biz >
2023-02-03 13:27:39 +00:00
Alex Waygood
f94d496626
Update cachetools stubs to 5.3.* ( #9666 )
2023-02-03 12:20:38 +00:00
hasier
c2e638e222
Fix python-jose unverified jws and jwt functions ( #9662 )
2023-02-03 11:53:00 +00: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
Avasam
f1aede7162
Manual changes of Any union to Incomplete in stubs folder ( #9566 )
...
- ClassVar[Any | None]
- Missed previous changes due to alias
- Manual review of leftover Any unions (`| Any` and `Any |`)
2023-02-02 06:48:41 -08: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
hamdanal
250befdef0
Fix optional USB attributes in pyserial's ListPortInfo ( #9654 )
...
Some USB specific attributes in pyserial's [`serial.tools.list_port_common.ListPortInfo`](https://github.com/python/typeshed/blob/main/stubs/pyserial/serial/tools/list_ports_common.pyi#L11-L24 ) class are not always available. They depend on the USB device and its driver correctly reporting these attributes. I discovered this recently with a new device that does not report its serial number. Only the Vendor ID `vid` and Product ID `pid` are guaranteed (This can be seen [here](https://github.com/pyserial/pyserial/blob/master/serial/tools/list_ports_linux.py#L52-L62 ) where `vid` and `pid` are always cast as `int` while other attributes are left as `str | None` for USB devices).
This is a follow up to #9347 and the discussion at https://github.com/python/typeshed/pull/9347#issuecomment-1358245865
2023-02-01 14:03:24 -08:00
Alex Waygood
23e3dc9bd8
Fix stubtest errors on beautifulsoup4 ( #9648 )
...
Fixes #9645 .
2023-02-01 06:06:45 -08:00
Alex Waygood
8e7b78a8e8
Bump black to 23.1.0 ( #9647 )
2023-02-01 06:06:04 -08:00
Mehdi Drissi
d755da86dd
Tensorflow: Add more stubs ( #9560 )
...
Co-authored-by: Mehdi Drissi <mdrissi@snapchat.com >
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-01-31 22:12:41 -08:00
Victor B
1cc8080c7e
Add stubs for zstd ( #9484 )
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2023-01-31 21:41:19 -08:00