Max Muoto
6b2033a783
Improve accuracy of dataclasses.Field ( #12082 )
2024-06-24 11:25:50 +02:00
Kanishk Pachauri
de22c30fa8
tarfile: fix preset type for tarfile.open ( #12193 )
2024-06-23 16:08:31 -07:00
Kumar Aditya
23c489642d
remove child watchers from asyncio ( #12189 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com >
2024-06-23 15:09:45 +01:00
Adam Dangoor
5c3401a545
Use more specific types for Docker create_network ( #12187 )
2024-06-23 10:04:20 +02:00
Max Muoto
b7d536f910
Add missing encoding arg to check_call and call to match POpen ( #12086 )
2024-06-23 09:36:29 +02:00
Max Muoto
f2d96aea32
Add missing delete on close arg for aiofiles.NamedTemporaryFile ( #12110 )
2024-06-22 12:19:27 -07:00
Sebastian Rittau
95faa1ae24
Add tests to functools.wraps ( #12173 )
...
These tests demonstrate the issue described in #10653 .
2024-06-22 07:17:09 -07:00
Kumar Aditya
8ddd5102ed
remove Generator from _FutureLike ( #12185 )
...
It is not allowed in Python 3.12+.
2024-06-22 06:59:30 -07:00
Brett Holman
434f6528b7
requests: Fix Response.content return type to include None ( #12180 )
2024-06-21 21:38:00 +02:00
Max Muoto
72a85f4c99
Add missing tarfile.open overload for writable objects ( #12117 )
2024-06-21 11:20:10 +02:00
Nikita Sobolev
9817430896
Bump hdbcli to 2.21.* ( #12179 )
2024-06-20 23:01:45 +02:00
Marc Mueller
6dda799d8a
Add type ignores for mypy 1.11 ( #12177 )
2024-06-20 15:49:50 +01:00
Nikita Sobolev
05b975a81f
psutil: deprecate Process.connections ( #12174 )
2024-06-20 14:34:29 +02:00
Nikita Sobolev
29f6bc3763
fpdf2: improve text_align types and .table() method signature ( #12123 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com >
2024-06-20 14:42:56 +03:00
Sebastian Rittau
704fa5d1de
[openpyxl] Update to 3.1.4 ( #12142 )
...
Also make sequence types generic
2024-06-20 11:29:14 +02:00
Sebastian Rittau
dc504f5175
Deprecate logging.getLevelName(str) ( #12093 )
...
See https://docs.python.org/3/library/logging.html#logging.getLevelName
2024-06-20 00:43:46 -07:00
Abel Cheung
578b815ef7
Add missing arg annotation for xml.sax.handler.ContentHandler ( #12122 )
2024-06-20 00:40:58 -07:00
Sebastian Rittau
5c65b12591
[openpyxl] Fix key of Worksheet.row_dimensions ( #12143 )
...
Closes : #11845
2024-06-20 00:23:38 -07:00
Adam Dangoor
820447c57b
Add some types for Docker.api.network.NetworkApiMixing.create_network parameters ( #12156 )
...
See implementation at
a3652028b1/docker/api/network.py (L40)
2024-06-20 00:15:54 -07:00
Nikita Sobolev
be50f8e433
Bump psutil to 6.0.* ( #12167 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-20 10:13:10 +03:00
Nikita Sobolev
852946f759
Bump hvac to 2.3.* ( #12168 )
2024-06-20 00:05:09 -07:00
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