14
0

Accepting request 1117458 from home:mimi_vx:branches:devel:languages:python

- Update to 6.4.0
- force require urllib3 < 2 because of https://github.com/RaRe-Technologies/smart_open/issues/784
 * Ignore S3 seeks to the current position (PR #782, @beck3905
 * Set binary mode prior to FTP write ()PR #781, @beck3905)
 * Improve S3 URI Parsing for URIs with "@", "/", and ":" (PR #776, @rileypeterson)
 * Add python 3.11 to setup.py (PR #775, @tooptoop4)
 * Fix retrieving empty but existing object from S3 (PR #771, @Darkheir)
 * Avoid overfilling buffer when reading from Azure (PR #767, @ronreiter)
 * Add required import for example to work (PR #756, @jensenbox)

OBS-URL: https://build.opensuse.org/request/show/1117458
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-smart-open?expand=0&rev=5
This commit is contained in:
John Vandenberg
2023-10-12 13:48:12 +00:00
committed by Git OBS Bridge
parent d32f91ef24
commit dcccee9fb9
4 changed files with 23 additions and 6 deletions

View File

@@ -16,13 +16,12 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-smart-open
Version: 6.3.0
Version: 6.4.0
Release: 0
Summary: Python utils for streaming large files
License: MIT
Group: Development/Languages/Python
URL: https://github.com/RaRe-Technologies/smart_open
Source: https://github.com/RaRe-Technologies/smart_open/archive/refs/tags/v%{version}.tar.gz#/smart_open-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -33,7 +32,11 @@ Requires: python-azure-storage-blob
Requires: python-boto3
Requires: python-google-cloud-storage
Requires: python-requests
Suggests: python-paramiko
BuildArch: noarch
# see https://github.com/RaRe-Technologies/smart_open/issues/784
BuildRequires: %{python_module urllib3 < 2}
Requires: python-urllib3 < 2
# SECTION test requirements
BuildRequires: %{python_module azure-common}
BuildRequires: %{python_module azure-core}
@@ -43,6 +46,7 @@ BuildRequires: %{python_module google-cloud-storage}
BuildRequires: %{python_module moto >= 1.3.4}
BuildRequires: %{python_module moto-server}
BuildRequires: %{python_module paramiko}
BuildRequires: %{python_module pytest-rerunfailures}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module responses}