Commit Graph

1244 Commits

Author SHA1 Message Date
Jelle Zijlstra
b9eab637cb subprocess: Improve bytes-related types (#9100) 2023-01-11 20:10:26 -08:00
github-actions[bot]
150dc35d43 [stubsabot] Bump braintree to 4.18.* (#9502)
Release: https://pypi.org/pypi/braintree/4.18.0
Homepage: https://developer.paypal.com/braintree/docs/reference/overview
2023-01-12 00:27:21 +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
github-actions[bot]
40f4a726cf [stubsabot] Bump toposort to 1.9 (#9503)
Release: https://pypi.org/pypi/toposort/1.9
2023-01-12 00:20:58 +00:00
Avasam
bc08ecfd10 Overhaul ldap3 stubs (#9470)
Add a dependency on `types-pyasn1`, removing the need to subclass `Any`. Fill in many missing types. Use `Incomplete` rather than `Any` where applicable.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-01-11 23:14:41 +00:00
Sebastian Rittau
b8f337a452 SQLAlchemy: Annotate text() (#9498) 2023-01-11 15:01:11 +00:00
Avasam
5f08529a4d SQLAlchemy: Remove some implementation details (#9492)
Stubs for the mypy plugin, which aren't useful if you're using typeshed's SQLAlchemy stubs, have been removed.
2023-01-11 11:21:18 +00:00
Avasam
5eb6a692f5 types-pyinstaller: no longer subclass "Any" (#9495) 2023-01-11 09:32:54 +00:00
github-actions[bot]
28bf5c9ddd Bump toposort to 1.8 (#9489) 2023-01-11 00:18:57 +00:00
kasium
5e1632be49 Add stubs for python-datemath (#5765)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-01-11 00:04:07 +00:00
Alex Waygood
e2d67bf703 Delete stubs for cryptography (#9459)
Typeshed's stubs for `paramiko` and `pyOpenSSL` now depend on the `cryptography` package, which now provides inline types at runtime
2023-01-10 22:16:11 +00:00
Avasam
3c24501bb7 openpyxl: Use "Incomplete" instead of "Any" (#9488) 2023-01-10 17:54:06 +00:00
hamdanal
2c9816e788 Add stubs for netaddr (#9431)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-01-07 16:22:09 +00:00
Avasam
64e02a05c2 Use pyasn1 in python-jose (#9469) 2023-01-07 15:32:28 +00:00
github-actions[bot]
319597cba4 [stubsabot] Bump ujson to 5.7.* (#9473)
Release: https://pypi.org/pypi/ujson/5.7.0
Homepage: https://github.com/ultrajson/ultrajson
Diff: https://github.com/ultrajson/ultrajson/compare/5.6.0...5.7.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 38.
 - Total lines of Python code deleted: 0.

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-01-07 00:17:21 +00:00
Avasam
b5048a00e6 Add stubs for pyasn1 (#9437)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-01-06 18:25:48 +00:00
Sebastian Rittau
b1cb9c8a8f Update SQLAlchemy stubs to 1.4.46 (#9464)
Replace `Any` with `Incomplete` where applicable
2023-01-05 19:37:12 +00:00
bzoracler
dfe844c200 gdb-stubs fixes (#9439)
* fix: Union subprinters with `None`

See a4418a9c6f/gdb/python/lib/gdb/printing.py (L52-L55)

* fix: Allow callables as argument to `printer`

See a4418a9c6f/gdb/python/lib/gdb/printing.py (L77) and the description of "function / old way" in the body of `register_pretty_printer`.

The new union's signature is equivalent to `gdb.printing.PrettyPrinter(...).__call__`.

* fix: make `gdb.Block` iterable over `gdb.Symbol`

See https://sourceware.org/gdb/onlinedocs/gdb/Blocks-In-Python.html#Blocks-In-Python:

> A gdb.Block is iterable. The iterator returns the symbols (see [Symbols In Python](https://sourceware.org/gdb/onlinedocs/gdb/Symbols-In-Python.html#Symbols-In-Python)) local to the block.

Implementation of `gdb.BlockIterator` is given in https://github.com/bminor/binutils-gdb/blob/gdb-12-branch/gdb/python/py-block.c. As with many of the other classes, `BlockIterator` is actually imported from the built-in `_gdb` module (a4418a9c6f/gdb/python/lib/gdb/__init__.py (L28)).

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-01-05 16:07:36 +00:00
Juan Amari
605378de6e Bump redis to 4.4.0 (#9458)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-01-05 15:25:11 +00:00
Spencer Brown
3dfc3a383c Add type annotations for babel.messages subpackage (#9455) 2023-01-05 12:39:41 +01:00
Avasam
6a6a677ae3 Improve various jmespath types
Merge `jmespath` from microsoft/python-type-stubs
2023-01-05 11:37:08 +00:00
Avasam
3b94e71280 Add types-html5lib as a dependency of types-beautifulsoup4 (#9462)
Remove the need for subclassing `Any`
2023-01-05 10:40:17 +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
7fdbb7228c Bump Pillow to 9.4 (#9453)
Closes #9448
2023-01-04 23:38:41 +01:00
github-actions[bot]
8365b1aaef Bump mock to 5.0.* (#9423) 2023-01-04 11:29:58 +01:00
github-actions[bot]
56742bd2c2 [stubsabot] Bump singledispatch to 4.0.* (#9447)
Release: https://pypi.org/pypi/singledispatch/4.0.0
Homepage: https://github.com/jaraco/singledispatch
Diff: https://github.com/jaraco/singledispatch/compare/v3.7.0...v4.0.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 381.
 - Total lines of Python code deleted: 266.

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-01-03 00:21:56 +00:00
github-actions[bot]
69077291fe [stubsabot] Bump pyOpenSSL to 23.0.* (#9446)
Release: https://pypi.org/pypi/pyOpenSSL/23.0.0
Homepage: https://pyopenssl.org/
Diff: https://github.com/pyca/pyopenssl/compare/22.1.0...23.0.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 83.
 - Total lines of Python code deleted: 37.

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-01-03 00:21:40 +00:00
Avasam
c45999d905 Re-enable NQA102 (#9426)
re-enable NQA102
2023-01-02 23:49:02 +00:00
Sebastian Rittau
feb9b2dc9f [influxdb-client] Annotate Point and partially client classes (#9442) 2023-01-02 18:14:39 +01:00
github-actions[bot]
ca28b1f24d [stubsabot] Bump Pygments to 2.14.* (#9440)
Release: https://pypi.org/pypi/Pygments/2.14.0
Homepage: https://pygments.org/
Changelog: https://github.com/pygments/pygments/blob/master/CHANGES
Diff: https://github.com/pygments/pygments/compare/2.13.0...2.14.0

Stubsabot analysis of the diff between the two releases:
 - 11 public Python files have been added.
 - 0 files included in typeshed's stubs have been deleted.
 - 7 files included in typeshed's stubs have been modified or renamed: `pygments/__init__.py`, `pygments/formatters/__init__.py`, `pygments/formatters/html.py`, `pygments/formatters/irc.py`, `pygments/lexer.py`, `pygments/lexers/__init__.py`, `pygments/sphinxext.py`.
 - Total lines of Python code added: 3094.
 - Total lines of Python code deleted: 1387.

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-01-02 00:35:13 +00:00
Sebastian Rittau
3e00c01ca6 Add stubs for influxdb-client (#9429) 2022-12-30 14:54:56 -08:00
Avasam
23ac9bff19 Check for unused pyright: ignore and differentiate from mypy ignores (#9397) 2022-12-28 10:44:29 +00:00
Avasam
07f587dc70 Bump python-xlib to 0.33 (#9420) 2022-12-27 20:07:12 -08:00
Gulshan Singh
c13a9ed985 Add type stubs for gdb.Value comparison operators (#9411) 2022-12-27 21:56:19 +00:00
Sebastian Rittau
0cf685cc17 Fully annotate ExifRead (#9403)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-12-27 17:46:54 +00:00
Alex Waygood
2704a8d916 pyaudio: fix stubtest failures (#9416) 2022-12-27 16:11:01 +01:00
AMBER MURTUZA ANSARI
135bbd34a5 fpdf:annotation of dash_pattern, line_width, text_mode (#9387)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-12-25 16:24:06 +00:00
wmcgee3
0c196791fc Add stub for ibm_db (#9325)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-12-24 11:07:47 +00:00
Shantanu
8c0964714c crontab: upstream did some py2 cleanup (#9406)
Fixes #9405
2022-12-23 19:41:47 -08:00
Richard Nias
4379a6a509 Add stubs for untangle (#9402)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2022-12-23 14:24:30 +00:00
Sebastian Rittau
db6644790b Initial ExifRead stubs (#9401) 2022-12-23 12:37:44 +01:00
Shantanu
44cdc6e284 crontab: improve types, update to 2.7 (#9392)
https://gitlab.com/doctormo/python-crontab/-/blob/v2.7.0/crontab.py

Closes #9391

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-12-22 18:42:24 -06:00
github-actions[bot]
b5bff233bf [stubsabot] Bump flake8-builtins to 2.1.* (#9400) 2022-12-23 00:23:30 +00:00
hamdanal
c6b09b60de Add stubs for the pyserial package (#9347) 2022-12-22 14:10:54 -06:00
Eugene Vilensky
6a7839f2c5 requests: set session.headers to MutableMapping (#9395) 2022-12-22 15:02:58 +00:00
Álvaro Mondéjar
0659e3c574 Fix return type of search in jmespath stubs (#9394) 2022-12-21 12:02:33 +00:00
Mauricio Villegas
1b50eb09df requests: types for auth username and password (#9389) 2022-12-20 16:34:40 -06:00
Sebastian Rittau
f52099a22b Annotate more items in pika.channel (#9385) 2022-12-19 15:07:47 +00:00
github-actions[bot]
8ef547417f Bump google-cloud-ndb to 2.1.* (#9370) 2022-12-19 12:25:24 +01:00
github-actions[bot]
3abf38ee0b [stubsabot] Bump pytz to 2022.7 (#9383) 2022-12-19 00:18:21 +00:00