2.2.0
2.2.0, 25 Sep 2020
This release modifies the behavior of setup.py with respect to dependencies.
Previously, boto3
and other AWS-related packages were installed by default.
Now, in order to install them, you need to run either:
pip install smart_open[aws]
to install the AWS dependencies only, or
pip install smart_open[all]
to install all dependencies, including AWS, GCS, etc.
Summary of changes:
- Correctly pass
newline
parameter to built-inopen
function (PR #478, @burkovae) - Remove boto as a dependency (PR #523, @isobit)
- Performance improvement: avoid redundant GetObject API queries in s3.Reader (PR #495, @jcushman)
- Support installing smart_open without AWS dependencies (PR #534, @justindujardin)
- Take object version into account in
to_boto3
method (PR #539, @interpolatio)
Deprecations
Functionality on the left hand side will be removed in future releases.
Use the functions on the right hand side instead.
smart_open.s3_iter_bucket
→smart_open.s3.iter_bucket