forked from pool/python-botocore
* api-change:``amp``: Add support for sending metrics to cross account and CMCK AMP workspaces through RoleConfiguration on Create/Update Scraper. * api-change:``bedrock-agent-runtime``: This change is to deprecate the existing citation field under RetrieveAndGenerateStream API response in lieu of GeneratedResponsePart and RetrievedReferences * api-change:``codebuild``: Added support for CodeBuild self-hosted Buildkite runner builds * api-change:``geo-routes``: The OptimizeWaypoints API now supports 50 waypoints per request (20 with constraints like AccessHours or AppointmentTime). It adds waypoint clustering via Clustering and ClusteringIndex for better optimization. Also, total distance validation is removed for greater flexibility. * api-change:``rds``: Updates to Aurora MySQL and Aurora PostgreSQL API pages with instance log type in the create and modify DB Cluster. * api-change:``sagemaker``: This release introduces a new valid value in InstanceType parameter: p5en.48xlarge, in ProductionVariant. - from version 1.36.10 * api-change:``appstream``: Add support for managing admin consent requirement on selected domains for OneDrive Storage Connectors in AppStream2.0. * api-change:``bedrock-agent-runtime``: Add a 'reason' field to InternalServerException * api-change:``ecr``: Temporarily updating dualstack endpoint support * api-change:``ecr-public``: Temporarily updating dualstack endpoint support * api-change:``mediatailor``: Adds options for configuring how MediaTailor conditions ads before inserting them into the content stream. Based on the new settings, MediaTailor will either transcode ads to match the content stream as it has in the past, or it will insert ads without first transcoding them. * api-change:``qbusiness``: Added APIs to manage QBusiness user subscriptions * api-change:``s3tables``: You can now use the CreateTable API operation to create tables with schemas by adding an optional metadata argument. * api-change:``verifiedpermissions``: Adds Cedar JSON format support for entities and context data in authorization requests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-botocore?expand=0&rev=245
93 lines
2.7 KiB
RPMSpec
93 lines
2.7 KiB
RPMSpec
#
|
|
# spec file for package python-botocore
|
|
#
|
|
# Copyright (c) 2025 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.36.11
|
|
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
|