Commit Graph

9443 Commits

Author SHA1 Message Date
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
BJ Hargrave
1f8c439ceb Update assertpy/extracting.pyi so that kwargs are not required (#12229)
The recent change to better type the `sort` and `filter` kwargs had the
side effect of making them required. So we fix to supply a default
argument.

Signed-off-by: BJ Hargrave <bj@hargrave.dev>
2024-07-02 12:20:50 -07:00
Adam Dangoor
02d2f5f09e Specify stream type of Docker logs (#12214)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-07-02 18:47:47 +01:00
Benjamin Kirkbride
d498fe148e add stubs for networx.has_path (#12252) 2024-07-02 10:14:56 +02:00
github-actions[bot]
5bf3f47496 [stubsabot] Bump python-crontab to 3.2.* (#12253) 2024-07-02 10:14:05 +02:00
Max Muoto
b5ec69f608 Add missing strict argument for itertools.batched (3.13) (#12256)
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
2024-07-01 23:33:31 -07:00
Shantanu
73d5a55a32 Fixes for 3.13b3 (#12257)
Fixes #12255
2024-07-01 23:07:08 -07:00
Bénédikt Tran
6b4cd03d34 Update `symtable` stubs for 3.13 and 3.14 (#12183) 2024-07-01 23:49:34 +01:00
sobolevn
d029c30a16 Add _only_immortal to sys.getunicodeinternedsize (#12248)
Source: https://github.com/python/cpython/blob/3.13/Python/sysmodule.c#L2007-L2026
2024-07-01 23:31:06 +01:00
renovate[bot]
6e333e6ba7 Update most test/lint dependencies (#12246)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-30 18:38:33 -07:00
Shantanu
dcab6e8888 Use Python 3.12 for mypy_primer (#12244)
I'd like for us to cover projects that use Python 3.12 only syntax
2024-06-30 16:43:28 -07:00
Max Muoto
5522613b99 Add missing zipimporter methods (#12242)
Add missing zipimporter methods
2024-06-30 12:53:02 -07:00
sobolevn
ae6e261c4f Bump reportlab to 4.2.2 (#12227) 2024-06-30 12:39:51 +02:00
sobolevn
9fcaf3fe31 Bump openpyxl to 3.1.5 (#12238) 2024-06-29 22:10:14 +02:00
Adam Dangoor
712e4146ef Allow users of docker run, create to not give name/version (#12234) 2024-06-28 13:29:20 +02:00
sobolevn
db7dd4cd54 Replace Github -> GitHub in scripts/stubsabot.py (#12228) 2024-06-27 17:15:16 +02:00