Robert Schweikert
ede9e69976
- Update to 1.31.27: * enhancement:Python: Added provisional Python 3.12 support to Botocore * api-change:``chime-sdk-meetings``: Updated API documentation to include additional exceptions. * api-change:``ec2``: Documentation updates for Elastic Compute Cloud (EC2). * api-change:``glue``: AWS Glue Crawlers can now accept SerDe overrides from a custom csv classifier. The two SerDe options are LazySimpleSerDe and OpenCSVSerDe. In case, the user wants crawler to do the selection, "None" can be selected for this purpose. * api-change:``pi``: AWS Performance Insights for Amazon RDS is launching Performance Analysis On Demand, a new feature that allows you to analyze database performance metrics and find out the performance issues. You can now use SDK to create, list, get, delete, and manage tags of performance analysis reports. * api-change:``route53domains``: Provide explanation if CheckDomainTransferability return false. Provide requestId if a request is already submitted. Add sensitive protection for customer information * api-change:``sagemaker``: SageMaker Inference Recommender now provides SupportedResponseMIMETypes from DescribeInferenceRecommendationsJob response - from version 1.31.26 * api-change:``mediapackage``: Fix SDK logging of certain fields. * api-change:``omics``: This release provides support for annotation store versioning and cross account sharing for Omics Analytics * api-change:``transfer``: Documentation updates for AWS Transfer Family - from version 1.31.25 * api-change:``amplifybackend``: Adds sensitive trait to required input shapes. * api-change:``config``: Updated ResourceType enum with new resource types onboarded by AWS Config in July 2023. * api-change:``ec2``: Amazon EC2 P5 instances, powered by the latest NVIDIA H100 Tensor Core GPUs, deliver the highest performance in EC2 for deep learning (DL) and HPC applications. M7i-flex and M7i instances are next-generation general purpose instances powered by custom 4th Generation Intel Xeon Scalable processors. * api-change:``quicksight``: New Authentication method for Account subscription - IAM Identity OBS-URL: https://build.opensuse.org/request/show/1104186 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-botocore?expand=0&rev=204
88 lines
2.5 KiB
RPMSpec
88 lines
2.5 KiB
RPMSpec
#
|
|
# spec file
|
|
#
|
|
# Copyright (c) 2023 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
|
|
%{?!python_module:%define python_module() python3-%{**}}
|
|
%define skip_python2 1
|
|
Name: python-botocore%{?psuffix}
|
|
Version: 1.31.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 setuptools}
|
|
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 %{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}
|
|
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
|
|
%python_build
|
|
|
|
%install
|
|
%python_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}-py*.egg-info
|
|
%endif
|
|
|
|
%changelog
|