Compare commits

1 Commits
1.1 ... main

4 changed files with 2678 additions and 21 deletions

BIN
1.33.11.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
1.35.47.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-boto3
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,32 +16,36 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%{?sle15_python_module_pythons}
%if 0%{suse_version} < 1600
%define pytestjobs %{?jobs: -n %jobs}
%else
%define pytestjobs -n ${RPM_BUILD_NCPUS:-1}
%endif
Name: python-boto3
Version: 1.33.11
Version: 1.35.47
Release: 0
Summary: Amazon Web Services Library
License: Apache-2.0
URL: https://github.com/boto/boto3
Source: https://github.com/boto/boto3/archive/%{version}.tar.gz
# Related test dependencies
BuildRequires: %{python_module botocore < 1.34.0}
BuildRequires: %{python_module botocore >= 1.33.11}
BuildRequires: %{python_module botocore >= 1.35.47 with %python-botocore < 1.36.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module s3transfer < 0.9.0}
BuildRequires: %{python_module s3transfer >= 0.8.2}
BuildRequires: %{python_module s3transfer >= 0.10.0 with %python-s3transfer < 0.11.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-botocore < 1.34.0
Requires: python-botocore >= 1.33.11
Requires: python-jmespath < 2.0.0
Requires: python-jmespath >= 0.7.1
Requires: python-s3transfer < 0.9.0
Requires: python-s3transfer >= 0.8.2
Requires: (python-botocore >= 1.35.47 with python-botocore < 1.36.0)
Requires: (python-jmespath >= 0.7.1 with python-jmespath < 2.0.0)
Requires: (python-s3transfer >= 0.10.0 with python-s3transfer < 0.11.0)
BuildArch: noarch
%if 0%{?sle_version} >= 150400
Obsoletes: python3-boto3 < %{version}
%endif
%python_subpackages
%description
@@ -61,7 +65,6 @@ http://boto3.readthedocs.org/en/latest/
# Note to maintainers also familia with python-boto:
# The documentation generation requires access to AWS, thus it is not
# possible to generate the documentation in OBS
@@ -70,14 +73,14 @@ http://boto3.readthedocs.org/en/latest/
%setup -q -n boto3-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest %{?jobs: -n %jobs} --ignore tests/integration -k "not no_bare_six_imports"
%pytest %{?pytestjobs} --ignore tests/integration -k "not no_bare_six_imports"
%files %{python_files}
%license LICENSE