Releases: piskvorky/smart_open
4.0.0
3.0.0
3.0.0, 8 Oct 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[s3]
to install the AWS dependencies only.
Or
pip install smart_open[all]
to install all dependencies, including AWS, GCS, etc.
2.2.1
2.2.1, 1 Oct 2020
- Include S3 dependencies by default, because removing them in the 2.2.0 minor release was a mistake. It broke existing code in a minor release.
- Instead, S3 dependencies will not be installed by default in the next major smart_open release, 3.0.0. So if you don't want to install S3 dependencies, to keep your smart_open installation lean, install 3.0.0 instead.
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
2.1.1
2.1.0
2.1.0, 1 July 2020
- Azure storage blob support (@nclsmitchell and @petedannemann)
- Correctly pass
newline
parameter to built-inopen
function (PR #478, @burkovae) - Ensure GCS objects always have a .name attribute (PR #506, @todor-markov)
- Use exception chaining to convey the original cause of the exception (PR #508, @cool-RR)
2.0.0
2.0.0, 27 April 2020, "Python 3"
- This version supports Python 3 only (3.5+).
- If you still need Python 2, install the smart_open==1.10.1 legacy release instead.
- Prevent smart_open from writing to logs on import (PR #476, @mpenkov)
- Modify setup.py to explicitly support only Py3.5 and above (PR #471, @Amertz08)
- Include all the test_data in setup.py (PR #473, @sikuan)
1.10.1
1.10.1, 26 Apr 2020
This is the last version to support Python 2.7.
Versions 1.11 and above will support Python 3 only.
- Temporarily disable Google Cloud Storage transport mechanism for this release.
If you want to use GCS, please use version 1.11 and above.
1.11.1
1.11.1, 8 Apr 2020
- Add missing boto dependency (Issue #468)
1.11.0, 8 Apr 2020
- Fix GCS multiple writes (PR #421, @petedannemann)
- Implemented efficient readline for ByteBuffer (PR #426, @mpenkov)
- Fix WebHDFS read method (PR #433, @mpenkov)
- Make S3 uploads more robust (PR #434, @mpenkov)
- Add pathlib monkeypatch with replacement of
pathlib.Path.open
(PR #436, @menshikh-iv) - Fix error when calling str() or repr() on GCS SeekableBufferedInputBase (PR #442, @robcowie)
- Move optional dependencies to extras (PR #454, @Amertz08)
- Correctly handle GCS paths that contain '?' char (PR #460, @chakruperitus)
- Make our doctools submodule more robust (PR #467, @mpenkov)
Starting with this release, you will have to run:
pip install smart_open[gcs] to use the GCS transport.
In the future, all extra dependencies will be optional. If you want to continue installing all of them, use:
pip install smart_open[all]
See the README.rst for details.
1.11.0
1.11.0, 8 Apr 2020
- Fix GCS multiple writes (PR #421, @petedannemann)
- Implemented efficient readline for ByteBuffer (PR #426, @mpenkov)
- Fix WebHDFS read method (PR #433, @mpenkov)
- Make S3 uploads more robust (PR #434, @mpenkov)
- Add pathlib monkeypatch with replacement of
pathlib.Path.open
(PR #436, @menshikh-iv) - Fix error when calling str() or repr() on GCS SeekableBufferedInputBase (PR #442, @robcowie)
- Move optional dependencies to extras (PR #454, @Amertz08)
- Correctly handle GCS paths that contain '?' char (PR #460, @chakruperitus)
- Make our doctools submodule more robust (PR #467, @mpenkov)