Mypy-boto3

Latest version: v1.37.0

Safety actively analyzes 715032 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 37

8.0.1

Fixed
- `[builder]` Allow to use `mypy_boto3_builder` as a module

8.0.0

Notes

- Starting from this release builder requires Python 3.12+. However, generated packages still support Python 3.8+
- Packages generation is 2 times faster due to new template rendering and code formatting approach
- New `**kwargs: Unpack[RequestTypeDef]` syntax for all kw-only methods and functions
- Output code formatting uses `ruff` instead of `isort` and `black`

Added
- `[builder]` New documentation and usage instructions
- `[builder]` New CLI argument `--download-static-stubs` that allows to fetch the latest static stubs from GitHub instead of built-in
- `[services]` New `**kwargs: Unpack[RequestTypeDef]` syntax for all kw-only methods and functions

Changed
- `[builder]` Twice as fast packages generation due to optimizations in processing and formatting
- `[builder]` Import sorting in output files is now performed by `ruff` instead of `isort` (20x faster!)
- `[builder]` Code formatting in output files is now performed by `ruff` instead of `black` (40x faster!)
- `[services]` Generated package size reduced by 20%

Fixed
- `[services]` Output `TypedDict` clashing was not resolved correctly in some cases, shadowing output `TypeDef`
- `[builder]` Formatting did not use minimal support Python version correctly
- `[builder]` Required imports with fallback with minimal `sys.version` required are sorted correctly
- `[builder]` Multiple performance optimizations
- `[builder]` `*-full` package data was incorrect
- `[builder]` `*-full` package name was incorrect

7.26.1

Fixed
- `[builder]` Switched from `newversion.Version` to `packaging.Version`
- `[types-aiobotocore]` `StreamingBody.iter_chunks` returns `AsyncIterator[bytes]` (reported by vikigenius in 309)
- `[types-aiobotocore]` `StreamingBody.iter_lines` returns `AsyncIterator[bytes]`

Updated packages

- types-aiobotocore 2.13.1.post1
- types-aiobotocore-lite 2.13.1.post1
- types-aiobotocore 2.13.2.post1
- types-aiobotocore-lite 2.13.2.post1

7.26.0

Notes

Hello!

So, it looks like `boto3` does not properly support identifiers in `botocore` shapes. For example: https://github.com/boto/boto3/issues/3501.

All attributes and arguments generated for identifiers now have `str` type in `boto3`. However, some identifiers have `type` key, so related attributes and arguments should use this type instead.

This release adds support for typed identifiers, as well as a proper override in case type cannot be correctly determined from shapes.

Changed
- `[builder]` New logic for `resource.identifiers`: support for typed identifiers and manual override

Fixed
- `[builder]` Overriden method type map is checked before universal type map
- `[s3]` `MultipartUploadPart.part_number` has `int` type (reported by daveisfera in 307)
- `[s3]` `MultipartUpload.Part method` `part_number` argument has `int` type (manual override) (reported by daveisfera in 307)
- `[s3]` `ServiceResource.MultipartUploadPart` method `part_number` argument has `int` type (reported by daveisfera in 307)

7.25.3

Fixed
- `[s3]` Accept `str` as well in `CopySource` argument override for `Object.copy_from` and `ObjectSummary.copy_from`

7.25.2

Fixed
- `[s3]` Added `CopySource` argument override for `Object.copy_from` and `ObjectSummary.copy_from` (reported by Kache in 308)

Page 5 of 37

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.