John Paul Adrian Glaubitz
28a3a3bcd4
- Update to 1.35.60 * api-change:``accessanalyzer``: This release adds support for policy validation and external access findings for resource control policies (RCP). IAM Access Analyzer helps you author functional and secure RCPs and awareness that a RCP may restrict external access. Updated service API, documentation, and paginators. * api-change:``application-signals``: Amazon CloudWatch Application Signals now supports creating Service Level Objectives with burn rates. Users can now create or update SLOs with burn rate configurations to meet their specific business requirements. * api-change:``b2bi``: This release adds a GenerateMapping API to allow generation of JSONata or XSLT transformer code based on input and output samples. * api-change:``billing``: Today, AWS announces the general availability of ListBillingViews API in the AWS SDKs, to enable AWS Billing Conductor (ABC) users to create proforma Cost and Usage Reports (CUR) programmatically. * api-change:``cloudtrail``: This release adds a new API GenerateQuery that generates a query from a natural language prompt about the event data in your event data store. This operation uses generative artificial intelligence (generative AI) to produce a ready-to-use SQL query from the prompt. * api-change:``dynamodb``: This release includes supports the new WarmThroughput feature for DynamoDB. You can now provide an optional WarmThroughput attribute for CreateTable or UpdateTable APIs to pre-warm your table or global secondary index. You can also use DescribeTable to see the latest WarmThroughput value. * api-change:``ec2``: This release adds the source AMI details in DescribeImages API * api-change:``internetmonitor``: Add new query type Routing_Suggestions regarding querying interface * api-change:``mediaconvert``: This release adds support for ARN inputs in the Kantar credentials secrets name field and the MSPR field to the manifests for PlayReady DRM protected outputs. * api-change:``organizations``: Add support for policy operations on the Resource Control Polices. - from version 1.35.59 * api-change:``codebuild``: AWS CodeBuild now supports non-containerized Linux and Windows builds on Reserved Capacity. OBS-URL: https://build.opensuse.org/request/show/1224155 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-botocore?expand=0&rev=239
93 lines
2.7 KiB
RPMSpec
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.35.60
|
|
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
|