Braingeneers-smart-open

Latest version: v2023.10.6

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

Scan your dependencies

Page 3 of 8

3.0.0

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

- Include S3 dependencies by default, because removing them in the 2.2.0 minor release was a mistake.

2.2.0

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.

Summary of changes:

- Correctly pass `newline` parameter to built-in `open` function (PR [478](https://github.com/RaRe-Technologies/smart_open/pull/478), [burkovae](https://github.com/burkovae))
- Remove boto as a dependency (PR [523](https://github.com/RaRe-Technologies/smart_open/pull/523), [isobit](https://github.com/isobit))
- Performance improvement: avoid redundant GetObject API queries in s3.Reader (PR [495](https://github.com/RaRe-Technologies/smart_open/pull/495), [jcushman](https://github.com/jcushman))
- Support installing smart_open without AWS dependencies (PR [534](https://github.com/RaRe-Technologies/smart_open/pull/534), [justindujardin](https://github.com/justindujardin))
- Take object version into account in `to_boto3` method (PR [539](https://github.com/RaRe-Technologies/smart_open/pull/539), [interpolatio](https://github.com/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

- Bypass unnecessary GCS storage.buckets.get permission (PR [516](https://github.com/RaRe-Technologies/smart_open/pull/516), [gelioz](https://github.com/gelioz))
- Allow SFTP connection with SSH key (PR [522](https://github.com/RaRe-Technologies/smart_open/pull/522), [rostskadat](https://github.com/rostskadat))

2.1.0

- Azure storage blob support ([nclsmitchell](https://github.com/nclsmitchell) and [petedannemann](https://github.com/petedannemann))
- Correctly pass `newline` parameter to built-in `open` function (PR [478](https://github.com/RaRe-Technologies/smart_open/pull/478), [burkovae](https://github.com/burkovae))
- Ensure GCS objects always have a .name attribute (PR [506](https://github.com/RaRe-Technologies/smart_open/pull/506), [todor-markov](https://github.com/todor-markov))
- Use exception chaining to convey the original cause of the exception (PR [508](https://github.com/RaRe-Technologies/smart_open/pull/508), [cool-RR](https://github.com/cool-RR))

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](https://github.com/RaRe-Technologies/smart_open/pull/476), [mpenkov](https://github.com/mpenkov))
- Modify setup.py to explicitly support only Py3.5 and above (PR [471](https://github.com/RaRe-Technologies/smart_open/pull/471), [Amertz08](https://github.com/Amertz08))
- Include all the test_data in setup.py (PR [473](https://github.com/RaRe-Technologies/smart_open/pull/473), [sikuan](https://github.com/sikuan))

1.11.1

- Add missing boto dependency (Issue [468](https://github.com/RaRe-Technologies/smart_open/issues/468))

Page 3 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.