Commit Graph

1793 Commits

Author SHA1 Message Date
Sergio
5bd3cf3b9e Stripe: add shipping_rate to __init__.py (#10416) 2023-07-06 22:00:11 +01:00
Sergio
4242eadc1e stripe: add shipping_rate type (#10323)
* add shipping_rate type

* remove redundant method
2023-07-06 15:10:14 +01:00
Sebastian Rittau
f96505474d Bump Pillow to 10.0.* (#10411) 2023-07-06 15:05:38 +01:00
Sebastian Rittau
edff8874da [Pillow] Replace Any with Incomplete (#10409) 2023-07-06 14:48:50 +01:00
Sebastian Rittau
1e6b8a9b88 [Pillow] Update TiffImagePlugin for Python 3.11 (#10399)
Also type the methods forwarded from Fraction and replace
`Any` with `Incomplete`.
2023-07-06 15:34:49 +02:00
Alex Waygood
b3e60dc447 Remove stubs for typed-ast (#10415) 2023-07-06 01:02:01 -07:00
Alex Waygood
597810e46e Mark types-typed-ast as no longer updated (#10410) 2023-07-05 10:08:10 -07:00
John Villalovos
65a6a195f2 Pillow: Add tuple[int, int] to _Color TypeAlias (#10407) 2023-07-05 11:31:30 +03:00
Damien Couppé
fc7d4722ea Redis: Add missing types for id in xadd (#10403) 2023-07-04 14:03:02 +02:00
Shantanu
614aa1a2ba Bring back a few setuptools._distutils files (#10401) 2023-07-04 12:11:37 +02:00
Nikita Sobolev
3d352e85e5 Use proper return types for __await__ methods in redis.asyncio.client (#10379) 2023-07-01 18:40:40 +01:00
Alex Waygood
cd0388439a Remove stubs for annoy (#10388) 2023-06-30 11:40:45 +02:00
github-actions[bot]
201940cdc1 [stubsabot] Mark annoy as obsolete since 1.17.1 (#10374)
Release: https://pypi.org/pypi/annoy/1.17.1
Homepage: https://github.com/spotify/annoy
Diff: https://github.com/spotify/annoy/compare/v1.17.0...v1.17.1

Co-authored-by: stubsabot <>
2023-06-29 01:27:47 +01:00
Nikita Sobolev
ae5b28ff37 Stricter pyright checks for inifile (#10382) 2023-06-28 22:57:25 +01:00
Naveed Jooma
aab9fdd86a [PIL] Make return type of PyDecoder.decode a tuple (#10381) 2023-06-28 13:47:49 -07:00
Nikita Sobolev
1d59c5cb13 Bump PyMySQL to 1.1.* (#10376) 2023-06-28 12:28:11 +02:00
github-actions[bot]
d5f0d155d1 [stubsabot] Mark flake8-plugin-utils as obsolete since 1.3.3 (#10373)
Release: https://pypi.org/pypi/flake8-plugin-utils/1.3.3
Homepage: https://pypi.org/project/flake8-plugin-utils

Co-authored-by: stubsabot <>
2023-06-28 09:24:41 +01:00
Sebastian Rittau
d2c87ac97d Bump redis to 4.6.0 (#10360)
Closes: #10359
2023-06-27 19:25:52 +01:00
Avasam
93b4060cd4 [PyInstaller] TOCs are not often lists of TOCs (#10366) 2023-06-27 16:36:51 +02:00
David Salvisberg
8bc4be3868 Fixes incorrect return value for MultiDict.get without default param (#10367) 2023-06-27 06:53:32 -07:00
github-actions[bot]
b8ab395d4b [stubsabot] Bump tree-sitter-languages to 1.6.* (#10364)
Release: https://pypi.org/pypi/tree-sitter-languages/1.6.1
Homepage: https://github.com/grantjenks/py-tree-sitter-languages
Diff: https://github.com/grantjenks/py-tree-sitter-languages/compare/v1.5.0...v1.6.1

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: `tree_sitter_languages/__init__.py`.
 - Total lines of Python code added: 68.
 - Total lines of Python code deleted: 5.
2023-06-27 01:21:57 +01:00
github-actions[bot]
43720bcbab [stubsabot] Bump Flask-Cors to 4.0.* (#10363)
Release: https://pypi.org/pypi/Flask-Cors/4.0.0
Homepage: https://github.com/corydolphin/flask-cors
Diff: https://github.com/corydolphin/flask-cors/compare/3.0.10...v4.0.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.
 - 5 files included in typeshed's stubs have been modified or renamed: `flask_cors/__init__.py`, `flask_cors/core.py`, `flask_cors/decorator.py`, `flask_cors/extension.py`, `flask_cors/version.py`.
 - Total lines of Python code added: 50.
 - Total lines of Python code deleted: 41.
2023-06-27 01:20:14 +01:00
github-actions[bot]
ca13bcc286 [stubsabot] Bump pyinstaller to 5.13.* (#10357)
* [stubsabot] Bump pyinstaller to 5.13.*

Release: https://pypi.org/pypi/pyinstaller/5.13.0
Homepage: https://www.pyinstaller.org/
Diff: https://github.com/pyinstaller/pyinstaller/compare/v5.12.0...v5.13.0

Stubsabot analysis of the diff between the two releases:
 - 1 public Python file has been added: `PyInstaller/hooks/pre_safe_import_module/hook-distutils.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 4 files included in typeshed's stubs have been modified or renamed: `PyInstaller/__init__.py`, `PyInstaller/building/api.py`, `PyInstaller/building/build_main.py`, `PyInstaller/compat.py`.
 - Total lines of Python code added: 962.
 - Total lines of Python code deleted: 648.

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

* Update compat.pyi

---------

Co-authored-by: stubsabot <>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-06-25 09:46:19 +01:00
Avasam
5af30e8620 Bump pyright to 1.1.315 and fix openpyxl tests (#10356) 2023-06-23 16:35:37 -07:00
Sebastian Rittau
b10f482e36 Bump mysqlclient to 2.2 (#10353)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-06-23 12:41:55 +01:00
github-actions[bot]
c402107f8a [stubsabot] Mark stdlib-list as obsolete since 0.9.0 (#10348)
Release: https://pypi.org/pypi/stdlib-list/0.9.0
Homepage: https://pypi.org/project/stdlib-list/
Diff: https://github.com/pypi/stdlib-list/compare/v0.8.0...v0.9.0
2023-06-23 07:17:04 +01:00
Jonathan Vanasco
4c1e94d8e0 Add missing constants to OpenSSL/crypto.pyi (#10345)
Adds typing for missing constants `TYPE_DH` and `TYPE_EC`

See https://github.com/pyca/pyopenssl/blob/main/src/OpenSSL/crypto.py#L94-L95
2023-06-21 20:21:17 +01:00
Sebastian Rittau
c3ddf3201a Bump croniter to 1.4 (#10341)
Also require `bytes` for all `hash_id`s for consistency, even
if some methods might work with other types as well. But
using other types might hint at some inconsistent type
usage and be a source of possible bugs.

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-06-21 14:37:30 +01:00
Sebastian Rittau
06c2fb047a Bump setuptools to 68.0 (#10339)
* Any -> Incomplete in a few files
* Bump setuptools to 68.0.*

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-06-21 13:26:55 +01:00
Oscar
aeb3bf7099 Add pexpect stubs (#10300) 2023-06-21 14:03:27 +02:00
FasterSpeeding
a46fe43477 [mock] take an iterable of calls for assert_has_awaits(#10337) 2023-06-20 18:21:05 -07:00
FasterSpeeding
f1543903c6 use ParamSpec in patch in mock stubs (#10338) 2023-06-20 18:20:49 -07:00
David Salvisberg
df795220a3 Add stubs for WebOb (#9874)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-06-18 07:32:49 -07:00
github-actions[bot]
7544b60db7 [stubsabot] Bump hdbcli to 2.17.* (#10320)
Release: https://pypi.org/pypi/hdbcli/2.17.14
Homepage: https://www.sap.com/

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-06-15 20:09:55 -07:00
Avasam
67fb6c0cab Type openpyxl incomplete dunders (#10313) 2023-06-15 17:38:02 +02:00
Avasam
8624edd3a5 openpyxl: type tagname, namespace and __doc__ ClassVar and params (#10308) 2023-06-14 07:24:44 +02:00
Avasam
8e4595a168 Type all openpyxl constants (#10312) 2023-06-13 09:11:56 +02:00
Avasam
8c582c4459 Complete openpyxl's nested descriptors (#10298) 2023-06-12 16:46:02 +02:00
Denis Laxalde
fce4fe7b88 psutil: import platform-specific 'pio' definitions (#10305) 2023-06-12 12:53:22 +02:00
Denis Laxalde
85a6dd14e1 psutil: declare return type of io_counters() (#10303) 2023-06-12 10:33:51 +02:00
github-actions[bot]
6a94c9d677 [stubsabot] Bump ujson to 5.8.* (#10302)
Release: https://pypi.org/pypi/ujson/5.8.0
Homepage: https://github.com/ultrajson/ultrajson
Diff: https://github.com/ultrajson/ultrajson/compare/5.7.0...5.8.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 15.
 - Total lines of Python code deleted: 17.
2023-06-12 01:25:12 +01:00
github-actions[bot]
919f1d0aca [stubsabot] Bump pyinstaller to 5.12.* (#10287)
Release: https://pypi.org/pypi/pyinstaller/5.12.0
Homepage: https://www.pyinstaller.org/
Diff: https://github.com/pyinstaller/pyinstaller/compare/v5.11.0...v5.12.0

Stubsabot analysis of the diff between the two releases:
 - 2 public Python files have been added: `tests/functional/scripts/pyi_lazy_import.py`, `tests/functional/test_import_lazy_loader.py`.
 - 0 files included in typeshed's stubs have been deleted.
 - 6 files included in typeshed's stubs have been modified or renamed: `PyInstaller/__init__.py`, `PyInstaller/building/build_main.py`, `PyInstaller/building/splash.py`, `PyInstaller/compat.py`, `PyInstaller/lib/modulegraph/modulegraph.py`, `PyInstaller/utils/win32/versioninfo.py`.
 - Total lines of Python code added: 647.
 - Total lines of Python code deleted: 887.
2023-06-09 08:37:37 +01:00
Mehdi Drissi
7da4847b1a Tensorflow losses (#10264)
Co-authored-by: Mehdi Drissi <mdrissi@snapchat.com>
2023-06-07 21:46:34 -07:00
Jeff Dairiki
4849ddd74a inifile: add missing attributes (#10273)
And make many attributes read-only. The primary entry point to this module in `IniFile` (or its subclass
`AppIniFile`). Since the config file is read (from `filename`) and
parsed (using the `dialect`) in the `IniFile` constructor, modifying
attributes like `IniFile.filename` or `IniFile.dialect` after
construction is likely to cause problems.
2023-06-07 23:00:49 +01:00
Sebastian Rittau
786bd22343 [aiofiles] Use file mode alias from _typeshed (#10233) 2023-06-07 06:14:03 -07:00
Alexander Burchenko
46de19d2cf add boltons (#8892)
Co-authored-by: Andrey Maslennikov <andrew.maslennikov@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-06-07 07:54:37 +01:00
Jeff Dairiki
89a22f9912 Add stubs for inifile (#10270) 2023-06-06 20:41:07 -07:00
github-actions[bot]
9d6e3564bb [stubsabot] Bump flake8-bugbear to 23.6.5 (#10265)
Release: https://pypi.org/pypi/flake8-bugbear/23.6.5
Homepage: https://github.com/PyCQA/flake8-bugbear
Changelog: https://github.com/PyCQA/flake8-bugbear#change-log
Diff: https://github.com/PyCQA/flake8-bugbear/compare/23.5.9...23.6.5

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: `bugbear.py`.
 - Total lines of Python code added: 31.
 - Total lines of Python code deleted: 18.

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-06-05 17:26:26 -07:00
Nikita Sobolev
c1a857a41a distutils package was removed in 3.12 (#10249) 2023-06-03 22:08:09 -07:00
github-actions[bot]
d5555b1018 [stubsabot] Bump regex to 2023.6.3 (#10252)
Release: https://pypi.org/pypi/regex/2023.6.3
Homepage: https://github.com/mrabarnett/mrab-regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2023.5.5...2023.6.3

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 8.
 - Total lines of Python code deleted: 2.
2023-06-04 01:42:36 +01:00