Smart-open

Latest version: v7.0.5

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

Scan your dependencies

Page 3 of 9

5.2.0

- Work around changes to `urllib.parse.urlsplit` (PR [633](https://github.com/RaRe-Technologies/smart_open/pull/633), [judahrand](https://github.com/judahrand))
- New blob_properties transport parameter for GCS (PR [632](https://github.com/RaRe-Technologies/smart_open/pull/632), [FHTheron](https://github.com/FHTheron))
- Don't leak compressed stream (PR [636](https://github.com/RaRe-Technologies/smart_open/pull/636), [ampanasiuk](https://github.com/ampanasiuk))
- Change python_requires version to fix PEP 440 issue (PR [639](https://github.com/RaRe-Technologies/smart_open/pull/639), [lucasvieirasilva](https://github.com/lucasvieirasilva))
- New max_concurrency transport parameter for azure (PR [642](https://github.com/RaRe-Technologies/smart_open/pull/642), [omBratteng](https://github.com/omBratteng))

5.1.0

This release introduces a new top-level parameter: `compression`.
It controls compression behavior and partially overlaps with the old `ignore_ext` parameter.
For details, see the README.rst file.
You may continue to use `ignore_ext` parameter for now, but it will be deprecated in the next major release.

- Add warning for recently deprecated s3 parameters (PR [618](https://github.com/RaRe-Technologies/smart_open/pull/618), [mpenkov](https://github.com/mpenkov))
- Add new top-level compression parameter (PR [609](https://github.com/RaRe-Technologies/smart_open/pull/609), [dmcguire81](https://github.com/dmcguire81))
- Drop mock dependency; standardize on unittest.mock (PR [621](https://github.com/RaRe-Technologies/smart_open/pull/621), [musicinmybrain](https://github.com/musicinmybrain))
- Fix to_boto3 method (PR [619](https://github.com/RaRe-Technologies/smart_open/pull/619), [mpenkov](https://github.com/mpenkov))

5.0.0

This release modifies the handling of transport parameters for the S3 back-end in a backwards-incompatible way.
See [the migration docs](MIGRATING_FROM_OLDER_VERSIONS.rst) for details.

- Refactor S3, replace high-level resource/session API with low-level client API (PR [583](https://github.com/RaRe-Technologies/smart_open/pull/583), [mpenkov](https://github.com/mpenkov))
- Fix potential infinite loop when reading from webhdfs (PR [597](https://github.com/RaRe-Technologies/smart_open/pull/597), [traboukos](https://github.com/traboukos))
- Add timeout parameter for http/https (PR [594](https://github.com/RaRe-Technologies/smart_open/pull/594), [dustymugs](https://github.com/dustymugs))
- Remove `tests` directory from package (PR [589](https://github.com/RaRe-Technologies/smart_open/pull/589), [e-nalepa](https://github.com/e-nalepa))

4.2.0

- Support tell() for text mode write on s3/gcs/azure (PR [582](https://github.com/RaRe-Technologies/smart_open/pull/582), [markopy](https://github.com/markopy))
- Implement option to use a custom buffer during S3 writes (PR [547](https://github.com/RaRe-Technologies/smart_open/pull/547), [mpenkov](https://github.com/mpenkov))

4.1.2

- Correctly pass boto3 resource to writers (PR [576](https://github.com/RaRe-Technologies/smart_open/pull/576), [jackluo923](https://github.com/jackluo923))
- Improve robustness of S3 reading (PR [552](https://github.com/RaRe-Technologies/smart_open/pull/552), [mpenkov](https://github.com/mpenkov))
- Replace codecs with TextIOWrapper to fix newline issues when reading text files (PR [578](https://github.com/RaRe-Technologies/smart_open/pull/578), [markopy](https://github.com/markopy))

4.1.0

- Refactor `s3` submodule to minimize resource usage (PR [569](https://github.com/RaRe-Technologies/smart_open/pull/569), [mpenkov](https://github.com/mpenkov))
- Change `download_as_string` to `download_as_bytes` in `gcs` submodule (PR [571](https://github.com/RaRe-Technologies/smart_open/pull/571), [alexandreyc](https://github.com/alexandreyc))

Page 3 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.