python-botocore/python-botocore.spec
Robert Schweikert 4e7840c8ad Accepting request 1107909 from home:glaubitz:branches:devel:languages:python:aws
- Update to 1.31.36:
  * api-change:``backup``: Add support for customizing time zone for backup window in backup plan
    rules.
  * api-change:``compute-optimizer``: This release enables AWS Compute Optimizer to analyze and
    generate licensing optimization recommendations for sql server running on EC2 instances.
  * api-change:``organizations``: Documentation updates for permissions and links.
  * api-change:``securitylake``: Remove incorrect regex enforcement on pagination tokens.
  * api-change:``service-quotas``: Service Quotas now supports viewing the applied quota value and
    requesting a quota increase for a specific resource in an AWS account.
  * api-change:``workspaces-web``: WorkSpaces Web now enables Admins to configure which cookies are
    synchronized from an end-user's local browser to the in-session browser. In conjunction with a
    browser extension, this feature enables enhanced Single-Sign On capability by reducing the number
    of times an end-user has to authenticate.
- from version 1.31.35
  * api-change:``cloudtrail``: Add ThrottlingException with error code 429 to handle CloudTrail
    Delegated Admin request rate exceeded on organization resources.
  * api-change:``cloudwatch``: Update cloudwatch client to latest version
  * api-change:``detective``: Added protections to interacting with fields containing customer
    information.
- from version 1.31.34
  * api-change:``ec2``: Amazon EC2 M7a instances, powered by 4th generation AMD EPYC processors,
    deliver up to 50% higher performance compared to M6a instances. Amazon EC2 Hpc7a instances, powered
    by 4th Gen AMD EPYC processors, deliver up to 2.5x better performance compared to Amazon EC2 Hpc6a
    instances.
  * api-change:``glue``: Added API attributes that help in the monitoring of sessions.
  * api-change:``mediaconvert``: This release includes additional audio channel tags in Quicktime
    outputs, support for film grain synthesis for AV1 outputs, ability to create audio-only FLAC
    outputs, and ability to specify Amazon S3 destination storage class.
  * api-change:``medialive``: MediaLive now supports passthrough of KLV data to a HLS output group
    with a TS container. MediaLive now supports setting an attenuation mode for AC3 audio when the

OBS-URL: https://build.opensuse.org/request/show/1107909
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-botocore?expand=0&rev=206
2023-08-29 11:16:58 +00:00

88 lines
2.5 KiB
RPMSpec

#
# spec file
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
# Multibuild: some tests need to find botocore in the system sitelib
%define psuffix -test
%bcond_without test
%else
%define psuffix %{nil}
%bcond_with test
%endif
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-botocore%{?psuffix}
Version: 1.31.36
Release: 0
Summary: Python interface for AWS
License: Apache-2.0
URL: https://github.com/boto/botocore
Source: https://files.pythonhosted.org/packages/source/b/botocore/botocore-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-requests
Requires: (python-jmespath >= 0.7.1 with python-jmespath < 2.0.0)
Requires: (python-python-dateutil >= 2.1 with python-python-dateutil < 3.0.0)
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module botocore = %{version}}
BuildRequires: %{python_module jsonschema}
BuildRequires: %{python_module pytest >= 6.2.5}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module urllib3 < 2}
BuildRequires: procps
%endif
%python_subpackages
%description
A low-level interface to a growing number of Amazon Web Services.
%prep
%setup -q -n botocore-%{version}
# remove bundled cacert.pem
rm botocore/cacert.pem
%if !%{with test}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
%if %{with test}
%check
# TODO: Figure out whether integration tests are possible offline
# no_bare_six_imports: we "fixed" that above.
%pytest %{?jobs:-n 4} --ignore tests/integration -k "not six"
%endif
%if !%{with test}
%files %{python_files}
%doc README.rst
%license LICENSE.txt
%{python_sitelib}/botocore/
%{python_sitelib}/botocore-%{version}-py*.egg-info
%endif
%changelog