1
0
python-oci-sdk/python-oci-sdk.spec

110 lines
3.7 KiB
RPMSpec
Raw Normal View History

#
# 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.
Accepting request 771560 from home:glaubitz:branches:devel:languages:python - Update to version 2.10.3 + Support for the Data Science service + Support for calling Oracle Cloud Infrastructure services in the ap-osaka-1 and ap-melbourne-1 regions - from version 2.10.2 + Support for the Application Migration service + Support for the Data Flow service + Support for the Data Catalog service + Support for cross-shape Data Guard in the Database service + Support for offline data export in the Data Transfer service - from version 2.10.1 + Support for getting DRG redundancy status in the Networking service + Support for cloning autonomous databases from backups in the Database service - from version 2.10.0 + Support for a description field on route rules and security rules in the Networking service + Support for starting and stopping Digital Assistant instances in the Digital Assistant service + Support for shared database homes on Exadata, bare metal, and virtual machine instances in the Database service + Support for tracking a number of Database service operations through the Work Requests service + Field db_home_id in list_databases from database service is changed from required to optional - Refresh patches for new version + ops_fixture-order.patch + ops_relax-python-depends.patch - Update file list to fix Python imports for unvendoring OBS-URL: https://build.opensuse.org/request/show/771560 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=3
2020-02-07 13:37:53 +01:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%bcond_without python2
%{?sle15_python_module_pythons}
Name: python-oci-sdk
Version: 2.127.0
Release: 0
Summary: Oracle Cloud Infrastructure Python SDK
Accepting request 892518 from home:glaubitz:branches:devel:languages:python - Update to version 2.38.1 * Support for the Operator Access Control service * Support for the Service Catalog service * Support for the AI Language service * Support for autonomous database on Exadata Cloud at Customer infrastructure patching in the Database service - from version 2.38.0 * Support for RACs (real application clusters) for external container, non-container, and pluggable databases in the Database service * Support for data masking in the Cloud Guard service * Support for opting out of DNS records during instance launch, as well as attaching secondary VNICs, in the Compute service * Support for mutable sizes on cluster networks in the Autoscaling service * Support for auto-tiering on buckets in the Object Storage service * VCN id parameters were moved from being required to being optional on all list operations in the Networking service - from version 2.37.0 * Support for opting in/out of live migration on instances in the Compute service * Support for enabling/disabling Operations Insights on external non-container and external pluggable databases in the Database service * Support for a GraphStudio URL as a connection URL on databases in the Database service * Support for adding customer contacts on autonomous databases in the Database service * Support for name annotations on harvested objects in the Data Catalog service * If retries are enabled, the SDK will now retry on status 409/IncorrectState. It will not retry on status 501. * Bumped cryptography version to 3.3.2 to address security vulnerability https://github.com/oracle/oci-python-sdk/pull/322 - from version 2.36.0 * Support for the Database Migration service * Support for the Networking Topology service OBS-URL: https://build.opensuse.org/request/show/892518 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=24
2021-05-12 20:50:29 +02:00
License: Apache-2.0 OR UPL-1.0
Group: Development/Languages/Python
Accepting request 771560 from home:glaubitz:branches:devel:languages:python - Update to version 2.10.3 + Support for the Data Science service + Support for calling Oracle Cloud Infrastructure services in the ap-osaka-1 and ap-melbourne-1 regions - from version 2.10.2 + Support for the Application Migration service + Support for the Data Flow service + Support for the Data Catalog service + Support for cross-shape Data Guard in the Database service + Support for offline data export in the Data Transfer service - from version 2.10.1 + Support for getting DRG redundancy status in the Networking service + Support for cloning autonomous databases from backups in the Database service - from version 2.10.0 + Support for a description field on route rules and security rules in the Networking service + Support for starting and stopping Digital Assistant instances in the Digital Assistant service + Support for shared database homes on Exadata, bare metal, and virtual machine instances in the Database service + Support for tracking a number of Database service operations through the Work Requests service + Field db_home_id in list_databases from database service is changed from required to optional - Refresh patches for new version + ops_fixture-order.patch + ops_relax-python-depends.patch - Update file list to fix Python imports for unvendoring OBS-URL: https://build.opensuse.org/request/show/771560 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=3
2020-02-07 13:37:53 +01:00
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
- Add pytest-740.patch to fix compatibility issues with pytest 7.4.0 gh#oracle/oci-python-sdk#566 - Update to version 2.110.0 - Support for backup retention on autonomous database create operations in the Database service - Support for exclude tables for replication in the Database Migration service - Support for adding and updating auto failover maximum data loss limits for local autonomous data guards in the Database service - Support for limiting networking diagram ingestion in the Networking Monitoring service - Support for new operations for deployment upgrades in the GoldenGate service - Support for getting model type information and base model versions while creating language custom models in the AI Language service - Support for support field in class metric in the AI Language service - Support for Compute Cloud at Customer resource type in the Operator Access Control service - Support for managing account management info, account recovery settings, app roles, apps, app status changers, grants, identity propagation trusts and settings, request-able groups, requests, security questions, OAuth tokens, and user attribute settings in the Identity Domains service - Property ipv6_cidr_block is removed from models Vcn and CreateVcnDetails in the Networking Monitoring service - Property ipv6_public_cidr_block is removed from models Vcn and Subnet in the Networking Monitoring service - Property is_internet_access_allowed is removed from models UpdateIpv6Details, Ipv6 and CreateIpv6Details in the Networking Monitoring service - Property public_ip_address is removed from model Ipv6 in the Networking Monitoring service - Support for retries by default on operations of the Operator Access Control service - 2.109.0 - Support for the Exadata Fleet Update service - Support for REST-based log collection, multi-conditional labels, and collection properties in the Logging Analytics service - Support for Kubernetes cluster credential rotation in the Container Engine for Kubernetes service - Support for zero-downtime features in the Fusion Apps as a Service service - Support for news reports in the Operations Insights service - Allowed value ACCELERATION_MAINTENANCE was removed from the property task_type in the models StandardTask, ScheduledTaskSummary and ScheduledTask in the Logging Analytics service OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=111
2023-08-09 12:34:34 +02:00
# PATCH-FIX-OPENSUSE pytest-740.patch gh#oracle/oci-python-sdk#566
Accepting request 1164569 from home:glaubitz:branches:devel:languages:python - Update to version 2.125.1 * Support for assigned private IP and single stack IPV6 feature for Network Load Balancer Service * Support for Configuration API in Email Delivery Service * Support for the status field in creating data source resource for Cloud Guard Service * Support for TLSv1.3 in Load Balancer Service * Support for sending mails via HTTPS for Email Delivery Service - from version 2.125.0 * Support for creating and updating a refreshable clone with auto-refresh for an Autonomous Database in the Database service * Support for symmetric hashing in the Network Load Balancer service * Support for creating and deploying helm command specifications in the DevOps Service * Support for uninstalling helm chart when deleting an Oracle Kubernetes Stage through the DevOps Service * Support for collecting metrics and filter plugin with Unified Monitoring Agent (UMA) in the Logging service * Support for reading logs from head position after agent restart in the Logging service * Support for monitoring MySQL HeatWave clusters in Database Management Service * Support for multiple severities in an alarm in the Monitoring service * The properties `DisplayName` and `Description` were made required in the model `CreateUnifiedAgentConfigurationDetails` in the Logging service * The property `RecordInput` was made required in the model `OperationalMetricsSource` in the Logging service - from version 2.124.2 * Support for standalone Oracle HTTP server discovery and monitoring in the Stack Monitoring service * Support for attribute management for traces in the Application Performance Monitoring service * Support for async jobs and document translations in the AI language service - from version 2.124.1 * Support for new development license type on dedicated infrastructure in the Database service * Support for placement parameters on Autonomous Container Database create operation in the Database service * Support for autoscaling on model deployment in the Data Science service - from version 2.124.0 * Support for Linux capabilities configuration for the containers in the Container Instances service * Support for service platforms in the Oracle Store Platform Gateway service OBS-URL: https://build.opensuse.org/request/show/1164569 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=139
2024-04-04 23:17:42 +02:00
Patch1: pytest-740.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
Accepting request 771560 from home:glaubitz:branches:devel:languages:python - Update to version 2.10.3 + Support for the Data Science service + Support for calling Oracle Cloud Infrastructure services in the ap-osaka-1 and ap-melbourne-1 regions - from version 2.10.2 + Support for the Application Migration service + Support for the Data Flow service + Support for the Data Catalog service + Support for cross-shape Data Guard in the Database service + Support for offline data export in the Data Transfer service - from version 2.10.1 + Support for getting DRG redundancy status in the Networking service + Support for cloning autonomous databases from backups in the Database service - from version 2.10.0 + Support for a description field on route rules and security rules in the Networking service + Support for starting and stopping Digital Assistant instances in the Digital Assistant service + Support for shared database homes on Exadata, bare metal, and virtual machine instances in the Database service + Support for tracking a number of Database service operations through the Work Requests service + Field db_home_id in list_databases from database service is changed from required to optional - Refresh patches for new version + ops_fixture-order.patch + ops_relax-python-depends.patch - Update file list to fix Python imports for unvendoring OBS-URL: https://build.opensuse.org/request/show/771560 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=3
2020-02-07 13:37:53 +01:00
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-certifi
Accepting request 927487 from home:glaubitz:branches:devel:languages:python - Update to version 2.48.0 * Support for creating database systems from backups with database software images in the Database service * Support for optionally providing a SID prefix during Exadata database creation in the Database service * Support for node subsetting on VM clusters in the Database service * Support for non-CDB to PDB conversion in the Database service * Support for default homepages, unprocessed data buckets, and parsing geostats in the Logging Analytics service * Support for Circuit Breakers. Please refer `here <https://docs.oracle.com/en-us/ iaas/tools/python/latest/sdk_behaviors/circuit_breakers.html>`__ to learn more. * Support for enabling/disabling Retries globally for operations using Default Retry Strategy. Please refer `here <https://docs.oracle.com/en-us/iaas/tools/ python/latest/sdk_behaviors/retries.html#overriding-the-retry-behavior-at- global-sdk-level>`__ for more info. * Default Retry strategy will now retry operations for max 8 attempts and have a timeout of 600 seconds before failing. The strategy will now use `De-Correlated jitter <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/ retries.html#de-correlated-jitter>`__ as the default delay strategy. - from version 2.47.1 * Support for the Data Labeling Service * Support for the Web Application Firewall service * Support for querying and setting Application Performance Monitoring configurations in the Application Performance Monitoring service * Support for the run-once monitor feature and network data collection in the Application Performance Monitoring service * Support for Oracle Enterprise Manager bridges, source auto-association, source event types mapping, and partitioning and searching data by LogSet in the Logging Analytics service * Support for Log events APIs used by plugins like fluentd, fluentbit, etc. to upload OBS-URL: https://build.opensuse.org/request/show/927487 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=35
2021-10-27 15:46:05 +02:00
Requires: python-circuitbreaker >= 1.3.1
Requires: python-cryptography >= 3.2.1
Accepting request 934555 from home:glaubitz:branches:devel:languages:python - Update to version 2.51.0 * Support for getting subnet topology in the Networking service * Support for encrypted FastConnect resources in the Networking service * Support for performance and high availability, as well as recommendation metrics, in the Optimizer service * Support for optional TDE wallet passwords in the Database service * Support for Object Storage service integration in the Big Data service * Support for circuit breakers enabled by default in all services except Streaming and Compute * Support for retries enabled by default in all operations of the Functions and Roving Edge services, and in some operations of the Streaming service. - from version 2.50.0 * Support for drill down metadata in the Management Dashboard service * Support for operator access control on dedicated autonomous databases in the Operator Access Control service * Property `resource_type` and `is_enforced_always` from model `CreateOperatorControlAssignmentDetails` changed from optional to required in the Operator Access Control service * Property `operator_control_name`, `approver_groups_list` and `is_fully_pre_approved` from model `UpdateOperatorControlDetails` changed from optional to required in the Operator Access Control service * Property `is_enforced_always` from model `UpdateOperatorControlAssignmentDetails` changed from optional to required in the Operator Access Control service * Property `approver_groups_list` and `is_fully_pre_approved` from model `CreateOperatorControlDetails` changed from optional to required in the Operator Access Control service * Data type for response of operation `create_operator_control_assignment` changed to `oci.operator_access_control.models.OperatorControlAssignment` in the Operator Access Control service OBS-URL: https://build.opensuse.org/request/show/934555 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=36
2021-11-29 20:38:15 +01:00
Requires: python-pyOpenSSL >= 17.5.0
Accepting request 771560 from home:glaubitz:branches:devel:languages:python - Update to version 2.10.3 + Support for the Data Science service + Support for calling Oracle Cloud Infrastructure services in the ap-osaka-1 and ap-melbourne-1 regions - from version 2.10.2 + Support for the Application Migration service + Support for the Data Flow service + Support for the Data Catalog service + Support for cross-shape Data Guard in the Database service + Support for offline data export in the Data Transfer service - from version 2.10.1 + Support for getting DRG redundancy status in the Networking service + Support for cloning autonomous databases from backups in the Database service - from version 2.10.0 + Support for a description field on route rules and security rules in the Networking service + Support for starting and stopping Digital Assistant instances in the Digital Assistant service + Support for shared database homes on Exadata, bare metal, and virtual machine instances in the Database service + Support for tracking a number of Database service operations through the Work Requests service + Field db_home_id in list_databases from database service is changed from required to optional - Refresh patches for new version + ops_fixture-order.patch + ops_relax-python-depends.patch - Update file list to fix Python imports for unvendoring OBS-URL: https://build.opensuse.org/request/show/771560 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=3
2020-02-07 13:37:53 +01:00
Requires: python-python-dateutil >= 2.5.3
Requires: python-pytz >= 2016.10
# SECTION devendored packages
Requires: python-PyJWT
Requires: python-httpsig_cffi
Accepting request 771560 from home:glaubitz:branches:devel:languages:python - Update to version 2.10.3 + Support for the Data Science service + Support for calling Oracle Cloud Infrastructure services in the ap-osaka-1 and ap-melbourne-1 regions - from version 2.10.2 + Support for the Application Migration service + Support for the Data Flow service + Support for the Data Catalog service + Support for cross-shape Data Guard in the Database service + Support for offline data export in the Data Transfer service - from version 2.10.1 + Support for getting DRG redundancy status in the Networking service + Support for cloning autonomous databases from backups in the Database service - from version 2.10.0 + Support for a description field on route rules and security rules in the Networking service + Support for starting and stopping Digital Assistant instances in the Digital Assistant service + Support for shared database homes on Exadata, bare metal, and virtual machine instances in the Database service + Support for tracking a number of Database service operations through the Work Requests service + Field db_home_id in list_databases from database service is changed from required to optional - Refresh patches for new version + ops_fixture-order.patch + ops_relax-python-depends.patch - Update file list to fix Python imports for unvendoring OBS-URL: https://build.opensuse.org/request/show/771560 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=3
2020-02-07 13:37:53 +01:00
Requires: python-requests
Requires: python-six
Requires: python-sseclient
Accepting request 1087949 from home:glaubitz:branches:devel:languages:python - Update to version 2.102.0 * Support for self-service integration in the Fusion Apps as a Service service * The models `AttachExistingInstanceDetails`, `CreateNewInstanceDetails`, `CreateOicServiceInstanceDetails`, `CreateServiceInstanceDetails`, `FawAdminInfoDetails` and `CreateOaxServiceInstanceDetails` were removed from the Fusion Apps as a Service service * The property `action` was removed from the `ServiceAttachment` model in the Fusion Apps as a Service service * The property `action` was removed from the `CreateServiceAttachmentDetails` model in the Fusion Apps as a Service service - from version 2.101.0 * Support for the Access Governance service * Support for creating, updating, listing and downloading one-off patches in the Database service * Support for changing disaster recovery configurations of remote autonomous databases in the Database service * Support for scheduling automatic backups in the Database service * Support for provisioning Software-Defined Data Centers (SDDCs) using standard bare metal shapes, with Block Storage as the datastore, in the VMWare Solution service * Support for parity with the configuration options of the Compute service in the Compute Autoscaling service * The Data Connectivity Management service was removed from the SDK - from version 2.100.0 * Support for calling Oracle Cloud Infrastructure services in the eu-jovanovac-1 region * Support for bring-your-own-license TLS and ORDS certificates in the Database service * Support for tags in the Stack Monitoring service * Support for GPU shapes for model deployments in the Data Science service * Support for returning networking details of instances in the Visual Builder service * Support for high-memory VMs in the Compute service * Support for integrating with the Integration Cloud service in the Process Automation service * Support for managing on-demand node upgrades in node pools in the OBS-URL: https://build.opensuse.org/request/show/1087949 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=95
2023-05-19 19:04:52 +02:00
Requires: python-urllib3 < 2
# /SECTION
Accepting request 771560 from home:glaubitz:branches:devel:languages:python - Update to version 2.10.3 + Support for the Data Science service + Support for calling Oracle Cloud Infrastructure services in the ap-osaka-1 and ap-melbourne-1 regions - from version 2.10.2 + Support for the Application Migration service + Support for the Data Flow service + Support for the Data Catalog service + Support for cross-shape Data Guard in the Database service + Support for offline data export in the Data Transfer service - from version 2.10.1 + Support for getting DRG redundancy status in the Networking service + Support for cloning autonomous databases from backups in the Database service - from version 2.10.0 + Support for a description field on route rules and security rules in the Networking service + Support for starting and stopping Digital Assistant instances in the Digital Assistant service + Support for shared database homes on Exadata, bare metal, and virtual machine instances in the Database service + Support for tracking a number of Database service operations through the Work Requests service + Field db_home_id in list_databases from database service is changed from required to optional - Refresh patches for new version + ops_fixture-order.patch + ops_relax-python-depends.patch - Update file list to fix Python imports for unvendoring OBS-URL: https://build.opensuse.org/request/show/771560 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=3
2020-02-07 13:37:53 +01:00
BuildArch: noarch
# SECTION test requirements
Accepting request 771560 from home:glaubitz:branches:devel:languages:python - Update to version 2.10.3 + Support for the Data Science service + Support for calling Oracle Cloud Infrastructure services in the ap-osaka-1 and ap-melbourne-1 regions - from version 2.10.2 + Support for the Application Migration service + Support for the Data Flow service + Support for the Data Catalog service + Support for cross-shape Data Guard in the Database service + Support for offline data export in the Data Transfer service - from version 2.10.1 + Support for getting DRG redundancy status in the Networking service + Support for cloning autonomous databases from backups in the Database service - from version 2.10.0 + Support for a description field on route rules and security rules in the Networking service + Support for starting and stopping Digital Assistant instances in the Digital Assistant service + Support for shared database homes on Exadata, bare metal, and virtual machine instances in the Database service + Support for tracking a number of Database service operations through the Work Requests service + Field db_home_id in list_databases from database service is changed from required to optional - Refresh patches for new version + ops_fixture-order.patch + ops_relax-python-depends.patch - Update file list to fix Python imports for unvendoring OBS-URL: https://build.opensuse.org/request/show/771560 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=3
2020-02-07 13:37:53 +01:00
BuildRequires: %{python_module PyJWT}
BuildRequires: %{python_module certifi}
Accepting request 927487 from home:glaubitz:branches:devel:languages:python - Update to version 2.48.0 * Support for creating database systems from backups with database software images in the Database service * Support for optionally providing a SID prefix during Exadata database creation in the Database service * Support for node subsetting on VM clusters in the Database service * Support for non-CDB to PDB conversion in the Database service * Support for default homepages, unprocessed data buckets, and parsing geostats in the Logging Analytics service * Support for Circuit Breakers. Please refer `here <https://docs.oracle.com/en-us/ iaas/tools/python/latest/sdk_behaviors/circuit_breakers.html>`__ to learn more. * Support for enabling/disabling Retries globally for operations using Default Retry Strategy. Please refer `here <https://docs.oracle.com/en-us/iaas/tools/ python/latest/sdk_behaviors/retries.html#overriding-the-retry-behavior-at- global-sdk-level>`__ for more info. * Default Retry strategy will now retry operations for max 8 attempts and have a timeout of 600 seconds before failing. The strategy will now use `De-Correlated jitter <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/ retries.html#de-correlated-jitter>`__ as the default delay strategy. - from version 2.47.1 * Support for the Data Labeling Service * Support for the Web Application Firewall service * Support for querying and setting Application Performance Monitoring configurations in the Application Performance Monitoring service * Support for the run-once monitor feature and network data collection in the Application Performance Monitoring service * Support for Oracle Enterprise Manager bridges, source auto-association, source event types mapping, and partitioning and searching data by LogSet in the Logging Analytics service * Support for Log events APIs used by plugins like fluentd, fluentbit, etc. to upload OBS-URL: https://build.opensuse.org/request/show/927487 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=35
2021-10-27 15:46:05 +02:00
BuildRequires: %{python_module circuitbreaker >= 1.3.1}
BuildRequires: %{python_module cryptography >= 3.2.1}
Accepting request 771560 from home:glaubitz:branches:devel:languages:python - Update to version 2.10.3 + Support for the Data Science service + Support for calling Oracle Cloud Infrastructure services in the ap-osaka-1 and ap-melbourne-1 regions - from version 2.10.2 + Support for the Application Migration service + Support for the Data Flow service + Support for the Data Catalog service + Support for cross-shape Data Guard in the Database service + Support for offline data export in the Data Transfer service - from version 2.10.1 + Support for getting DRG redundancy status in the Networking service + Support for cloning autonomous databases from backups in the Database service - from version 2.10.0 + Support for a description field on route rules and security rules in the Networking service + Support for starting and stopping Digital Assistant instances in the Digital Assistant service + Support for shared database homes on Exadata, bare metal, and virtual machine instances in the Database service + Support for tracking a number of Database service operations through the Work Requests service + Field db_home_id in list_databases from database service is changed from required to optional - Refresh patches for new version + ops_fixture-order.patch + ops_relax-python-depends.patch - Update file list to fix Python imports for unvendoring OBS-URL: https://build.opensuse.org/request/show/771560 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=3
2020-02-07 13:37:53 +01:00
BuildRequires: %{python_module httpsig_cffi}
Accepting request 934555 from home:glaubitz:branches:devel:languages:python - Update to version 2.51.0 * Support for getting subnet topology in the Networking service * Support for encrypted FastConnect resources in the Networking service * Support for performance and high availability, as well as recommendation metrics, in the Optimizer service * Support for optional TDE wallet passwords in the Database service * Support for Object Storage service integration in the Big Data service * Support for circuit breakers enabled by default in all services except Streaming and Compute * Support for retries enabled by default in all operations of the Functions and Roving Edge services, and in some operations of the Streaming service. - from version 2.50.0 * Support for drill down metadata in the Management Dashboard service * Support for operator access control on dedicated autonomous databases in the Operator Access Control service * Property `resource_type` and `is_enforced_always` from model `CreateOperatorControlAssignmentDetails` changed from optional to required in the Operator Access Control service * Property `operator_control_name`, `approver_groups_list` and `is_fully_pre_approved` from model `UpdateOperatorControlDetails` changed from optional to required in the Operator Access Control service * Property `is_enforced_always` from model `UpdateOperatorControlAssignmentDetails` changed from optional to required in the Operator Access Control service * Property `approver_groups_list` and `is_fully_pre_approved` from model `CreateOperatorControlDetails` changed from optional to required in the Operator Access Control service * Data type for response of operation `create_operator_control_assignment` changed to `oci.operator_access_control.models.OperatorControlAssignment` in the Operator Access Control service OBS-URL: https://build.opensuse.org/request/show/934555 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=36
2021-11-29 20:38:15 +01:00
BuildRequires: %{python_module pyOpenSSL >= 17.5.0}
Accepting request 798182 from home:glaubitz:branches:devel:languages:python - Update to version 2.13.0 + Support for the Data Safe service + Support for the Incident Management service + Support for showing which database versions support always-free in the Database service + Support in instance configurations for flex shapes, dedicated VM hosts, encryption in transit, and KMS keys in the Compute Autoscaling service + Support for server-side object encryption using a customer-provided encryption key in the Object Storage service + Support for specifying maintenance preferences while launching and updating Exadata Database systems in the Database service + Support for flexible-shaped VM instances in the Compute service + Support for scheduled cross-region backups in the Block Volume service + Support for object versioning in the Object Storage service + Deleted models Archiver, CreateArchiverDetails and UpdateArchiverDetails from the streaming service - from version 2.12.4 + Support for access types on instances in the Content and Experience service + Support for identity contexts in the Search service + Support for Client Side Encryption: https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/clientsideencryption.htm + Support for retries on Python built-in ConnectionError - from version 2.12.3 + Support for changing compartments of runs and applications in the Data Flow service + Support for getting usage information in the Key Management Vault service + Support for custom Key Management service endpoints and private endpoints on stream pools in the Streaming service + Fixed kms_example and added secrets examples - from version 2.12.2 OBS-URL: https://build.opensuse.org/request/show/798182 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=9
2020-04-27 13:36:13 +02:00
BuildRequires: %{python_module pytest > 4.1.0}
Accepting request 771560 from home:glaubitz:branches:devel:languages:python - Update to version 2.10.3 + Support for the Data Science service + Support for calling Oracle Cloud Infrastructure services in the ap-osaka-1 and ap-melbourne-1 regions - from version 2.10.2 + Support for the Application Migration service + Support for the Data Flow service + Support for the Data Catalog service + Support for cross-shape Data Guard in the Database service + Support for offline data export in the Data Transfer service - from version 2.10.1 + Support for getting DRG redundancy status in the Networking service + Support for cloning autonomous databases from backups in the Database service - from version 2.10.0 + Support for a description field on route rules and security rules in the Networking service + Support for starting and stopping Digital Assistant instances in the Digital Assistant service + Support for shared database homes on Exadata, bare metal, and virtual machine instances in the Database service + Support for tracking a number of Database service operations through the Work Requests service + Field db_home_id in list_databases from database service is changed from required to optional - Refresh patches for new version + ops_fixture-order.patch + ops_relax-python-depends.patch - Update file list to fix Python imports for unvendoring OBS-URL: https://build.opensuse.org/request/show/771560 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=3
2020-02-07 13:37:53 +01:00
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}
Accepting request 1087949 from home:glaubitz:branches:devel:languages:python - Update to version 2.102.0 * Support for self-service integration in the Fusion Apps as a Service service * The models `AttachExistingInstanceDetails`, `CreateNewInstanceDetails`, `CreateOicServiceInstanceDetails`, `CreateServiceInstanceDetails`, `FawAdminInfoDetails` and `CreateOaxServiceInstanceDetails` were removed from the Fusion Apps as a Service service * The property `action` was removed from the `ServiceAttachment` model in the Fusion Apps as a Service service * The property `action` was removed from the `CreateServiceAttachmentDetails` model in the Fusion Apps as a Service service - from version 2.101.0 * Support for the Access Governance service * Support for creating, updating, listing and downloading one-off patches in the Database service * Support for changing disaster recovery configurations of remote autonomous databases in the Database service * Support for scheduling automatic backups in the Database service * Support for provisioning Software-Defined Data Centers (SDDCs) using standard bare metal shapes, with Block Storage as the datastore, in the VMWare Solution service * Support for parity with the configuration options of the Compute service in the Compute Autoscaling service * The Data Connectivity Management service was removed from the SDK - from version 2.100.0 * Support for calling Oracle Cloud Infrastructure services in the eu-jovanovac-1 region * Support for bring-your-own-license TLS and ORDS certificates in the Database service * Support for tags in the Stack Monitoring service * Support for GPU shapes for model deployments in the Data Science service * Support for returning networking details of instances in the Visual Builder service * Support for high-memory VMs in the Compute service * Support for integrating with the Integration Cloud service in the Process Automation service * Support for managing on-demand node upgrades in node pools in the OBS-URL: https://build.opensuse.org/request/show/1087949 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=95
2023-05-19 19:04:52 +02:00
BuildRequires: %{python_module urllib3 < 2}
Accepting request 798182 from home:glaubitz:branches:devel:languages:python - Update to version 2.13.0 + Support for the Data Safe service + Support for the Incident Management service + Support for showing which database versions support always-free in the Database service + Support in instance configurations for flex shapes, dedicated VM hosts, encryption in transit, and KMS keys in the Compute Autoscaling service + Support for server-side object encryption using a customer-provided encryption key in the Object Storage service + Support for specifying maintenance preferences while launching and updating Exadata Database systems in the Database service + Support for flexible-shaped VM instances in the Compute service + Support for scheduled cross-region backups in the Block Volume service + Support for object versioning in the Object Storage service + Deleted models Archiver, CreateArchiverDetails and UpdateArchiverDetails from the streaming service - from version 2.12.4 + Support for access types on instances in the Content and Experience service + Support for identity contexts in the Search service + Support for Client Side Encryption: https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/clientsideencryption.htm + Support for retries on Python built-in ConnectionError - from version 2.12.3 + Support for changing compartments of runs and applications in the Data Flow service + Support for getting usage information in the Key Management Vault service + Support for custom Key Management service endpoints and private endpoints on stream pools in the Streaming service + Fixed kms_example and added secrets examples - from version 2.12.2 OBS-URL: https://build.opensuse.org/request/show/798182 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=9
2020-04-27 13:36:13 +02:00
BuildRequires: %{python_module vcrpy >= 2.0.1}
%if %{with python2}
BuildRequires: python-configparser >= 4.0.2
Accepting request 771560 from home:glaubitz:branches:devel:languages:python - Update to version 2.10.3 + Support for the Data Science service + Support for calling Oracle Cloud Infrastructure services in the ap-osaka-1 and ap-melbourne-1 regions - from version 2.10.2 + Support for the Application Migration service + Support for the Data Flow service + Support for the Data Catalog service + Support for cross-shape Data Guard in the Database service + Support for offline data export in the Data Transfer service - from version 2.10.1 + Support for getting DRG redundancy status in the Networking service + Support for cloning autonomous databases from backups in the Database service - from version 2.10.0 + Support for a description field on route rules and security rules in the Networking service + Support for starting and stopping Digital Assistant instances in the Digital Assistant service + Support for shared database homes on Exadata, bare metal, and virtual machine instances in the Database service + Support for tracking a number of Database service operations through the Work Requests service + Field db_home_id in list_databases from database service is changed from required to optional - Refresh patches for new version + ops_fixture-order.patch + ops_relax-python-depends.patch - Update file list to fix Python imports for unvendoring OBS-URL: https://build.opensuse.org/request/show/771560 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=3
2020-02-07 13:37:53 +01:00
%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
- Add pytest-740.patch to fix compatibility issues with pytest 7.4.0 gh#oracle/oci-python-sdk#566 - Update to version 2.110.0 - Support for backup retention on autonomous database create operations in the Database service - Support for exclude tables for replication in the Database Migration service - Support for adding and updating auto failover maximum data loss limits for local autonomous data guards in the Database service - Support for limiting networking diagram ingestion in the Networking Monitoring service - Support for new operations for deployment upgrades in the GoldenGate service - Support for getting model type information and base model versions while creating language custom models in the AI Language service - Support for support field in class metric in the AI Language service - Support for Compute Cloud at Customer resource type in the Operator Access Control service - Support for managing account management info, account recovery settings, app roles, apps, app status changers, grants, identity propagation trusts and settings, request-able groups, requests, security questions, OAuth tokens, and user attribute settings in the Identity Domains service - Property ipv6_cidr_block is removed from models Vcn and CreateVcnDetails in the Networking Monitoring service - Property ipv6_public_cidr_block is removed from models Vcn and Subnet in the Networking Monitoring service - Property is_internet_access_allowed is removed from models UpdateIpv6Details, Ipv6 and CreateIpv6Details in the Networking Monitoring service - Property public_ip_address is removed from model Ipv6 in the Networking Monitoring service - Support for retries by default on operations of the Operator Access Control service - 2.109.0 - Support for the Exadata Fleet Update service - Support for REST-based log collection, multi-conditional labels, and collection properties in the Logging Analytics service - Support for Kubernetes cluster credential rotation in the Container Engine for Kubernetes service - Support for zero-downtime features in the Fusion Apps as a Service service - Support for news reports in the Operations Insights service - Allowed value ACCELERATION_MAINTENANCE was removed from the property task_type in the models StandardTask, ScheduledTaskSummary and ScheduledTask in the Logging Analytics service OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=111
2023-08-09 12:34:34 +02:00
%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
Accepting request 1063790 from home:glaubitz:branches:devel:languages:python - Update to version 2.91.0 * Support for changing Data Guard role of a database instance within the Database service * Support for listing autonomous container database versions in the Database service * Support for specifying a database version when creating or updating an autonomous container database in the Database service * Support for specifying an eCPU count when creating or updating autonomous shared databases in the Database service * Support for Helm attestation and Helm arguments on deploy operations in the DevOps service * Support for uploading master key wallets for deployments in the GoldenGate service * Support for custom configurations in the Operations Insights service * Field `cpu_core_count` has been made optional in the models `AutonomousDatabaseSummary` and `AutonomousDatabase` in the Database service - from version 2.90.4 * Support for ECPU billing for autonomous databases and dedicated autonomous databases on Exadata Cloud at Customer in the Database service * Support for providing a vault secret ID when creating or updating autonomous shared databases in the Database service * Support for including ORDS and database transform URLs as autonomous database connections in the Database service * Support for role-based access control on OpenSearch clusters in the Search service * Support for managed shell stages on deployments in the DevOps service * Support for memory encryption on confidential VMs in the Compute service * Support for configuration items, and reporting ownership of configuration items, in the Application Performance Monitoring service - Update file list to fix Python imports for unvendoring OBS-URL: https://build.opensuse.org/request/show/1063790 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=83
2023-02-08 12:46:41 +01:00
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