Accepting request 1186161 from home:glaubitz:branches:devel:languages:python
- Update to version 2.129.1
* Support for calling Oracle Cloud Infrastructure services in the `ap-singapore-2` region
* Support for additional parameters in list and delete operations in the File Storage service
* Support for host capacity planning to analyze disabled and deleted resources
in the Operations Insights service
* Support for title and description updates in the Capacity Management service
* Support for listing parameters for migrations in the Database Migration service
* Support for Oracle exadata database service on exascale Infrastructure (ExaDB-XS)
in the Database service
- from version 2.129.0
* Support for MySQL to MySQL homogeneous migrations in the Database Migration service
* Support for manual cross-region backups in the MySQL Heatwave service
* The models AdvisorSettings, Agent, AgentCollection, AgentImageCollection, AgentImageSummary,
AgentSummary, AwsS3DataTransferMediumDetails, AwsS3Details, ChangeAgentCompartmentDetails,
ConnectDescriptor, CreateAdvisorSettings, CreateAwsS3Details, CreateConnectDescriptor,
CreateDataPumpSettings, CreateDataTransferMediumDetails, CreateDatabaseLinkDetails,
CreateDumpTransferDetails, CreateGoldenGateDetails, CreateGoldenGateHub, CreateGoldenGateServiceDetails,
CreateGoldenGateServiceDetails, CreatePrivateEndpoint, CreateSshDetails, CreateVaultDetails,
DataPumpSettings, DataTransferMediumDetails, DataTransferMediumDetailsV2, DatabaseCredentials,
DatabaseLinkDetails, DatabaseObject, DbLinkDataTransferMediumDetails, DumpTransferDetails,
GoldenGateDetails, GoldenGateHub, GoldenGateServiceDetails, GoldenGateSettings, MigrationObjectSummary,
NfsDataTransferMediumDetails, ObjectStorageDataTransferMediumDetails, PrivateEndpointDetails,
SshDetails, UpdateAdvisorSettings, UpdateAgentDetails, UpdateAwsS3Details, UpdateConnectDescriptor,
UpdateDataPumpSettings, UpdateDataTransferMediumDetails, UpdateDatabaseLinkDetails,
UpdateDumpTransferDetails, UpdateGoldenGateDetails, UpdateGoldenGateHub, UpdateGoldenGateServiceDetails,
UpdateGoldenGateSettings, UpdatePrivateEndpoint, UpdateSshDetails, UpdateVaultDetails, VaultDetails
were removed in the Database Migration service
* The operations change_agent_compartment, delete_agent, get_agent, list_agent_images, list_agents,
and update_agent were removed in the Database Migration service
* The composite operations delete_agent_and_wait_for_state and update_agent_and_wait_for_state
OBS-URL: https://build.opensuse.org/request/show/1186161
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=155
2024-07-09 06:32:14 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-oci-sdk
|
|
|
|
|
#
|
|
|
|
|
# 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/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%bcond_without python2
|
|
|
|
|
%{?sle15_python_module_pythons}
|
|
|
|
|
Name: python-oci-sdk
|
- Update to version 2.149.2
* Support for the Lustre File service
* Support for machine learning applications in the Data Science service
* Support for action endpoints to export and import configurations in
the Application Performance Monitoring service
* Support for ECPU (Elastic Compute Unit) compute model based warehouses
in the Operations insights service
- from version 2.149.1
* Support for agent platforms and Retrieval Augmented Generation (RAG)
agents in the Generative AI Agent service
* Support for knowledge based metadata summaries in the Generative AI
Agent service
* Support for create and update operations on onboard configurations
in the Stack Monitoring service
* Support for automatic activation of the management agents on compute
instance launch in the Stack Monitoring service
* Support for importing collectd resources in the Stack Monitoring service
* Support for updating the handler configurations for collected resources
in Stack Monitoring service
* Support for monitored resource types based on source type and resource
category in the Stack Monitoring service
* Support for adding tags in maintenance windows in the Stack Monitoring service
* Support for host API feature in the Compute service
- from version 2.149.0
* Support for Managed Services for Mac service
* Support for scheduling customer-initiated backups in the GoldenGate service
* Support for GPU memory clusters and fabrics in the Compute service
* The properties `ip_anycast_id` and `monitor_ip` were removed from the models
`CreateByoipRangeDetails` and `UpdateByoipRangeDetails` in the Compute service
- from version 2.148.0
* Support for pipelines in the OpenSearch service
* Support for uploading and downloading the model metadata artifacts in the
Data Science service
* Support for model references via native API in the Data Science service
* Support for scheduling cross-region database backups in the HeatWave service
* Support for specifying backup retention days for manual cross-region backups
in the HeatWave service
* Support for IPv6 addresses for dedicated infrastructure in the Database service
* Support for NewDev edition for the development community in the Database service
* Support for grouping sensitive types across the tenancies and reuse of groups
in the discovery workflow in the Data Safe service
* Support for generating custom assessment reports in the Data Safe service
* The properties `max_memory_gb`, `max_ocpu_count`, `min_memory_gb`, `min_ocpu_count`
were removed from the models `CreateOpensearchClusterPipelineDetails`,
`OpensearchClusterPipeline`, `OpensearchClusterPipelineSummary`, and
`UpdateOpensearchClusterPipelineDetails` in the OpenSearch service
* The property `system_tags` was removed from the model
`CreateOpensearchClusterPipelineDetails` in the OpenSearch service
* The models `OpensearchPipelineValidationResponse`, `ValidateOpensearchPipelineDetails`,
and `PipelineValidationErrorDetails` were removed in the OpenSearch service
- from version 2.147.0
* Support for user quotas on file system resources in the File Storage service
* Support for long term retention backups in the Autonomous Recovery service
* Support for Cross Region Replication(CRR) in the PostgreSQL service
* Support for subscriptions and cluster placement groups on exascale infrastructure
in the Database service
* Support for multiple standby databases for autonomous dataguard associations
in the Database service
* Support for major version upgrade of clusters in the OpenSearch service
* Support for Customer Service Identifier(CSI) number in list assigned subscriptions
response in the Organizations service
* Operation `create_subscription_mapping_and_wait_for_state` waits on
`SubscriptionMapping.lifecycle_state` instead of `WorkRequest` in the
Organizations service
- from version 2.146.0
* Support for Database Lifecycle Management service
* Support for Valkey cluster creation and Valkey migration in the OCI Cache service
* Support for Dataflow Steps and Storage Mounts in Pipelines in the Data Science service
* Support for Bring Your Own DKIM Keys in the Email Delivery service
* Support for OpenId Connect Multi Authentication command in the OCI Kubernetes Engine service
* Support for security attributes for Load Balancer resource in the Load Balancer service
* Support for reservation of private IP addresses in the Networking service
* Support for additional configuration parameters in the HeatWave service
* Support for private and 3rd party software repositories, and rebooting
of instances in the OS Management service
* The property `zpr_tags` was removed from models `UpdateLoadBalancerDetails`,
`CreateLoadBalancerDetails` and `LoadBalancer` in the Load Balancer service
* The models `CreateContainerCommandHealthCheckDetails` and `ContainerCommandHealthCheck`
were removed in the Container Instances service
* The allowed value `COMMAND` was removed from the property `health_check_type` in the
models `ContainerHealthCheckType`, `ContainerHttpHealthCheck` and `ContainerTcpHealthCheck`
in the Container Instances service
2025-04-07 09:47:04 +02:00
|
|
|
Version: 2.149.2
|
Accepting request 1186161 from home:glaubitz:branches:devel:languages:python
- Update to version 2.129.1
* Support for calling Oracle Cloud Infrastructure services in the `ap-singapore-2` region
* Support for additional parameters in list and delete operations in the File Storage service
* Support for host capacity planning to analyze disabled and deleted resources
in the Operations Insights service
* Support for title and description updates in the Capacity Management service
* Support for listing parameters for migrations in the Database Migration service
* Support for Oracle exadata database service on exascale Infrastructure (ExaDB-XS)
in the Database service
- from version 2.129.0
* Support for MySQL to MySQL homogeneous migrations in the Database Migration service
* Support for manual cross-region backups in the MySQL Heatwave service
* The models AdvisorSettings, Agent, AgentCollection, AgentImageCollection, AgentImageSummary,
AgentSummary, AwsS3DataTransferMediumDetails, AwsS3Details, ChangeAgentCompartmentDetails,
ConnectDescriptor, CreateAdvisorSettings, CreateAwsS3Details, CreateConnectDescriptor,
CreateDataPumpSettings, CreateDataTransferMediumDetails, CreateDatabaseLinkDetails,
CreateDumpTransferDetails, CreateGoldenGateDetails, CreateGoldenGateHub, CreateGoldenGateServiceDetails,
CreateGoldenGateServiceDetails, CreatePrivateEndpoint, CreateSshDetails, CreateVaultDetails,
DataPumpSettings, DataTransferMediumDetails, DataTransferMediumDetailsV2, DatabaseCredentials,
DatabaseLinkDetails, DatabaseObject, DbLinkDataTransferMediumDetails, DumpTransferDetails,
GoldenGateDetails, GoldenGateHub, GoldenGateServiceDetails, GoldenGateSettings, MigrationObjectSummary,
NfsDataTransferMediumDetails, ObjectStorageDataTransferMediumDetails, PrivateEndpointDetails,
SshDetails, UpdateAdvisorSettings, UpdateAgentDetails, UpdateAwsS3Details, UpdateConnectDescriptor,
UpdateDataPumpSettings, UpdateDataTransferMediumDetails, UpdateDatabaseLinkDetails,
UpdateDumpTransferDetails, UpdateGoldenGateDetails, UpdateGoldenGateHub, UpdateGoldenGateServiceDetails,
UpdateGoldenGateSettings, UpdatePrivateEndpoint, UpdateSshDetails, UpdateVaultDetails, VaultDetails
were removed in the Database Migration service
* The operations change_agent_compartment, delete_agent, get_agent, list_agent_images, list_agents,
and update_agent were removed in the Database Migration service
* The composite operations delete_agent_and_wait_for_state and update_agent_and_wait_for_state
OBS-URL: https://build.opensuse.org/request/show/1186161
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=155
2024-07-09 06:32:14 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Oracle Cloud Infrastructure Python SDK
|
|
|
|
|
License: Apache-2.0 OR UPL-1.0
|
|
|
|
|
Group: Development/Languages/Python
|
|
|
|
|
URL: https://github.com/oracle/oci-python-sdk
|
|
|
|
|
Source: %{url}/archive/v%{version}.tar.gz#/oci-python-sdk-%{version}.tar.gz
|
|
|
|
|
Source99: python-oci-sdk.rpmlintrc
|
|
|
|
|
Patch0: ops_relax-python-depends.patch
|
|
|
|
|
# PATCH-FIX-OPENSUSE pytest-740.patch gh#oracle/oci-python-sdk#566
|
|
|
|
|
Patch1: pytest-740.patch
|
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
|
Requires: python-certifi
|
|
|
|
|
Requires: python-circuitbreaker >= 1.3.1
|
|
|
|
|
Requires: python-cryptography >= 3.2.1
|
|
|
|
|
Requires: python-pyOpenSSL >= 17.5.0
|
|
|
|
|
Requires: python-python-dateutil >= 2.5.3
|
|
|
|
|
Requires: python-pytz >= 2016.10
|
|
|
|
|
# SECTION devendored packages
|
|
|
|
|
Requires: python-PyJWT
|
|
|
|
|
Requires: python-httpsig_cffi
|
|
|
|
|
Requires: python-requests
|
|
|
|
|
Requires: python-six
|
|
|
|
|
Requires: python-sseclient
|
|
|
|
|
Requires: python-urllib3 < 2
|
|
|
|
|
# /SECTION
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
# SECTION test requirements
|
|
|
|
|
BuildRequires: %{python_module PyJWT}
|
|
|
|
|
BuildRequires: %{python_module certifi}
|
|
|
|
|
BuildRequires: %{python_module circuitbreaker >= 1.3.1}
|
|
|
|
|
BuildRequires: %{python_module cryptography >= 3.2.1}
|
|
|
|
|
BuildRequires: %{python_module httpsig_cffi}
|
|
|
|
|
BuildRequires: %{python_module pyOpenSSL >= 17.5.0}
|
|
|
|
|
BuildRequires: %{python_module pytest > 4.1.0}
|
|
|
|
|
BuildRequires: %{python_module python-dateutil >= 2.5.3}
|
|
|
|
|
BuildRequires: %{python_module pytz >= 2016.10}
|
|
|
|
|
BuildRequires: %{python_module requests}
|
|
|
|
|
BuildRequires: %{python_module six}
|
|
|
|
|
BuildRequires: %{python_module sseclient}
|
|
|
|
|
BuildRequires: %{python_module urllib3 < 2}
|
|
|
|
|
BuildRequires: %{python_module vcrpy >= 2.0.1}
|
|
|
|
|
%if %{with python2}
|
|
|
|
|
BuildRequires: python-configparser >= 4.0.2
|
|
|
|
|
%endif
|
|
|
|
|
# /SECTION
|
|
|
|
|
%ifpython2
|
|
|
|
|
Requires: python-configparser >= 4.0.2
|
|
|
|
|
%endif
|
|
|
|
|
# The PyPI name is just oci
|
|
|
|
|
Provides: python-oci = %{version}-%{release}
|
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Python SDK for Oracle Cloud Infrastructure. Python 2.7+ and 3.5+ are supported.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1 -n oci-python-sdk-%{version}
|
|
|
|
|
# Remove vendored packages
|
|
|
|
|
rm -rf src/oci/_vendor/
|
|
|
|
|
# Fix includes
|
|
|
|
|
find . -name "*.py" -exec sed -i 's/from oci._vendor //' \{\} +
|
|
|
|
|
sed -i 's/from \._vendor //' src/oci/*.py
|
|
|
|
|
sed -i 's/ oci._vendor.jwt as//' src/oci/auth/*.py
|
|
|
|
|
sed -i 's/oci\._vendor\.//' src/oci/*.py src/oci/auth/*.py src/oci/auth/signers/*.py src/oci/retry/*.py src/oci/object_storage/transfer/internal/*.py tests/*.py
|
|
|
|
|
sed -i 's/from . import vcr_mods//' tests/test_config_container.py
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%pytest tests/unit tests/integ -s -rs
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%pyproject_install
|
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
|
%doc CHANGELOG.rst README.rst
|
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
%{python_sitelib}/oci
|
|
|
|
|
%{python_sitelib}/oci-%{version}*-info
|
|
|
|
|
|
|
|
|
|
%changelog
|