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 33 of 36

2.3.1

Notes

Fix dockerized version and rebased to `python:3.8.5-alpine3.11`

2.3.0

Notes

The following changes are included to `boto3_stubs 1.14.51.1` and above.

So, we are going to switch to `pyright` eventually. The problem that `pyright` is smart enough to not follow imports in `*.pyi` files, like `mypy` does. Starting from this version, `pyright` should be able to properly recognize explicit type annotations.

Starting from the next version, I will try to use pre-generated type annotations for all boto3 services, so explicit type annotation will no longer be required for `pyright`. However, this will make `mypy` unusable, because 200+ function overloads will consume too much RAM. Anyway, we now know the difference between `mypy` and `pyright` stubs handling, so there should be a proper solution.

Added

- Stubs for `boto3.docs.utils` (partial)
- Initial `pyright` support

Fixed

- Added `Client.meta` annotation for all services
- `EC2Client.create_tags`/`EC2Client.delete_tags` allow `Tags=None`
- `ec2` resources `create_tags` annotation is now correct (`Image.create_tags` etc.)
- `DynamoDBClient` `query` and `scan` methods accept `boto3.dynamo.conditions.ConditionBase` in expressions
- Fix sorting of generated classes in all modules

2.2.0

Added

- `isort` as a direct dependency
- Automated sanity check for generated packages

Changed

- Imports in all generated packages are sorted with `isort`

Fixed

- `boto3.resource("ec2").delete_tags` annotation did not have `self` argument
- Resource type annotations use aliases on conflict with Resource method name (affects all services)
- `botocore.ResourceCollection.pages` return type annotation was `List[Resource]` instead of an `Iterator[List[Resource]]`
- `botocore.ResourceCollection.filter` overrides are type ignored because arguments are different and it is expected
- All pylint/mypy warning in all generated packages
- Circular imports in packages type defs ( affects `fsx`, `ce`, `wafv2`, maybe others)

2.1.0

Added

- `CodeArtifact` service support with a new `mypy_boto3_codeartifact` package

Changed

- Updated documentation for all services
- Updated module docstrings in generated packages

2.0.4

Changed

- Updated generated documentation for all packages
- Links from `boto3-stubs` page lead to subpackages instead of `boto3` documentation

2.0.3

Fixed

- Both streaming and non-streaming blob types are accepted in blob arguments (affects `s3`)
- Stub files for non-generated dynamic type annotations referenced undefined `overload` (affects `mypy_boto3`)

Page 33 of 36

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.