Commit Graph

9275 Commits

Author SHA1 Message Date
Adam Dangoor
1535e93674 Add return types to docker container run (#12206) 2024-06-25 14:04:48 +02:00
Sebastian Rittau
271df8ef04 Remove obsolete mypy bug workaround in abspath() (#12208) 2024-06-25 14:01:21 +02:00
Avasam
c709686511 Bump peewee to 3.17.5 (#12201) 2024-06-25 12:31:28 +02:00
InSync
58fe83109c Copy openpyxl's Worksheet.__getitem__() and .__iter__() to ReadOnlyWorksheet (#12202) 2024-06-25 12:30:10 +02:00
Avasam
bf03f9b63a Bump pyinstaller to 6.8.* (#12198) 2024-06-25 12:27:35 +02:00
Avasam
1dbf21fa8b Bump protobuf to 5.27.* (#12197) 2024-06-25 12:26:56 +02:00
Sebastian Rittau
eff4ca189c [setuptools] Update to 71.1.* (#12176) 2024-06-24 18:38:59 -04:00
Adam Dangoor
da443145bc Add more specific types to Docker network inspect/get equivalent methods (#12188) 2024-06-24 12:38:32 +02:00
Adam Dangoor
f66d687b08 Add types for container and net_id parameters in docker/api/network (#12042) 2024-06-24 11:31:02 +02:00
Adam Dangoor
c8898742e0 Add parameter types to docker's NetworkCollection create (#12190) 2024-06-24 11:28:24 +02:00
Adam Dangoor
8cdda79ae3 Add more precise types in docker.types.containers (#12191) 2024-06-24 11:27:57 +02:00
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