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
b6464dbed9/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
David Salvisberg
d3faa5a8b0
uWSGI: Makes stubtest_allowlist_darwin more resilient against CI flakyness ( #11819 )
2024-05-15 12:07:55 -04:00
github-actions[bot]
a86115a19d
[stubsabot] Bump ujson to 5.10.* ( #11915 )
...
Release: https://pypi.org/pypi/ujson/5.10.0
Homepage: https://github.com/ultrajson/ultrajson
Repository: https://github.com/ultrajson/ultrajson
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/ujson
Diff: https://github.com/ultrajson/ultrajson/compare/5.9.0...5.10.0
Stubsabot analysis of the diff between the two releases:
- Total lines of Python code added: 0.
- Total lines of Python code deleted: 0.
2024-05-14 21:11:30 -04:00
Adam Dangoor
a9d7e861f7
Add a number of types to docker.models.containers ( #11912 )
2024-05-14 11:15:32 +02:00
Kanishk Pachauri
b859441e74
[pyflakes] add backwards compatibility module ( #11910 )
2024-05-14 07:50:51 +02:00
kasium
708656f5ad
Complete types for hvac.v1.Client ( #11886 )
2024-05-13 05:31:48 -07:00
Adam Dangoor
0382803c4c
Add many types to docker.api.container ( #11911 )
2024-05-12 13:58:56 -07:00
Avasam
ef42294f92
Avoid using new _typeshed protocol in pkg_resources for now ( #11909 )
2024-05-12 16:19:58 -04:00
Adam Dangoor
a4c4076b61
Add types to all "container" parameters in docker.api.container ( #11908 )
2024-05-12 18:07:48 +02:00
Adam Dangoor
96697a835b
Add remaining parameter types to docker.api.container logs ( #11907 )
2024-05-12 17:12:32 +02:00
Sebastian Rittau
ef0a5c2d12
Replace types._Cell with types.CellType ( #11904 )
...
Closes #11901
2024-05-12 06:38:38 -07:00
Adam Dangoor
932311d441
Add return type to Docker Container.logs ( #11888 )
2024-05-12 13:39:18 +02:00
Adam Dangoor
488bc24c43
Add return type for Docker container start ( #11905 )
2024-05-12 13:37:00 +02:00
Adam Dangoor
bbad7f2f24
Fix "tail" parameter type for Docker container logs ( #11906 )
2024-05-12 13:09:47 +02:00
Adam Dangoor
f75211b801
Allow Image type for docker container run image parameter ( #11900 )
2024-05-12 12:14:06 +02:00
Anderson Bravalheri
b42e3b2e89
Use protocols instead of importlib.abc.Loader/MetaPathFinder/PathEntryFinder ( #11890 )
2024-05-12 11:58:33 +02:00
Ali Hamdan
6565e8a0a0
regex: functions do not accept any buffer for pattern ( #11899 )
2024-05-11 12:50:45 +02:00
Alex Waygood
7bfde5b676
Pin pynput more tightly ( #11897 )
...
Fixes #11896
2024-05-11 01:40:48 +01:00
github-actions[bot]
65e989d15e
[stubsabot] Bump regex to 2024.5.10 ( #11894 )
...
Release: https://pypi.org/pypi/regex/2024.5.10
Homepage: https://github.com/mrabarnett/mrab-regex
Repository: https://github.com/mrabarnett/mrab-regex
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/regex
Diff: https://github.com/mrabarnett/mrab-regex/compare/2024.4.28...2024.5.10
Stubsabot analysis of the diff between the two releases:
- Total lines of Python code added: 6.
- Total lines of Python code deleted: 4.
2024-05-10 17:21:48 -07:00
github-actions[bot]
37f9e4c412
[stubsabot] Bump wurlitzer to 3.1.* ( #11848 )
2024-05-10 10:46:34 +02:00
Kanishk Pachauri
864dee36fb
stubs: [BeautifulSoup] fix incomplete type specs for formatter ( #11885 )
2024-05-10 10:45:44 +02:00
Nikita Sobolev
d07ba24f3c
Add typehints for open in PIL.WallImageFile ( #11887 )
2024-05-10 10:29:09 +02:00
Adam Dangoor
9174db0d7d
Add some types to Docker ContainerCollection parameters ( #11857 )
2024-05-10 10:08:47 +02:00
Sebastian Rittau
27cad856f8
Add flake8 ( #11676 )
2024-05-09 19:50:07 -07:00
Kanishk Pachauri
120f01dcb3
stubs: change psutil's Process.wait timeout argument to float ( #11883 )
...
Fixes #11866
2024-05-09 19:25:00 -07:00
Adam Dangoor
727f3c4320
Add return type to Docker Container.stop ( #11869 )
...
We can see at
b6464dbed9/docker/models/containers.py (L452)
that this returns the return value of `self.client.api.stop`.
We can see at
b6464dbed9/docker/api/container.py (L1187)
that this returns None.
2024-05-06 11:05:43 +02:00
Adam Dangoor
113b2ccd42
Add return type to Docker Container.remove ( #11868 )
2024-05-06 11:01:55 +02:00
github-actions[bot]
8ff50fbea2
[stubsabot] Bump Pygments to 2.18.* ( #11861 )
...
Release: https://pypi.org/pypi/Pygments/2.18.0
Homepage: https://pygments.org
Repository: https://github.com/pygments/pygments
Typeshed stubs: https://github.com/python/typeshed/tree/main/stubs/Pygments
Changelog: https://github.com/pygments/pygments/blob/master/CHANGES
Diff: https://github.com/pygments/pygments/compare/2.17.2...2.18.0
Stubsabot analysis of the diff between the two releases:
- 5 public Python files have been added: `pygments/lexers/mojo.py`, `pygments/lexers/soong.py`, `pygments/lexers/tact.py`, `pygments/lexers/typst.py`, `pygments/styles/coffee.py`.
- 0 files included in typeshed's stubs have been deleted.
- 36 files included in typeshed's stubs have been modified or renamed.
- Total lines of Python code added: 4858.
- Total lines of Python code deleted: 2467.
If stubtest fails for this PR:
- Leave this PR open (as a reminder, and to prevent stubsabot from opening another PR)
- Fix stubtest failures in another PR, then close this PR
Note that you will need to close and re-open the PR in order to trigger CI
Co-authored-by: stubsabot <>
2024-05-05 07:39:39 -07:00
kasium
4005c2f214
Improve types in docker models ( #11859 )
2024-05-05 12:32:37 +02:00