2024-07-03 12:59:58 +02:00
|
|
|
#
|
|
|
|
# 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}
|
- Update to 1.34.144
* api-change:``acm-pca``: Minor refactoring of C2J model for AWS Private CA
* api-change:``arc-zonal-shift``: Adds the option to subscribe to get notifications when a zonal
autoshift occurs in a region.
* api-change:``globalaccelerator``: This feature adds exceptions to the Customer API to avoid
throwing Internal Service errors
* api-change:``pinpoint``: Add v2 smoke tests and smithy smokeTests trait for SDK testing.
* api-change:``quicksight``: Vega ally control options and Support for Reviewed Answers in Topics
- from version 1.34.143
* api-change:``batch``: This feature allows AWS Batch Jobs with EKS container orchestration type to
be run as Multi-Node Parallel Jobs.
* api-change:``bedrock``: Add support for contextual grounding check for Guardrails for Amazon
Bedrock.
* api-change:``bedrock-agent``: Introduces new data sources and chunking strategies for Knowledge
bases, advanced parsing logic using FMs, session summary generation, and code interpretation
(preview) for Claude V3 Sonnet and Haiku models. Also introduces Prompt Flows (preview) to link
prompts, foundational models, and resources.
* api-change:``bedrock-agent-runtime``: Introduces query decomposition, enhanced Agents integration
with Knowledge bases, session summary generation, and code interpretation (preview) for Claude V3
Sonnet and Haiku models. Also introduces Prompt Flows (preview) to link prompts, foundational
models, and resources for end-to-end solutions.
* api-change:``bedrock-runtime``: Add support for contextual grounding check and ApplyGuardrail API
for Guardrails for Amazon Bedrock.
* api-change:``ec2``: Add parameters to enable provisioning IPAM BYOIPv4 space at a Local Zone
Network Border Group level
* api-change:``glue``: Add recipe step support for recipe node
* api-change:``groundstation``: Documentation update specifying OEM ephemeris units of measurement
* api-change:``license-manager-linux-subscriptions``: Add support for third party subscription
providers, starting with RHEL subscriptions through Red Hat Subscription Manager (RHSM).
Additionally, add support for tagging subscription provider resources, and detect when an instance
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-botocore?expand=0&rev=227
2024-07-17 22:56:06 +02:00
|
|
|
Version: 1.34.144
|
2024-07-03 12:59:58 +02:00
|
|
|
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
|