Commit Graph

1571 Commits

Author SHA1 Message Date
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
Jungkook Park
f6279c7122 [psutil] Fix cpu_percent return type when percpu is True (#10238) 2023-06-01 15:08:31 +02:00
Nikita Sobolev
7595478998 Bump paramiko to 3.2.* (#10237) 2023-06-01 12:21:55 +02:00
github-actions[bot]
d7a2b8b7fd [stubsabot] Bump pyOpenSSL to 23.2.* (#10235)
Release: https://pypi.org/pypi/pyOpenSSL/23.2.0
Homepage: https://pyopenssl.org/
Diff: https://github.com/pyca/pyopenssl/compare/23.1.1...23.2.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 149.
 - Total lines of Python code deleted: 25.
2023-05-31 18:17:02 -07:00
Nikita Sobolev
877e06ad1c Remove chardet stubs (#10234) 2023-05-31 14:19:47 -07:00
github-actions[bot]
2ec6ba979f [stubsabot] Mark pyvmomi as obsolete since 8.0.1.0.1 (#10172) 2023-05-30 13:53:15 +02:00
Jelle Zijlstra
0d0cbb6b97 Allowlist requests.compat.bytes.__buffer__ (#10231) 2023-05-28 21:23:00 -07:00
Glyph
82ea677495 pywin32: add HANDLEType class (#10032)
per http://timgolden.me.uk/pywin32-docs/PyHANDLE.html these objects actually have methods, they are not ints

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-27 20:44:01 -07:00
Jelle Zijlstra
2f65ca5cd4 Update pyscreeze stubs (#10223) 2023-05-26 15:11:56 +02:00
Jelle Zijlstra
4817408103 Update pyautogui (#10209)
Fixes #10207
2023-05-25 00:44:23 -07:00
github-actions[bot]
e821090926 [stubsabot] Bump requests to 2.31.* (#10199)
Release: https://pypi.org/pypi/requests/2.31.0
Homepage: https://requests.readthedocs.io
Diff: https://github.com/psf/requests/compare/v2.30.0...v2.31.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.
 - 2 files included in typeshed's stubs have been modified or renamed: `requests/__version__.py`, `requests/sessions.py`.
 - Total lines of Python code added: 26.
 - Total lines of Python code deleted: 4.
2023-05-23 07:21:52 +01:00
github-actions[bot]
560aaa1645 [stubsabot] Bump braintree to 4.20.* (#10198)
Release: https://pypi.org/pypi/braintree/4.20.0
Homepage: https://developer.paypal.com/braintree/docs/reference/overview
2023-05-23 07:20:53 +01:00
Mehdi Drissi
510547ef3c Add core tensorflow.data stubs (#10122)
Co-authored-by: Mehdi Drissi <mdrissi@snapchat.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-05-22 08:00:27 -07:00
Abtin
31f4b8cf80 add typing support to more aiofiles wrapped functions (#10175)
add stubs for missing functions:

- renames
- unlink
- link
- listdir
2023-05-22 07:44:00 -07:00
Sebastian Rittau
15df17098a [PyYAML] Improve dump/serialize types (#10196)
* Add overloads to return `str` or `bytes`, instead of `Any`.
* Mark some arguments as keyword-only.
* Add missing default values.
2023-05-22 16:40:04 +02:00
github-actions[bot]
35450d9c0d [stubsabot] Bump setuptools to 67.8.* (#10194)
Release: https://pypi.org/pypi/setuptools/67.8.0
Homepage: https://github.com/pypa/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v67.7.2...v67.8.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.
 - 2 files included in typeshed's stubs have been modified or renamed: `setuptools/command/easy_install.py`, `setuptools/version.py`.
 - Total lines of Python code added: 425.
 - Total lines of Python code deleted: 215.

---------

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-20 09:46:05 +01:00
Avasam
b5c9d8d677 Don't ignore missing stubs in setuptools (#10058) 2023-05-19 07:03:34 +01:00
Nikita Sobolev
f143f47b11 Mark invoke as obsolete since 2.1.2 (#10100) 2023-05-16 09:21:31 +01:00
Nikita Sobolev
c98e43b2bb Bump tzlocal to 5.0.1 (#10188) 2023-05-16 08:40:54 +01:00
Avasam
2d5dafadb7 openpyxl: Type MetaSerialisable dunders (#10170)
Typed `Serialisable.__attrs__`, `Serialisable.__nested__`, `Serialisable.__elements__`, and `Serialisable.__namespaced__` ClassVars.
2023-05-15 13:48:15 +02:00
Nikita Sobolev
3032e88595 Bump tzlocal to 5.0 (#10183) 2023-05-15 01:01:59 -07:00
Nikita Sobolev
aa36289684 Bump PyInstaller to 5.11.* (#10179)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-05-14 11:52:19 +01:00
Nikita Sobolev
6c54c74a84 Bump mypy to 1.3.0 (#10173)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-05-11 19:03:39 +01:00