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
Alex Waygood
c63dd5941f
Improve how we run pyright in CI ( #10258 )
...
Avoid using the deprecated `--venv-path` command-line argument
2023-06-23 09:26:19 +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
Alex Waygood
4a692fc546
Fix stubtest for py312b3 ( #10343 )
2023-06-21 15:46:50 +01:00
Kirill Podoprigora
f3a0be32fe
Add is_cli param to pydoc.pyi ( #10331 )
2023-06-21 14:58:03 +01:00
Alex Waygood
6652add920
CI: run more jobs on py311 ( #10342 )
2023-06-21 06:54:49 -07: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
James Hilton-Balfe
4cfc49882e
Rename Generator-like type params to be more obvious ( #10330 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-06-21 13:50:33 +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
Alex Waygood
007a65a7fe
CI: Pin Python to 3.7.16 for stubtest runs on macos ( #10336 )
2023-06-20 16:35:28 -07:00
Alex Waygood
8ec2323c0a
Replace static assertion that fails with pyright ( #10335 )
...
See https://github.com/python/typeshed/pull/10325#issuecomment-1598684045
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2023-06-20 14:56:14 +01:00
Shantanu
9e86c6026a
unittest.mock: use ParamSpec in patch ( #10325 )
...
Fixes #10324
2023-06-20 13:48:49 +02:00
Shantanu
7114aecf77
inspect: getmodulename takes a PathLike as well as str ( #10329 )
...
Fixes #10328
2023-06-18 21:19:57 +01: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
Alex Waygood
c38fc45d9c
Make CVE-2020-10735 allowlist entries Windows-only ( #10318 )
2023-06-14 10:36:24 -07:00
Jelle Zijlstra
5beddbe883
Add PEP 706 filters to tarfile ( #10316 )
...
Fixes #10315
Co-authored-by: Sebastian Rittau <srittau@rittau.biz >
2023-06-14 15:08:32 +01:00
Sebastian Rittau
5f9d05c7f5
TemporaryFile(): Handle one more case correctly ( #10284 )
2023-06-14 05:33:01 -07:00
Alex Waygood
6e90fce4b8
Update pyright to 1.1.314 ( #10317 )
2023-06-14 10:33:01 +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
d622a2755d
Update vscode recommended settings ( #10314 )
2023-06-13 09:09:19 +02:00
Sebastian Rittau
ce222e5cd7
Split requirements file into sections ( #10309 )
...
Also note that type checkers and linters should be pinned to a specific
version.
2023-06-12 20:18:16 +02:00
Sebastian Rittau
be925c0d3f
Check that linters/type checkers are pinned to an exact version ( #10311 )
2023-06-12 20:12:14 +02:00
Sebastian Rittau
5092f52c45
Update description of test scripts ( #10310 )
2023-06-12 18:42:33 +01:00
Andrew Sansom
9ca4724204
argparse: Add overloads for arg parser methods ( #10307 )
2023-06-12 18:43:07 +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
Nikita Sobolev
75fc33d8d0
Update zoneinfo for Python3.12 ( #10304 )
2023-06-12 12:34:03 +03: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
Oleg Höfling
052d2b9f3a
Fix base class for email.generator.BytesGenerator ( #10299 )
...
And use `Self` as the return type for `email.generator.Generator.clone`.
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com >
2023-06-11 17:02:32 +01:00
Oleg Höfling
c88ce93614
Use Self as the return type for email.policy.Policy.clone ( #10301 )
...
Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com >
2023-06-11 16:36:45 +01:00
Alex Waygood
640676bdb2
Mark arguments of typing.NamedTuple.__init__ as positional-only ( #10292 )
2023-06-11 12:28:01 +02:00
Sam Bull
e11dbc20da
Add missing __eq__ to Mapping ( #10297 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-06-10 13:56:08 +01:00
Nikita Sobolev
0b98780c81
Add new http.HTTPStatus/__init__.pyi for Python3.12 ( #10296 )
2023-06-10 10:34:28 +01:00
Nikita Sobolev
0aa5dd57e5
Update ctypes stubs for Python 3.12 ( #10290 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com >
2023-06-09 19:55:03 +01:00
Nikita Sobolev
1851423519
Fix CI for Python 3.12.0b2 ( #10291 )
2023-06-09 18:17:30 +01:00
Nikita Sobolev
258cabe3a1
Update uuid.pyi for Python3.12 ( #10289 )
2023-06-09 09:33:08 +01:00
Nikita Sobolev
f0e9ec11e4
Add AsyncGeneratorType.ag_suspended ( #10288 )
...
New in Python 3.12
2023-06-09 08:40:23 +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
Nikita Sobolev
852ac3efb3
Update _thread.pyi for Python3.12 ( #10285 )
2023-06-08 15:23:57 +02:00
Shantanu
36efbf89ed
ftplib: update for py312 ( #10282 )
2023-06-08 00:57:44 -07:00
Nikita Sobolev
0045299d43
Update token.pyi and tokenize.pyi for Python3.12 ( #10283 )
2023-06-08 08:38:36 +01:00
Nikita Sobolev
8528888691
Update multiprocessing.pyi for Python3.12 ( #10279 )
2023-06-08 08:37:44 +01:00