Mypy-boto3-builder

Latest version: v8.7.1

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

Scan your dependencies

Page 32 of 36

3.0.4

Fixed typo in deployment script

3.0.3

Fixed

- `client.exceptions` type annotations are included to each service and do not require `botocore` installed
- Failing `<package>.client` import if `boto3-stubs` package is not installed

3.0.2

Notes

Unfortunately, I completely overlooked that `pyi` files are not importable, so direct imports were broken during adding `pyright` support. The solution is hacky, but it is working - all service packages contain `py` files identical to `pyi`. `*.py` files are auto-formatted with `pyi` rules to keep line numbers the same.

Fixed

- Import error from stub libraries
- `pylint` not being happy with generated files

3.0.1

Fix release workflow

3.0.0

Highlights

- `mypy_boto3` CLI command is no longer needed, stubs are pre-generated for all services
- `pyright` is fully supported and now is main priority
- `mypy`, `VSCode (Pylance)` and `PyCharm` are still supported
- `mypy_boto3.<service_name>` imports no longer work, use `mypy_boto3_<service_name>`

Changed

- All type stubs were converted to `pyi` files (pyright support)
- `boto3.client/resource` overloads for all services are pre-generated, which renders `mypy_boto3` CLI useless
- `Session.client/resource` overloads for all services are pre-generated, which renders `mypy_boto3` CLI useless
- Updated `black+isort` for generated files

Fixed

- Imports were sorted incorrectly in generated `boto3-stubs`
- Some imports were incorrectly marked as unused by `pylint`
- `botocore.client.ClientError` is correctly handled by `pyright`

2.4.0

Added

- [Appflow](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/appflow.html) service support
- [Bracket](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/bracket.html) service support
- [Honeycode](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/honeycode.html) service support
- [IdentityStore](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/identitystore.html) service support
- [IVS](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/ivs.html) service support
- Support building annotation for services that were not added yet (class names can be different once service is added)

Fixed

- `ec2.<resource>.create_tags` method type annotations
- `ec2.Instance.delete_tags` method type annotations

Page 32 of 36

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.