Commit Graph

9443 Commits

Author SHA1 Message Date
Adam Dangoor
ea869e2959 Add kwarg types to Docker container run and create (#12216) 2024-06-27 10:11:47 +02:00
Adam Dangoor
2d9b0fd2a0 Add Container wait return type at Docker model layer (#12217)
Also, improve type for the API layer. Previously, the type accounted for a 404 response. However, in the 404 case, a `docker.errors.NotFound` exception is raised.
2024-06-27 09:58:43 +02:00
BJ Hargrave
82199768bf assertpy: improve type for extracting (#12224)
Signed-off-by: BJ Hargrave <bj@hargrave.dev>
Co-authored-by: hauntsaninja <hauntsaninja@gmail.com>
2024-06-26 14:22:32 -07:00
Avasam
326b325879 Add upstream_repository for reportlab (#12223)
This was found at https://docs.reportlab.com/releases/#reportlab-build-process
2024-06-26 13:37:33 -04:00
Max Muoto
ae27935396 Add _interpchannels for 3.13 (#12199) 2024-06-26 17:13:47 +01:00
Sebastian Rittau
2110c699d6 [CI] Only create issue if daily script was run by cron (#12218) 2024-06-26 11:22:11 +02:00
Sebastian Rittau
fa73f9ff4a [tensorflow] Pin keras to 3.3.* (#12221) 2024-06-26 11:03:32 +02:00
Sebastian Rittau
68408b3528 [CI] Suppress spurious brew warning (#12219) 2024-06-26 02:01:47 -07:00
Sebastian Rittau
d683ddb3ed Pin reportlab to version 4.2.0 (#12220)
Part of #12213
2024-06-26 02:00:00 -07:00
Avasam
a6bd781626 Update setuptools to v70.1.1 (#12215) 2024-06-26 08:17:03 +02:00
Sebastian Rittau
b13bb947c3 [aiofiles] Update to 24.1 (#12207) 2024-06-25 16:51:01 -07:00
Sebastian Rittau
fb4bfc8674 [influxdb] Update to 1.44 (#12209) 2024-06-25 16:48:30 -07:00
Kanishk Pachauri
70d9d1fe84 fix: resolve issue with SubParsersAction.add_parser for custom ArgumentParser subclasses (#12212) 2024-06-25 16:44:45 -07:00
renovate[bot]
efe99fce02 Update dependency pyright to v1.1.369 (#12171) 2024-06-25 23:59:52 +01:00
Kanishk Pachauri
309aebf9d7 fix: ArgParse's registry for the type keyword argument to add_argument (#12194) 2024-06-25 17:31:45 +02:00
Adam Dangoor
60443ca258 Add more keyword argument types for Docker pull (#12210) 2024-06-25 15:23:03 +02:00
Andrew Murray
49b1777037 Updated olefile types (#12097) 2024-06-25 14:58:17 +02:00
Adam Dangoor
ff35709167 Add parameter types to docker.models.images.ImageCollection.build (#12196)
Introduce stubs-only module `docker._types`.
2024-06-25 14:18:21 +02:00
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