python-botocore/python-botocore.spec
Robert Schweikert 84966c85ea Accepting request 1179718 from home:glaubitz:branches:devel:languages:python:aws
- Update to 1.34.122
  * api-change:``auditmanager``: New feature: common controls. When creating custom controls, you can
    now use pre-grouped AWS data sources based on common compliance themes. Also, the awsServices
    parameter is deprecated because we now manage services in scope for you. If used, the input is
    ignored and an empty list is returned.
  * api-change:``b2bi``: Added exceptions to B2Bi List operations and ConflictException to B2Bi
    StartTransformerJob operation. Also made capabilities field explicitly required when creating a
    Partnership.
  * api-change:``codepipeline``: CodePipeline now supports overriding S3 Source Object Key during
    StartPipelineExecution, as part of Source Overrides.
  * api-change:``sagemaker``: This release introduces a new optional parameter: InferenceAmiVersion,
    in ProductionVariant.
  * api-change:``verifiedpermissions``: This release adds OpenIdConnect (OIDC) configuration support
    for IdentitySources, allowing for external IDPs to be used in authorization requests.
- from version 1.34.121
  * api-change:``account``: This release adds 3 new APIs (AcceptPrimaryEmailUpdate, GetPrimaryEmail,
    and StartPrimaryEmailUpdate) used to centrally manage the root user email address of member
    accounts within an AWS organization.
  * api-change:``alexaforbusiness``: The alexaforbusiness client has been removed following the
    deprecation of the service.
  * api-change:``firehose``: Adds integration with Secrets Manager for Redshift, Splunk,
    HttpEndpoint, and Snowflake destinations
  * api-change:``fsx``: This release adds support to increase metadata performance on FSx for Lustre
    file systems beyond the default level provisioned when a file system is created. This can be done
    by specifying MetadataConfiguration during the creation of Persistent_2 file systems or by updating
    it on demand.
  * api-change:``glue``: This release adds support for creating and updating Glue Data Catalog Views.
  * api-change:``honeycode``: The honeycode client has been removed following the deprecation of the
    service.
  * api-change:``iotwireless``: Adds support for wireless device to be in Conflict FUOTA Device

OBS-URL: https://build.opensuse.org/request/show/1179718
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-botocore?expand=0&rev=223
2024-06-10 15:30:07 +00:00

93 lines
2.7 KiB
RPMSpec

#
# spec file for package python-botocore
#
# 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
# 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
%{?sle15_python_module_pythons}
Name: python-botocore%{?psuffix}
Version: 1.34.122
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 pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
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 0%{?sle_version} >= 150400
Obsoletes: python3-botocore < %{version}
%endif
%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.1}
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
%pyproject_wheel
%install
%pyproject_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}.dist-info
%endif
%changelog