Commit Graph

7997 Commits

Author SHA1 Message Date
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
Nikita Sobolev
23bb0494ab Update pkgutil.pyi for Python3.12 (#10281) 2023-06-08 08:37:15 +01:00
Shantanu
d778855052 webbrowser: update for py312 (#10280) 2023-06-08 08:14:10 +01:00
Nikita Sobolev
8eb5751084 Module imp was removed in 3.12 (#10278) 2023-06-08 07:49:25 +01:00
Sebastian Rittau
0fe724dfab Tighten tempfile() return types (#10232) 2023-06-07 21:57:13 -07: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
Nikita Sobolev
b0a3917145 Update dis.pyi and opcode.pyi for Python3.12 (#10276) 2023-06-07 20:33:50 +01:00
Nikita Sobolev
f10b5fb9b6 Update locale.pyi for Python3.12 (#10274) 2023-06-07 19:41:07 +01:00
Sebastian Rittau
786bd22343 [aiofiles] Use file mode alias from _typeshed (#10233) 2023-06-07 06:14:03 -07:00
Shantanu
e1ab1ad2fb calendar: update for py312 (#10216) 2023-06-07 00:52:19 -07:00
Alex Waygood
85bdd0a16d Update pyright to 1.1.312 (#10271)
Should unblock #10216 and #10258
2023-06-07 08:39:50 +01: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
Nikita Sobolev
e347af1d59 Update functools.pyi for Python3.12 (#10269) 2023-06-06 22:48:36 +01:00
Sebastian Rittau
70d8d059a0 Make all tests executable (#10267) 2023-06-06 15:42:07 +02:00
Shantanu
fceb3ae225 argparse: improve add_argument_group and add_mutually_exclusive_group (#10262) 2023-06-06 08:27:51 +02: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
9456f5501b Update socket stubs for Python3.12 (#10247)
Docs: https://github.com/python/cpython/blob/3.12/Doc/library/socket.rst
Source: https://github.com/python/cpython/blob/3.12/Modules/socketmodule.c#L8441
2023-06-05 09:32:02 +01:00
Nikita Sobolev
59d08c00d5 Update sys.pyi for Python3.12 (#10245)
Source: https://github.com/python/cpython/blob/3.12/Python/sysmodule.c
Docs: https://github.com/python/cpython/blob/3.12/Doc/library/sys.rst
2023-06-05 09:07:37 +01:00
Shantanu
a770216434 Make stubtest work better on macOS (#10263) 2023-06-04 16:10:15 -07:00
Shantanu
f8dfacb851 pathlib: more changes for py312 (#10261) 2023-06-05 00:04:59 +01:00
Shantanu
758afb35d4 Some light reorganisation of stubtest allowlists (#10260)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-06-04 15:40:45 -07:00
Shantanu
ef41a9ff1a Remove venv for stubtest stdlib (#10259) 2023-06-04 14:35:40 -07:00
Alex Waygood
cf25698325 tempfile: more updates for py312 (#10256) 2023-06-04 12:13:12 -07:00
Alex Waygood
c3791d024a pathlib: is_mount() is implemented on Windows on py312+ (#10257) 2023-06-04 12:09:06 -07:00
Shantanu
7df870f452 Run stubtest for Python 3.12 (#10253) 2023-06-04 05:53:03 -07:00
Shantanu
03f1577607 Update pyright to 1.1.311 (#10254) 2023-06-04 10:02:34 +01: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
Shantanu
be85cc7121 builtins: updates for py312 (#10211)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-06-04 01:05:40 +01:00
Alex Waygood
d8ef303e00 Bump pycln and pathspec test dependencies (#10251) 2023-06-03 14:46:33 +01:00
Nikita Sobolev
b25150aa30 py312: Add delete=True parameter to tempfile.TemporaryDirectory (#10244)
Source: https://github.com/python/cpython/blob/3.12/Lib/tempfile.py#L864
2023-06-03 14:30:30 +01:00
Nikita Sobolev
e5651db430 Update socketserver for Python3.12 (#10246)
Source: https://github.com/python/cpython/blob/3.12/Lib/socketserver.py
2023-06-03 13:53:51 +01:00
Nikita Sobolev
c85f7de957 Update csv stubs for Python3.12 (#10250) 2023-06-03 13:45:43 +01:00
Jelle Zijlstra
628c88d995 Update ast for 3.12 (#10201) 2023-06-02 17:11:13 -07:00
Jelle Zijlstra
7bc4be08d8 Update some dependencies (#10243) 2023-06-02 16:54:52 -07:00
Nikita Sobolev
185faf00cd Update threading for py312 (#10241)
Add `setprofile_all_threads` and `settrace_all_threads`
2023-06-02 16:27:54 +01:00
Nikita Sobolev
178184c949 Update zipimport for python3.12 (#10240)
The `find_loader` and `find_module` methods were removed: https://github.com/python/cpython/blob/3.12/Lib/zipimport.py
2023-06-02 16:11:13 +01:00
Nikita Sobolev
6de0aa0c70 CI: Unpin micro-versions (#10239) 2023-06-02 11:23:33 +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
Kyle Benesch
cbd51e544d Make sys.UnraisableHookArgs a Protocol (#10227) 2023-06-01 09:57:59 +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