Skip to content

Releases: piskvorky/smart_open

v7.4.2

30 Oct 20:58
05472c5

Choose a tag to compare

What's Changed

Full Changelog: v7.4.1...v7.4.2

v7.4.1

21 Oct 16:28
d5a4410

Choose a tag to compare

What's Changed

  • Prefill target branch and new tag on the new GitHub release page by @ddelange in #897
  • [s3] Add lower version to boto3 requirement for tcp_keepalive by @ddelange in #899

Full Changelog: v7.4.0...v7.4.1

v7.4.0

20 Oct 11:56
cefa547

Choose a tag to compare

Note

[s3] As of this release, smart_open.s3.iter_bucket will use a single shared concurrent.futures.ThreadPoolExecutor with a single shared thread-safe S3.Client. For more details, see #896 (comment).

Warning

This version was yanked from PyPI because 7.4.0 introduced S3 tcp_keepalive, which is available as of boto3 1.9.17. A lower pin was added in 7.4.1.

What's Changed

New Contributors

Full Changelog: v7.3.1...v7.4.0

v7.3.1

08 Sep 10:03
c17ae23

Choose a tag to compare

What's Changed

  • Fix release.sh for the final merge back into develop by @ddelange in #872
  • Bump actions/checkout from 4 to 5 in the github-actions group by @dependabot[bot] in #877
  • Bump pypa/gh-action-pypi-publish from 1.12.4 to 1.13.0 in /.github/workflows by @dependabot[bot] in #878
  • Add .xz and increase performance of compression module by @ddelange in #875

Full Changelog: v7.3.0.post1...v7.3.1

v7.3.0.post1

03 Jul 10:05
baed654

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v7.3.0...v7.3.0.post1

v7.3.0

01 Jul 14:04
e1bd807

Choose a tag to compare

Warning

This version was yanked from PyPI because pyproject.toml falsely claimed that python 3.7 was still supported.

What's Changed

Full Changelog: v7.2.0...v7.3.0

v7.2.0

06 Mar 12:43

Choose a tag to compare

7.2.0, 2025-03-06

v7.1.0

17 Dec 13:19

Choose a tag to compare

7.1.0, 2024-12-17

v7.0.5

04 Oct 13:58

Choose a tag to compare

7.0.5, 2024-10-04

v7.0.4

26 Mar 08:43

Choose a tag to compare

7.0.4, 2024-03-26

  • Fix wb mode with zstd compression (PR #815, @djudd)
  • Remove GCS bucket.exists call to avoid storage.buckets.get permission (PR #813, @ddelange)

7.0.3, 2024-03-21

  • add support for zst writing (PR #812, @mpenkov)
  • roll back PR #812, restore compatibility with built-in open function (@mpenkov)

7.0.2, 2024-03-21

7.0.1, 2024-02-26

  • Do not touch botocore unless it is installed (PR #803, @ddelange)

7.0.0, 2024-02-26

  • Upgrade dev status classifier to stable (PR #798, @seebi)
  • Add zstandard compression support (PR #801, @rlrs)
  • Support moto 4 & 5 (PR #802, @jayvdb)
  • Add logic for handling large files in MultipartWriter uploads to S3 (PR #796, @jakkdl)
  • Add support for SSH connection via aliases from ~/.ssh/config (PR #790, @wbeardall)
  • Secure the connection using SSL when connecting to the FTPS server (PR #793, @wammaster)
  • Make GCS I/O 1000x faster by avoiding unnecessary API call (PR #788, @JohnHBrock)
  • Retry finalizing multipart S3 upload (PR #785, @ddelange)
  • Handle exceptions during writes to Azure (PR #783, @ddelange)
  • Fix formatting of python code in MIGRATING_FROM_OLDER_VERSIONS.rst (PR #795, @kenahoo)
  • Fix str method in SinglepartWriter (PR #791, @ThosRTanner)
  • Fix KeyError: 'ContentRange' when received full content from S3 (PR #789, @messense)
  • Propagate exit call to the underlying filestream (PR #786, @ddelange)

6.4.0, 2023-09-07

6.3.0, 2022-12-12

6.2.0, 14 September 2022

6.1.0, 21 August 2022

  • Add cert parameter to http transport params (PR #703, @stev-0)
  • Allow passing additional kwargs for Azure writes (PR #702, @ddelange)

6.0.0, 24 April 2022

This release deprecates the old ignore_ext parameter.
Use the compression parameter instead.

fin = smart_open.open("/path/file.gz", ignore_ext=True)  # No
fin = smart_open.open("/path/file.gz", compression="disable")  # Yes

fin = smart_open.open("/path/file.gz", ignore_ext=False)  # No
fin = smart_open.open("/path/file.gz")  # Yes
fin = smart_open.open("/path/file.gz", compression="infer_from_extension")  # Yes, if you want to be explicit

fin = smart_open.open("/path/file", compression=".gz")  # Yes
  • Make Python 3.7 the required minimum (PR #688, @mpenkov)
  • Drop deprecated ignore_ext parameter (PR #661, @mpenkov)
  • Drop support for passing buffers to smart_open.open (PR #660, @mpenkov)
  • Support working directly with file descriptors (PR #659, @mpenkov)
  • Added support for viewfs:// URLs (PR #665, @ChandanChainani)
  • Fix AttributeError when reading passthrough zstandard (PR #658, @mpenkov)
  • Make UploadFailedError picklable (PR #689, @birgerbr)
  • Support container client and blob client for azure blob storage (PR #652, @cbare)
  • Pin google-cloud-storage to >=1.31.1 in extras (PR #687, @PLPeeters)
  • Expose certain transport-specific methods e.g. to_boto3 in top layer (PR #664, @mpenkov)
  • Use pytest instead of parameterizedtestcase (PR #657, @mpenkov)

5.2.1, 28 August 2021

5.2.0, 18 August 2021

5.1.0, 25 May 2021

This release introd...

Read more