Commit Graph

2160 Commits

Author SHA1 Message Date
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
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
David Salvisberg 6ddf4647a7 greenlet: Adds missing __version__ variable (#12089) 2024-06-03 14:11:24 +01:00
Ali Hamdan b019e98116 Update shapely enums (#12078) 2024-06-01 07:14:28 -07:00
Sebastian Rittau fcbb142dd6 [requests] Update to 2.32.3 (#12060) 2024-05-31 21:00:43 -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
Ali Hamdan c82d29fc76 Bump netaddr to version 1.3 (#12057) 2024-05-29 23:10:54 +02:00
David Salvisberg 93b5016a29 reportlab: Add some basic type hints for graphics rendering API (#12051) 2024-05-29 14:38:19 +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
Ali Hamdan 47aeda444b Fix shapely SupportsRead protocol (#12038) 2024-05-26 13:29:02 +02:00
Adam Dangoor a9a52a0e10 Add return type for Docker Container wait (#12036) 2024-05-26 11:43:31 +02:00
JP Hutchins 9e3fdf4da9 pyserial: serial: serialutil.pyi: fix excuslive float -> bool (#12035) 2024-05-26 11:41:44 +02:00
Ali Hamdan a83f02c2d9 Add shapely stubs (#12033) 2024-05-25 16:03:34 +02:00
David Salvisberg 1781cde60a Adds stubs for reportlab (#12013) 2024-05-24 19:05:26 +02:00
Sebastian Rittau f3ca3001ee Update PyMySQL to 1.1.1 (#12001)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-05-23 13:14:43 -04:00
Avasam c11fc20651 Small fix for pkg_resources StrPath (#12015) 2024-05-23 09:13:53 -07:00
Lennox Stevenson fca4da54b1 Remove stripe stubs (#12003) 2024-05-23 15:39:27 +02:00
Nikita Sobolev b8e35627f0 Bump python-crontab to 3.1.* (#12008) 2024-05-23 11:02:03 +02:00
Adam Dangoor 933444d1a8 Add types to parameters for Docker Network.disconnect (#12007) 2024-05-23 10:10:13 +02:00
Adam Dangoor e1bb4edfe4 Add types for Docker client from_env kwargs (#11989) 2024-05-23 00:25:36 +02:00
Avasam 50cbca413c Make shutil.rmtree.onexc parameter optional (#12002) 2024-05-22 22:41:25 +02:00
Avasam 06efe457d4 Bump setuptools to 70.0 (#11994) 2024-05-22 17:21:17 +02:00
Sebastian Rittau f9664a4325 [requests] Update to 2.32.2 (#12000)
Also replace some `Any` annotations with `Incomplete` and use `Final` in `requests.__version__`.
2024-05-22 06:16:42 -07:00
Ali Chaudry aa2d33df21 [Flask-Cors] accepts flask blueprints (#11995) 2024-05-22 11:29:31 +02:00
github-actions[bot] 489e8dbf41 [stubsabot] Bump hvac to 2.2.* (#11839) 2024-05-21 12:14:16 +02:00
github-actions[bot] 9a86dcd21a [stubsabot] Bump pep8-naming to 0.14.* (#11924) 2024-05-21 11:42:34 +02:00
Avasam a375953f63 distutils & setuptools: Relax path related params (#11948)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2024-05-20 23:41:20 -04:00
github-actions[bot] 6816cf47f7 [stubsabot] Bump requests to 2.32.* (#11991)
Release: https://pypi.org/pypi/requests/2.32.1
Homepage: https://requests.readthedocs.io
Repository: https://github.com/psf/requests
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/requests
Diff: https://github.com/psf/requests/compare/v2.31.0...v2.32.1

Stubsabot analysis of the diff between the two releases:
 - Total lines of Python code added: 486.
 - Total lines of Python code deleted: 131.
2024-05-20 22:13:42 -04:00
Alex Waygood b8d144d491 Add 3.13 to our CI (#11926) 2024-05-19 16:18:49 -04:00
Ali Hamdan 08b9c86488 Use assignments for enums in pillow (#11959) 2024-05-19 12:13:48 +02:00
Ali Hamdan d9f47c37b3 Bump pygit2 to 1.15 and fix enums (#11983) 2024-05-19 12:04:44 +02:00
Shantanu d9cf43c4c3 Mark pos-only __class_getitem__ args (#11970) 2024-05-18 23:27:51 +02:00
Ali Hamdan bd306f6b4c Use assignment instead of annotation in third party enums (#11957) 2024-05-18 17:31:39 +02:00
Adam Dangoor 55b552121b Fix type of Docker BuildError.build_log (#11917)
In working this out I also had a go at changing the json_stream
functions used to create every BuildError in docker-py.

There are two `BuildError`s raised in docker-py, both in
https://github.com/docker/docker-py/blob/b6464dbed92b14b2c61d5ee49805fce041a3e083/docker/models/images.py#L304-L315

```python
result_stream, internal_stream = itertools.tee(json_stream(resp))
for chunk in internal_stream:
    if 'error' in chunk:
	raise BuildError(chunk['error'], result_stream)
    if 'stream' in chunk:
	match = re.search(
	    r'(^Successfully built |sha256:)([0-9a-f]+)$',
	    chunk['stream']
	)
	if match:
	    image_id = match.group(2)
    last_event = chunk
if image_id:
    return (self.get(image_id), result_stream)
raise BuildError(last_event or 'Unknown', result_stream)
```
2024-05-18 08:26:17 -04:00
Sebastian Rittau 8bd6cebbb4 [fpdf2] Update to 2.7.9 (#11953) 2024-05-18 06:51:24 -04:00
Sebastian Rittau 9a7ff272cc [influxdb-client] Update to 1.43.* (#11954) 2024-05-18 06:43:35 -04:00
Avasam 003361c006 Make distutils.dist.Distribution.get_command_obj not return None by default (#11950) 2024-05-18 11:38:48 +02:00
Avasam 3e0269bc6c distutils & setuptools: Complete sub_commands ClassVar typing (#11951) 2024-05-18 11:36:49 +02:00
Ryan Morshead e7daedd6ab add networkx.topological_generations (#11927) 2024-05-17 08:52:26 +02:00
Avasam c99adf4b85 distutils: improve boolean parameters with int defaults (#11928) 2024-05-17 08:33:18 +02:00
renovate[bot] 5fc866f9fd Update dependency pyright to v1.1.363 (#11919)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Alex Waygood <alex.waygood@gmail.com>
2024-05-15 21:11:21 -04:00
github-actions[bot] 1c2d0230fa [stubsabot] Bump regex to 2024.5.15 (#11918)
Co-authored-by: stubsabot <>
2024-05-15 20:34:37 -04:00
Raphael Castro 5079dc1d9e Add stubs for assertpy (#11916) 2024-05-15 14:56:43 -04:00