Commit Graph

9443 Commits

Author SHA1 Message Date
Sebastian Rittau
fdce887b94 Add missing struct_spwd fields (#12158) 2024-06-18 06:59:43 -07:00
Sebastian Rittau
c303b3221e plock is not available on linux (#12161) 2024-06-18 06:41:55 -07:00
Patrick Rauscher
7df401e5e7 multiprocessing: fix iterator of Array (#12129) (#12130) 2024-06-18 13:04:14 +02:00
Max Muoto
d7adfeb857 Add missing __init__ for ReferenceType (#12125) 2024-06-18 13:00:40 +02:00
Sebastian Rittau
e29579458d Document select.epoll.register allowlist entries (#12159) 2024-06-18 12:16:52 +02:00
Sebastian Rittau
21365a37f4 Document the availability of the os.CLONE_ constants (#12160) 2024-06-18 12:16:12 +02:00
Sebastian Rittau
212af7a526 Pin various stubs to numpy to < 2 (#12152)
Fixes #12146
2024-06-17 15:50:22 +02:00
Adam Dangoor
1af9de664f [docker] Add a number of types to docker.models.containers.Container (#12077) 2024-06-16 12:05:42 +02:00
Ali Hamdan
77ef4d639e Replace np.float_ alias removed in numpy 2.0 (#12138) 2024-06-16 11:45:25 +02:00
LY(退网/offline)
3a10775d5e Flask-SocketIO: fix type hints (#12140) 2024-06-16 11:43:07 +02:00
github-actions[bot]
340935b8b8 [stubsabot] Bump flake8 to 7.1.* (#12139)
Release: https://pypi.org/pypi/flake8/7.1.0
Homepage: https://github.com/pycqa/flake8
Repository: https://github.com/pycqa/flake8
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/flake8
Diff: https://github.com/pycqa/flake8/compare/7.0.0...7.1.0

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 7.
 - Total lines of Python code deleted: 3.
2024-06-16 01:18:56 +01:00
renovate[bot]
114409d49b Update dependency pyright to v1.1.367 (#12135)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-13 07:35:14 +01:00
Pavel Karateev
587ad6bad8 tkinter.tix is removed in Python 3.13 (#12134)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-06-12 15:15:11 +01:00
Alex Waygood
0c3514d036 Sort VERSIONS alphabetically (#12133) 2024-06-12 16:03:32 +02:00
Alex Waygood
3ab03deec3 Upgrade to latest 3.12 and 3.13 versions for stubtest (#12131) 2024-06-12 05:16:39 -06:00
Alex Waygood
9197ace5ec Bump flake8-pyi to 24.6.0 (#12132) 2024-06-12 11:46:23 +01:00
Nikita Sobolev
804a58165a Remove tree-sitter (#12118) 2024-06-11 11:13:14 +01:00
Alex Waygood
58f2a795ba Pin to older micro versions of Python for stdlib stubtest (#12124) 2024-06-10 11:53:09 +01:00
Alex Waygood
0c45de1c26 Ensure stubtest gets an older version of webcolors when testing jsonschema in CI (#12115) 2024-06-08 22:43:59 -06:00
Alex Waygood
7fc9d65ee2 Fix false positives from @deprecated for shutil.rmtree (#12116) 2024-06-08 21:27:26 +02:00
Thanos
0b1259ca0c Make FunctionType.__kwdefaults__ optional. (#12113) 2024-06-07 16:57:41 -06:00
Kirill Podoprigora
1794cfd26e [3.14] Add annotations for `ast.compare` (#12111)
Add annotations for ast.compare
2024-06-07 10:21:54 -06:00
Max Muoto
4da3572827 Add GenericAlias.__(r)or__ (#12105) 2024-06-06 21:57:45 +01:00
renovate[bot]
b3fc7e2cec Update dependency pyright to v1.1.366 (#12101)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 17:33:55 -07:00
Eric Traut
6bb5424ddd Fixed definitions of EnumCheck and FlagBoundary enum members (#12100)
Fixed definitions of EnumCheck and FlagBoundary enum members so they conform to the recently updated typing standard.
2024-06-05 17:19:01 -07:00
Sam
fd67f0a457 Add stubs for tf.math.angle to math.pyi (#12099) 2024-06-05 23:06:54 +02:00
github-actions[bot]
6220c20d93 [stubsabot] Bump aws-xray-sdk to 2.14.* (#12096) 2024-06-05 08:35:30 +02:00
Colin Watson
97ccd8985a Tighten annotation of logging.getLevelName (#12088)
To better reflect the implementation's behaviour,
https://github.com/python/typeshed/pull/2730 changed
`logging.getLevelName` to accept `int | str` and return `Any` (the
latter due to the need to avoid union return types).  However, this
isn't ideal if you're passing in an `int`, in which case the
implementation always returns a `str`.  Add overloads for this.
2024-06-04 10:16:53 +02:00
David Salvisberg
6ddf4647a7 greenlet: Adds missing __version__ variable (#12089) 2024-06-03 14:11:24 +01:00
Ali Hamdan
e285e52e13 mypy_test.py: warn about incompatible python version only on tested files (#12079) 2024-06-01 17:51:57 +01:00
Ali Hamdan
b019e98116 Update shapely enums (#12078) 2024-06-01 07:14:28 -07:00
Amin Alaee
124d02034d ast, configparser, glob: Python 3.13 updates (#12050)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-06-01 07:13:10 -07:00
Ali Hamdan
4269f992f1 Use hyphenated options in black config in pyproject.toml (#12080) 2024-06-01 10:57:45 +01:00
Sebastian Rittau
fcbb142dd6 [requests] Update to 2.32.3 (#12060) 2024-05-31 21:00:43 -07:00
Amin Alaee
9908f60741 enum: Python 3.13 update (#12049) 2024-05-31 20:50:26 -07:00
Oliver Lambson
4b6558c12a add stubs for py-nanoid (#12074)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-05-31 23:02:54 +01:00
Alex Waygood
7e7ffdfd7e pin openpyxl to 3.1.2 (#12072)
helps with #12059
2024-05-31 09:54:06 -07:00
Adam Dangoor
64af79f98b [docker] Annotate Container.stop() (#12052) 2024-05-31 10:30:02 +02:00
Nikita Sobolev
769fea9f10 Bump pynput to 1.7.7 (#12069) 2024-05-31 10:26:27 +02:00
Nikita Sobolev
66c640ece9 Update docker to 7.1.x (#12068) 2024-05-31 08:56:49 +02:00
Peter
3dc74ddf07 [networks] Fix some functions requiring DiGraph objects (#12066) 2024-05-31 00:34:34 +02:00
Amin Alaee
321c0ce75e math, mimetypes, mmap, multiprocessing, sqlite: Python 3.13 updates (#12062) 2024-05-30 14:56:22 +02:00
Amin Alaee
b780ac0ab0 py313: mark Linux-only decimal allowlist entries as unfixable for now (#12061) 2024-05-30 12:44:13 +01:00
renovate[bot]
4f3c564206 Update dependency pyright to v1.1.365 (#12058)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-30 07:57:26 +01:00
Ali Hamdan
c82d29fc76 Bump netaddr to version 1.3 (#12057) 2024-05-29 23:10:54 +02:00
Sam Balana
2e83e654b1 Extend itertools.product to 10 arguments (#12023) 2024-05-29 15:15:24 +02:00
David Salvisberg
93b5016a29 reportlab: Add some basic type hints for graphics rendering API (#12051) 2024-05-29 14:38:19 +02:00
Amin Alaee
b45456739a platform, tarfile, io: Python 3.13 updates (#12056) 2024-05-29 14:37:26 +02:00
Adam Dangoor
b2f6e5221b Add types to docker.models.containers.Container.logs (#12044) 2024-05-28 13:55:18 +02:00
Adam Dangoor
41cc4f9ede Add keyword argument types to docker.models.containers.Container.wait() (#12037) 2024-05-27 20:19:29 +03:00