17
0
Files
python-botocore/python-botocore.spec
Robert Schweikert 0410307bd5 - Update to 1.42.27
* api-change:``bedrock``: This change will increase TestCase guardContent input size from 1024 to
    2028 characters and PolicyBuildDocumentDescription from 2000 to 4000 characters
  * api-change:``datazone``: Adds support for IAM role subscriptions to Glue table listings via
    CreateSubscriptionRequest API. Also adds owningIamPrincipalArn filter to List APIs and
    subscriptionGrantCreationMode parameter to subscription target APIs for controlling grant creation
    behavior.
- from version 1.42.26
  * api-change:``billing``: Cost Categories filtering support to BillingView data filter expressions
    through the new costCategories parameter, enabling users to filter billing views by AWS Cost
    Categories for more granular cost management and allocation.
  * api-change:``iot-managed-integrations``: This release introduces WiFi Simple Setup (WSS) enabling
    device provisioning via barcode scanning with automated network discovery, authentication, and
    credential provisioning. Additionally, it introduces 2P Device Capability Rediscovery for updating
    hub-managed device capabilities post-onboarding.
  * api-change:``sagemaker``: Added ultraServerType to the UltraServerInfo structure to support
    server type identification for SageMaker HyperPod
- from version 1.42.25
  * api-change:``bedrock-agentcore-control``: Adds optional field "view" to GetMemory API input to
    give customers control over whether CMK encrypted data such as strategy decryption or override
    prompts is returned or not.
  * api-change:``cloudfront``: Added EntityLimitExceeded exception handling to the following API
    operations AssociateDistributionWebACL, AssociateDistributionTenantWebACL,
    UpdateDistributionWithStagingConfig
  * api-change:``glue``: Adding MaterializedViews task run APIs
  * api-change:``medialive``: MediaPackage v2 output groups in MediaLive can now accept one
    additional destination for single pipeline channels and up to two additional destinations for
    standard channels. MediaPackage v2 destinations now support sending to cross region MediaPackage
    channels.
  * api-change:``transcribe``: Adds waiters to Amazon Transcribe.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-botocore?expand=0&rev=272
2026-01-14 12:27:05 +00:00

93 lines
2.7 KiB
RPMSpec

#
# spec file for package python-botocore
#
# Copyright (c) 2026 SUSE LLC and contributors
#
# 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.42.27
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