Adam Dangoor
933444d1a8
Add types to parameters for Docker Network.disconnect ( #12007 )
2024-05-23 10:10:13 +02:00
renovate[bot]
f7c03486ee
Update dependency pyright to v1.1.364 ( #12005 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-22 21:08:34 -04: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
425c69a6b9
Prefix utility modules with underscore ( #11999 )
2024-05-22 09:35:11 -04: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
Shantanu
c7664eed12
base64: add z85 for py313 ( #11976 )
2024-05-21 11:30:11 +02:00
Jelle Zijlstra
eeea0ac614
asyncio: fix task factory types ( #11993 )
2024-05-21 11:18:38 +02:00
Sebastian Rittau
d479e0f24a
Unify stubtest allowlist handling more ( #11986 )
...
This makes it trivial to consistently extend supported allowlists in the future.
2024-05-21 08:25:32 +02:00
Sebastian Rittau
0a95341735
Marked the std streams as possibly be None ( #11826 )
2024-05-21 08:22:29 +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
88c7f96d25
Run stubtest on py313 in CI ( #11987 )
2024-05-20 15:56:41 -04:00
Sebastian Rittau
e2e3750ee9
Move stdlib allowlists to stdlib/@tests ( #11982 )
...
Rename py3_common.txt to common.txt
2024-05-20 13:23:02 +02:00
Jelle Zijlstra
3cb7451c99
dis: Update for Python 3.13 ( #11985 )
2024-05-20 13:02:52 +02:00
Alex Waygood
b8d144d491
Add 3.13 to our CI ( #11926 )
2024-05-19 16:18:49 -04:00
Alex Waygood
347f8a96b5
regr_test.py: improve several concurrency details ( #11984 )
2024-05-19 14:21:26 -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
5445a4a243
csv: update for py313 ( #11979 )
2024-05-18 22:17:55 -04:00
Shantanu
448870170c
stat: fix up ( #11977 )
2024-05-18 22:16:46 -04:00
Shantanu
5d580629be
sys: fix pos-only args ( #11978 )
2024-05-18 22:14:44 -04:00
Shantanu
2ab710010b
shutil: add chown args in py313 ( #11973 )
2024-05-18 15:09:31 -07:00
Shantanu
68e1396227
re: update for py313 ( #11975 )
2024-05-18 15:09:21 -07:00
Shantanu
0511881668
queue: add ShutDown to __all__ ( #11974 )
2024-05-18 18:06:42 -04:00
Shantanu
87edeb65d8
os.path etc: update for py313 ( #11965 )
2024-05-18 17:57:44 -04:00
Shantanu
2756f16a11
logging: update for py313 ( #11972 )
2024-05-18 14:49:22 -07:00
Shantanu
70d2c4ec96
statistics: add kde, kde_random in py313 ( #11941 )
2024-05-18 14:47:20 -07:00
Shantanu
2ae611a9f3
marshal: allow_code in py313 ( #11971 )
2024-05-18 14:46:59 -07:00
Shantanu
d9cf43c4c3
Mark pos-only __class_getitem__ args ( #11970 )
2024-05-18 23:27:51 +02:00
Shantanu
69dc8e291a
token, tokenize: update for py313 ( #11966 )
2024-05-18 14:21:29 -07:00
Shantanu
ac38fce019
threading: add new lock methods ( #11964 )
2024-05-18 16:55:42 -04:00
Shantanu
df735cb606
atexit: fix pos-only args ( #11969 )
2024-05-18 13:32:53 -07:00
Shantanu
c11b16882c
math: add fma in py313 ( #11968 )
2024-05-18 16:30:41 -04:00
Shantanu
7f2a1a742d
keyword: fix pos-only args ( #11967 )
2024-05-18 16:27:54 -04:00
Shantanu
bb28ef882f
code: update for py313 ( #11962 )
2024-05-18 16:22:22 -04:00
Shantanu
46dc8aac1f
faulthandler: fix pos-only arg in unregister ( #11963 )
2024-05-18 16:20:47 -04:00
Shantanu
feee9dc0f4
syslog: update for py313 ( #11960 )
2024-05-18 16:19:30 -04:00
Shantanu
1054a209d6
socket: match pos-only arg name to runtime ( #11961 )
2024-05-18 12:30:48 -07:00
Shantanu
49512463c6
http: add py313 HTTPStatus aliases ( #11935 )
2024-05-18 19:24:44 +02:00
Shantanu
6d5dc99b96
stat: fix positional-only args ( #11930 )
2024-05-18 19:24:02 +02:00
Shantanu
9f35be6664
gzip: change type of undocumented constants ( #11943 )
...
These were changed to str in py313
2024-05-18 12:35:26 -04:00
Ali Hamdan
bd306f6b4c
Use assignment instead of annotation in third party enums ( #11957 )
2024-05-18 17:31:39 +02:00
bzoracler
5bd7150139
improvement: Add AST subclass constructors ( #11880 )
2024-05-18 09:33:07 -04:00
Avasam
1230ced066
runtests: Run pre-commit only on specified files (#11949 )
2024-05-18 09:07:42 -04: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