Commit Graph

9358 Commits

Author SHA1 Message Date
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
Max Muoto
f698bb67fa Fix threading.pyi issues (#12304) 2024-07-09 22:44:55 -07:00
Max Muoto
465fdaad48 Update pydoc for Python 3.13 (#12305) 2024-07-09 22:44:02 -07:00
github-actions[bot]
9f24a1f523 [stubsabot] Bump setuptools to 70.3.* (#12308)
Release: https://pypi.org/pypi/setuptools/70.3.0
Repository: https://github.com/pypa/setuptools
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/setuptools
Changelog: https://setuptools.pypa.io/en/stable/history.html
Diff: https://github.com/pypa/setuptools/compare/v70.2.0...v70.3.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: `setuptools/_distutils/sysconfig.py`.
 - Total lines of Python code added: 35.
 - Total lines of Python code deleted: 2.

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 <>
2024-07-10 02:26:59 +01:00
Max Muoto
2a68dfc5fb maildir 3.13 changes (#12303) 2024-07-10 00:18:18 +02:00
Max Muoto
4b9eadad77 Resolve 3.13 pdb errors (#12267) 2024-07-09 22:15:37 +02:00
Max Muoto
23fd30f563 Update types.SimpleNamespace for 3.13 (#12297) 2024-07-09 21:22:57 +02:00
danieleades
694c982b4f improve type annotations in 'docutils.parsers.rst.states' (#11545) 2024-07-09 14:00:57 +02:00
github-actions[bot]
f4dfa5ada0 [stubsabot] Bump pyinstaller to 6.9.* (#12289)
Co-authored-by: stubsabot <>
2024-07-09 02:20:45 -04:00
Alex Waygood
95176bde5f Pin pygit2 to 1.15.0 (#12293)
Fixes #12292
2024-07-08 01:46:49 +01:00
danieleades
5305de8327 remove generic 'context' from 'docutils.parsers.rst.RSTState' (#12291) 2024-07-07 11:49:44 +02:00
sobolevn
7c26da22bd Fix str2bool failure on stubsabot dry-run (#12287) 2024-07-06 13:42:15 -07:00
sobolevn
99c1b7102a is_lazy_fixture in pytest-lazy-fixture is a TypeIs function (#12285) 2024-07-06 11:51:03 +01:00
Max Muoto
0fc33ace47 Update xml.etree.ElementTree for 3.13 (#12277) 2024-07-04 12:31:25 -07:00
Max Muoto
6356150327 Fix Pathlib.from_uri return-type (#12276) 2024-07-04 12:28:55 -07:00
Max Muoto
582f08bf7c Add _interpqueues for 3.13 (#12240) 2024-07-04 18:41:11 +02:00
Sebastian Rittau
311612ed38 [stubsabot] Improve error message (#12273)
Cf. #12272
2024-07-04 10:01:57 +01:00
Jelle Zijlstra
64d07ae128 abc: Shorten @deprecated messages (#12271)
Noticed this in primer output from python/mypy#17476.
2024-07-04 07:35:33 +01:00
Max Muoto
4faad91075 Add _interpreters module for 3.13 (#12230) 2024-07-03 21:33:07 -07:00
ZivRonen
2ea26f7da6 add stub library for str2bool (#12260) 2024-07-03 20:30:32 -07:00
Max Muoto
0d2b9dfe12 Add missing replace dunders (#12265) 2024-07-03 20:30:22 -07:00
Kumar Aditya
98cf9a23eb Fix stubs for async generator methods (#12232) 2024-07-03 20:18:28 -07:00
Alexander Daryin
bc6335c238 Create check_zip.py (#12233) 2024-07-03 20:16:14 -07:00
renovate[bot]
aa44da652e Update dependency pyright to v1.1.370 (#12270)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-04 01:18:43 +01:00
Matt
e67340b98c Add global_context keyword to gdb.parse_and_eval in GDB stub (#12269) 2024-07-03 11:00:29 -07:00
Adam Dangoor
ea34c97ccc Expand docutils.parsters.rst.states (#12226) 2024-07-03 14:23:56 +02:00
Avasam
45d162c9ee Bump setuptools to 70.2.* (#12261) 2024-07-03 12:59:08 +02:00
Max Muoto
683ff51acb Resolve 3.13 turtle issues (#12266) 2024-07-03 07:49:21 +01:00
Max Muoto
989e25043c More accurate mmap.seekable type for 3.13 (#12264) 2024-07-02 19:12:01 -07:00