Commit Graph

8350 Commits

Author SHA1 Message Date
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
Alex Waygood
5e7090ce4b Skip all parts of the daily test on forks of typeshed (#10782)
We skip 2/3 jobs in the daily test when running on forks:

b23042e854/.github/workflows/daily.yml (L33)

b23042e854/.github/workflows/daily.yml (L59)

But we missed this condition for the stub-uploader part

Fixes #10781
2023-09-26 20:19:43 +01:00
Nikita Sobolev
b23042e854 ssl.OP_ENABLE_KTLS should exist on linux (#10778) 2023-09-26 09:48:00 +02:00
Nikita Sobolev
9f4edca70e Update os and posix to python 3.12 on darwin (#10779) 2023-09-26 09:46:29 +02:00
Alex Waygood
3f9a3accc8 Declare that types-jsonschema requires Python 3.8+ (#10775) 2023-09-25 20:10:12 +02:00
Nikita Sobolev
df2efe6102 Update fcntl to python 3.12 (#10774) 2023-09-25 10:38:48 -07:00
Amin Alaee
9e79a100b3 Add os.splice and flags on Linux for Python 3.10+ (#10771) 2023-09-25 17:20:37 +02:00
Alex Waygood
a0b2583bb1 Add OrderedDict.__(r)or__ (#10770) 2023-09-25 06:47:02 -07:00
Amin Alaee
e69545844b Add os.eventfd, os.eventfd_read and os.eventfd_write to Linux for Python 3.10+ (#10768)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-09-25 14:10:56 +01:00
plokmijnuhby
cec86eb22e Replace __init__ with __new__ in builtins and types (#10761) 2023-09-25 14:12:23 +02:00
Aarni Koskela
3446594f0e [requests] Allow PreparedRequest for RequestException(request=...) (#10767) 2023-09-25 12:46:14 +02:00
Mikhail Samylov
d30bdc601d CONTRIBUTING.md: Avoid user mistake in the script; small fixes (#10765) 2023-09-25 12:44:06 +02:00
Sohang Chopra
da187a99a6 Add stubs for Flask-SocketIO (#10735)
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
2023-09-25 10:52:17 +01:00