Commit Graph

8712 Commits

Author SHA1 Message Date
Sebastian Rittau
54a8fd74a7 PyInstaller: List ignored building sub-modules explicitly for stubtest (#10845)
This prevents stubtest from ignoring errors in modules that are stubbed.
2023-10-06 12:05:46 +01:00
Marti Raudsepp
ee6df10dcc [pyjks] Fill in jks.bks and other modules, improved constructors (#10815) 2023-10-06 11:09:11 +02:00
Nikita Sobolev
a12b2053cd Add SetErrorMode to msvcrt module (#10842) 2023-10-05 22:06:11 +01:00
Alex Waygood
011f24794d types-requests, types-influxdb-client: add note to the PyPI readme about the urllib3 pin (#10839) 2023-10-05 12:12:47 +01:00
github-actions[bot]
863423fbfe [stubsabot] Bump tzlocal to 5.1 (#10836)
Release: https://pypi.org/pypi/tzlocal/5.1
Repository: https://github.com/regebro/tzlocal
Diff: https://github.com/regebro/tzlocal/compare/5.0.1...5.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: `tzlocal/windows_tz.py`.
 - Total lines of Python code added: 39.
 - Total lines of Python code deleted: 15.
2023-10-05 01:28:44 +01:00
Sebastian Rittau
af8c3a1b93 [bleach] Add html5lib_shim.Filter__init__/__iter__ (#10835)
The missing __init__ method caused `Filter` to be incompatible
with the `_Filter` protocol, preventing valid initialization of
`Cleaner` instances.

Closes: #10834
2023-10-04 17:19:26 +01:00
James Hilton-Balfe
25eb99cbec Add better types for asyncio.gather (#9678) 2023-10-04 10:10:41 +01:00
Avasam
c30c85dfcb Type all @property in openpyxl (#10787) 2023-10-04 11:05:30 +02:00
Avasam
741f751c2e Bump pyasn1 to 0.5.* (#10801) 2023-10-04 10:59:15 +02:00
David Salvisberg
2e62753e2f Bump greenlet to 3.0.* (#10833) 2023-10-03 23:24:55 -07:00
github-actions[bot]
d60e66712a [stubsabot] Bump regex to 2023.10.3 (#10832) 2023-10-03 18:41:22 -07:00
Nikita Sobolev
cc5b3f8bc4 Fix platform availability of some os/posix constants (#10831) 2023-10-03 15:20:00 +01:00
pre-commit-ci[bot]
ff520ca9f2 Bump ruff to 0.0.292 (#10830)
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.287 → v0.0.292](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.287...v0.0.292)
2023-10-03 12:54:45 +01:00
github-actions[bot]
ca139ad726 [stubsabot] Bump influxdb-client to 1.38.* (#10826)
Release: https://pypi.org/pypi/influxdb-client/1.38.0
Homepage: https://github.com/influxdata/influxdb-client-python
Repository: https://github.com/influxdata/influxdb-client-python
Diff: https://github.com/influxdata/influxdb-client-python/compare/v1.37.0...v1.38.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.
 - 3 files included in typeshed's stubs have been modified or renamed: `influxdb_client/_sync/rest.py`, `influxdb_client/client/write/dataframe_serializer.py`, `influxdb_client/version.py`.
 - Total lines of Python code added: 13.
 - Total lines of Python code deleted: 12.
2023-10-03 11:36:17 +01:00
github-actions[bot]
8f8eb2018e [stubsabot] Bump flake8-typing-imports to 1.15.* (#10827)
Release: https://pypi.org/pypi/flake8-typing-imports/1.15.0
Homepage: https://github.com/asottile/flake8-typing-imports
Repository: https://github.com/asottile/flake8-typing-imports
Diff: https://github.com/asottile/flake8-typing-imports/compare/v1.14.0...v1.15.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.
 - 1 file included in typeshed's stubs has been modified or renamed: `flake8_typing_imports.py`.
 - Total lines of Python code added: 288.
 - Total lines of Python code deleted: 1651.
2023-10-03 06:07:50 +01:00
Alex Waygood
860e34eec9 Fix allowlist entries in asyncio.windows_events (#10824)
And fix the return value of return value of `IocpProactor.recvfrom_into()`, which was incorrect

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-10-02 16:04:11 +01:00
Alex Waygood
54d825af59 Fix Windows-specific allowlist entries in _msi, msilib, selectors and subprocess (#10822) 2023-10-02 13:01:47 +02:00
Nikita Sobolev
07e611d41f select.POLLRDHUP does not exist on macos (#10823) 2023-10-02 11:59:29 +01:00
Nikita Sobolev
66d183fc56 mimetypes.MimeTypes.read_windows_registry always exists (#10821) 2023-10-02 11:35:48 +01:00
Nikita Sobolev
b3b5661f80 Add DefaultSelector.fileno on platforms where it exists (#10820) 2023-10-02 11:15:49 +01:00
Avasam
31916d1e0c Remove redundant NoReturn union in openpyxl (#10819) 2023-10-02 11:07:21 +02:00
Alex Waygood
205cfcfca6 Fix availability of some constants for Windows (#10818) 2023-10-01 16:27:55 -07:00
Alex Waygood
efa7a51d09 Add a few missing things on Windows, py310+ (#10817) 2023-10-01 23:30:44 +01:00
bzoracler
3eb9ff7f65 fix __match_args__ attribute name (#10813) 2023-10-01 07:51:02 -07:00
Nikita Sobolev
bd4462cc62 Re-export SYSPROTO_CONTROL and PF_SYSTEM in socket on macos (#10814) 2023-10-01 15:38:44 +01:00
Marti Raudsepp
1163a5ecfb Add stubs for pyjks (#10797)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-10-01 12:31:34 +01:00
Alex Waygood
559d31c4a3 Remove stubs for urllib3 (#10812)
Both types-requests and types-influxdb-client now depend on urllib3>=2 instead of types-urllib3. That in turn means that types-caldav, types-slumber and types-requests-oauthlib all depend indirectly on urllib3>=2, since all three stubs packages depend on types-requests.
2023-10-01 00:01:12 +01:00
Nikita Sobolev
460fa14dfc Fix curses.color_pair signature (#10811)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-30 20:58:37 +01:00
Nikita Sobolev
16b9884601 Fix _posixsubprocess module for python3.12 (#10809) 2023-09-30 17:51:33 +01:00
Nikita Sobolev
4c5d3e5ad2 Some curses functions were removed in 3.12 for macos (#10808) 2023-09-30 11:28:09 +02:00
Nikita Sobolev
398b31de92 Removed unused sections from allowlists (#10804) 2023-09-29 22:53:45 +01:00
Nikita Sobolev
ec69d98778 locale: Remove some hopefully-unnecessary allowlist entries for macos-3.10 (#10805) 2023-09-29 22:44:40 +01:00
Nikita Sobolev
f97fbb4e63 Remove dj-database-url stubs (#10806) 2023-09-29 14:33:29 -07:00
Nikita Sobolev
7cf1fed75d Fix sigtimedwait and sigwaitinfo signature (#10803) 2023-09-29 12:38:14 -07:00
Nikita Sobolev
1ac5b7b1ac Add x_exports to xxlimited (#10802) 2023-09-29 10:54:58 +02:00
Avasam
747222469d Bump pyinstaller to 6.0.* (#10800) 2023-09-28 22:30:59 -07:00
David Salvisberg
f8a673f12a Add stubs for WTForms (#10557)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2023-09-28 22:30:29 -07:00
github-actions[bot]
cb4425f9fa [stubsabot] Bump cffi to 1.16.* (#10799)
Release: https://pypi.org/pypi/cffi/1.16.0
Homepage: http://cffi.readthedocs.org
Repository: https://foss.heptapod.net/pypy/cffi
Changelog: https://cffi.readthedocs.io/en/latest/whatsnew.html
2023-09-28 22:29:24 -07:00
Sebastian Rittau
7cc2282959 [ctypes] Add note about atypical classmethod behavior (#10795) 2023-09-28 22:28:10 -07:00
Imogen
b76b2afdf3 Fix typings for unittest.TestCase.assertLessEqual (#10798) 2023-09-29 01:03:20 +02:00
Sebastian Rittau
6074a8f544 [tty] py312: Fix return types of set(raw|cbreak) (#10785)
Also add `termios._AttrReturn` type alias to be used in tty
2023-09-28 07:15:20 -07:00
Amin Alaee
4ea52b3bcf Update resource.prlimit for Python 3.12+ (#10794)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-28 13:59:51 +01:00
Amin Alaee
ac4f4a4c94 Add os.setns for Linux on Python 3.12+ (#10789) 2023-09-28 13:53:25 +02:00
Amin Alaee
c6161f7108 Limit os.sendfile arguments based on platform (#10790) 2023-09-28 13:36:25 +02:00
Denis Laxalde
24712f66a9 Add SimpleHTTPRequestHandler's directory attribute (#10788) 2023-09-28 13:20:19 +02:00
Nikita Sobolev
c9835481e3 Add MAP_STACK to mmap module (#10792)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-28 11:12:41 +01:00
Amin Alaee
99ce091f17 Make os.setresuid and os.setresgid positional-only (#10791) 2023-09-28 10:10:21 +01:00
Nikita Sobolev
4dad5311d5 Update tty to python 3.12 (#10784) 2023-09-27 11:15:32 +02:00
Harshal Sheth
ec52bf1add [requests] loosen HTTPError constructor (#10776) 2023-09-27 08:02:46 +02:00
bzoracler
8d0bdfe9ea add missing method stub for match_case node (#10783)
`match_case` is a leaf node and is a valid target for `visit_*`. See 2ef2fffe3b/Lib/ast.py (L1697-L1704)
2023-09-26 13:27:11 -07:00