Commit Graph

9486 Commits

Author SHA1 Message Date
Max Muoto
304b8e9626 Add missing posix functions for 3.13 (#12375) 2024-07-20 12:26:35 -07:00
Max Muoto
fa0c14fa33 Enforce Positional Arguments for _CData.from_param (#12373) 2024-07-20 12:21:36 -07:00
Max Muoto
9f9a461bc1 Add mmap MacOS constants for 3.13 (#12374) 2024-07-20 12:17:05 -07:00
Max Muoto
18bac0ba7e Add os.waitid for macos in 3.13 (#12376)
Add waitid for macos in 3.13
2024-07-20 12:15:16 -07:00
Nelson Yeung
389b318691 [docker] Add restart_policy type annotation to Container model (#12366) 2024-07-19 18:39:29 +02:00
Noam
cc7c950381 Openpyxl fixes for worksheet and image. (#12363) 2024-07-18 16:41:45 +02:00
Noam
6b919d76e2 Add dimensions for openpyxl Image. (#12362) 2024-07-18 12:28:39 +02:00
Sebastian Rittau
6552aa3d2c Bump pyright to 1.1.372 (#12361) 2024-07-18 03:08:53 -07:00
Jelle Zijlstra
d482d4e83c More precise type for TypeAliasType.__getitem__ (#12354)
At runtime, this always returns a GenericAlias; see typealias_subscript
in Objects/typevarobject.c. See microsoft/pyright#8444.
2024-07-17 06:37:31 -07:00
Alex Waygood
6d68b57d74 Pin croniter to 2.0.5 (#12356) 2024-07-17 01:47:08 +01:00
Sebastian Rittau
cc40120ee5 mypy_test: Exclude sub-modules not in current Py version (#12352) 2024-07-16 16:04:54 +02:00
sobolevn
274b10da70 Bump cachetools to 5.4.* (#12353) 2024-07-16 14:07:42 +01:00
Jelle Zijlstra
1209816e48 Add .closed property to NamedTemporaryFile (#12349)
This is necessary for a NamedTemporaryFile to be compatible with io.TextIOWrapper.
2024-07-16 13:03:54 +02:00
Sebastian Rittau
f0afb04395 Extract VERSIONS parsing to _utils.py (#12351) 2024-07-16 12:51:15 +02:00
Max Muoto
d56c7bb2e0 Enforce positional arguments for set_threshold in gc (#12350) 2024-07-16 11:29:25 +02:00
Max Muoto
0df6028dc8 Use Final for Constant Literals in the stdlib (#12332)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-07-15 18:07:34 +01:00
Justin Su
02b05d67c4 Fix type for FileCookieJar.filename (#12333) 2024-07-15 14:30:32 +02:00
Max Muoto
ac3d422330 Enforce positional args for codec functions (#12343) 2024-07-15 14:03:33 +02:00
Max Muoto
f863db6bc5 Update tkinter.PhotoImage (#12342)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2024-07-15 00:42:27 +03:00
Max Muoto
1b9e90baab Use positional-only parameters for ctypes functions (#12341) 2024-07-13 22:16:42 -07:00
Alex Waygood
16341c749a Fix stubtest for shapely (#12339)
Fixes #12338
2024-07-13 17:56:29 -07:00
Max Muoto
35b84f2f21 Update email.utils for 3.13 (#12336)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-07-13 14:08:28 -07:00
sobolevn
4740d320c5 Bump pygit2 to 1.15.* (#12319) 2024-07-13 17:38:05 +02:00
sobolevn
c4f7a72e50 macos does not have sed --in-place argument (#12330) 2024-07-13 06:02:22 -07:00
Kirill Podoprigora
1eb6e223f4 Add `MimeTypes.add_types` method (#12329) 2024-07-13 10:29:46 +02:00
Max Muoto
670ca3125b Resolve asyncio issues for 3.13 (#12327) 2024-07-13 10:12:15 +02:00
Max Muoto
6a9b53e719 Update _collections_abc for 3.13 (#12309) 2024-07-11 17:35:16 -07:00
Max Muoto
4f2dcdecde Update CoverageResults for 3.13 (#12325) 2024-07-11 17:19:40 -07:00
BJ Hargrave
f6eb38bddd Update assertpy/string.pyi to correct type of pattern arg (#12235)
The methods requires the pattern arg to be of type str, not Pattern.

Signed-off-by: BJ Hargrave <bj@hargrave.dev>
2024-07-11 17:16:10 -07:00
Kirill Podoprigora
ed34247cfa [warnings]: Update _ActionKind to match Python 3.14 (#12243) 2024-07-11 17:15:32 -07:00
Max Muoto
4316e00c9e Make MemoryView Generic, make cast accurate (#12247) 2024-07-11 17:12:44 -07:00
Victorien
3b5b642fdb Use TypeIs for inspect.getmembers(_static) (#12275) 2024-07-11 17:10:21 -07:00
Andria Brown
ee24958e1e requests: Add connection property (type HTTPAdapter) to the Response class (#12279)
The `Response` instance is built by `HTTPAdapter`. When built, a property called `connection` is added to the `Response` that points back to the `HTTPAdapter` that created it. For example, this is used in the `requests` library's `HTTPDigestAuth` class to remake requests with credentials after authorization is requested by a server.
2024-07-11 17:09:07 -07:00
github-actions[bot]
96c8ade843 [stubsabot] Bump peewee to 3.17.6 (#12290)
Release: https://pypi.org/pypi/peewee/3.17.6
Homepage: https://github.com/coleifer/peewee/
Repository: https://github.com/coleifer/peewee
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/peewee
Diff: https://github.com/coleifer/peewee/compare/3.17.5...3.17.6

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: `peewee.py`.
 - Total lines of Python code added: 234.
 - Total lines of Python code deleted: 61.
2024-07-11 17:08:29 -07:00
Max Muoto
c01bd592d6 Fix 3.13 bdb issues (#12324) 2024-07-11 17:07:34 -07:00
Max Muoto
3bb81c139b SRE_FLAG_TEMPLATE removed in 3.13 (#12322) 2024-07-11 17:07:11 -07:00
Max Muoto
08c44b7895 Resolve importlib.metadata 3.13 issues (#12299) 2024-07-11 17:04:55 -07:00
Sebastian Rittau
eb0422195e [jsonschema] Update to 4.23.* (#12301) 2024-07-11 17:02:11 -07:00
Max Muoto
4ccf78d234 Fix site module 3.13 issues (#12323) 2024-07-11 16:54:12 -07:00
Max Muoto
706a0ff801 Update zipfile for 3.13 (#12321) 2024-07-11 16:50:43 -07:00
Max Muoto
e80ca57ba1 DBM updates for 3.13 (#12302) 2024-07-11 17:51:53 +02:00
Kanishk Pachauri
b24dfccb74 Add defaults to the generic parameters of BaseExceptionGroup and ExceptionGroup (#12258)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2024-07-11 06:11:19 -07:00
renovate[bot]
5344c4b7ae Update dependency pyright to v1.1.371 (#12316)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-10 18:57:42 -07:00
M Bussonnier
b17ed95818 Docutils: wrong type: SystemMessage vs system_message (#12314) 2024-07-10 17:50:52 +02:00
Max Muoto
64d4949cae Fix dis module issues for 3.13 (#12306) 2024-07-10 17:49:15 +02:00
sobolevn
57c524d822 [flake8] Improve Statistic typing (#12313) 2024-07-10 11:03:43 +01:00
Oguzhan Mete Ozturk
6db5f35f4d [docker] Update ports type annotation (#12284) 2024-07-10 11:57:27 +02:00
sobolevn
9f2a9d8579 Add a typevar with a default to io.TextIOWrapper (#12286) 2024-07-10 11:41:57 +02:00
sobolevn
e8cc1e46fe Add _write method to flake8.formatting.BaseFormatter (#12312)
It is very useful for real-life custom formatters. Example: 470d811746/wemake_python_styleguide/formatter.py (L92-L96)

Definition: 65a38c42a7/src/flake8/formatting/base.py (L173-L178)
2024-07-10 12:41:40 +03:00
Max Muoto
9bf9d1571e Fix unittest for 3.13 (#12307) 2024-07-10 10:23:58 +02:00