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

101 lines
5.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-oci-sdk
#
Accepting request 861812 from home:glaubitz:branches:devel:languages:python - Update to version 2.26.0 * Support for filtering listKeys based on KeyShape in KeyManagement service * Support for the Oracle Roving Edge Infrastructure service * Support for flexible ShapeDetails in Load Balancer service * Support for listing of harvested Rules, additional filtering for Logical Entity list calls in Data Catalog service * Support second level domain for audit SDK * Support for listing flex components in Database service * Support for APEX service for ADBS on OCI console for Database service * Support for Customer-Managed Key features as a part of the Database service * Support for Github configuration source provider as part of the Resource Manager service * Removed deprecated create_autonomous_data_warehouse API from Database service * Removed deprecated create_autonomous_data_warehouse_backup API from Database service * Removed deprecated delete_autonomous_data_warehouse API from Database service * Removed deprecated generate_autonomous_data_warehouse_wallet API from Database service * Removed deprecated get_autonomous_data_warehouse API from Database service * Removed deprecated get_autonomous_data_warehouse_backup API from Database service * Removed deprecated list_autonomous_data_warehouse_backups API from Database service * Removed deprecated list_autonomous_data_warehouses API from Database service * Removed deprecated restore_autonomous_data_warehouse API from Database service * Removed deprecated start_autonomous_data_warehouse API from Database service * Removed deprecated stop_autonomous_data_warehouse API from Database service * Removed deprecated update_autonomous_data_warehouse API from Database service * The enum attributes `lifecycle_state` and `license_model` from Model `AutonomousDataWarehouseSummary` in the Database service raise `ValueError` if they receive an invalid value. In the earlier versions, the value defaults to `UNKNOWN_ENUM_VALUE`. * The enum attributes `lifecycle_state` and `license_model` from Model `AutonomousDataWarehouse` in the Database service raise `ValueError` if they receive an invalid value. In the earlier versions, the value defaults to OBS-URL: https://build.opensuse.org/request/show/861812 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=20
2021-01-08 23:47:08 +01:00
# Copyright (c) 2021 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-oci-sdk
Version: 2.38.3
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
Patch0: ops_relax-python-depends.patch
Patch1: ops_fixture-order.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
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-PyJWT
Requires: python-certifi
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
Requires: python-cryptography >= 3.3.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
Requires: python-httpsig_cffi
Accepting request 861812 from home:glaubitz:branches:devel:languages:python - Update to version 2.26.0 * Support for filtering listKeys based on KeyShape in KeyManagement service * Support for the Oracle Roving Edge Infrastructure service * Support for flexible ShapeDetails in Load Balancer service * Support for listing of harvested Rules, additional filtering for Logical Entity list calls in Data Catalog service * Support second level domain for audit SDK * Support for listing flex components in Database service * Support for APEX service for ADBS on OCI console for Database service * Support for Customer-Managed Key features as a part of the Database service * Support for Github configuration source provider as part of the Resource Manager service * Removed deprecated create_autonomous_data_warehouse API from Database service * Removed deprecated create_autonomous_data_warehouse_backup API from Database service * Removed deprecated delete_autonomous_data_warehouse API from Database service * Removed deprecated generate_autonomous_data_warehouse_wallet API from Database service * Removed deprecated get_autonomous_data_warehouse API from Database service * Removed deprecated get_autonomous_data_warehouse_backup API from Database service * Removed deprecated list_autonomous_data_warehouse_backups API from Database service * Removed deprecated list_autonomous_data_warehouses API from Database service * Removed deprecated restore_autonomous_data_warehouse API from Database service * Removed deprecated start_autonomous_data_warehouse API from Database service * Removed deprecated stop_autonomous_data_warehouse API from Database service * Removed deprecated update_autonomous_data_warehouse API from Database service * The enum attributes `lifecycle_state` and `license_model` from Model `AutonomousDataWarehouseSummary` in the Database service raise `ValueError` if they receive an invalid value. In the earlier versions, the value defaults to `UNKNOWN_ENUM_VALUE`. * The enum attributes `lifecycle_state` and `license_model` from Model `AutonomousDataWarehouse` in the Database service raise `ValueError` if they receive an invalid value. In the earlier versions, the value defaults to OBS-URL: https://build.opensuse.org/request/show/861812 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=20
2021-01-08 23:47:08 +01:00
Requires: python-pyOpenSSL >= 19.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
Requires: python-python-dateutil < 3.0.0
Requires: python-python-dateutil >= 2.5.3
Requires: python-pytz >= 2016.10
Requires: python-requests
Requires: python-six
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 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
BuildRequires: %{python_module cryptography >= 3.3.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
BuildRequires: %{python_module httpsig_cffi}
Accepting request 861812 from home:glaubitz:branches:devel:languages:python - Update to version 2.26.0 * Support for filtering listKeys based on KeyShape in KeyManagement service * Support for the Oracle Roving Edge Infrastructure service * Support for flexible ShapeDetails in Load Balancer service * Support for listing of harvested Rules, additional filtering for Logical Entity list calls in Data Catalog service * Support second level domain for audit SDK * Support for listing flex components in Database service * Support for APEX service for ADBS on OCI console for Database service * Support for Customer-Managed Key features as a part of the Database service * Support for Github configuration source provider as part of the Resource Manager service * Removed deprecated create_autonomous_data_warehouse API from Database service * Removed deprecated create_autonomous_data_warehouse_backup API from Database service * Removed deprecated delete_autonomous_data_warehouse API from Database service * Removed deprecated generate_autonomous_data_warehouse_wallet API from Database service * Removed deprecated get_autonomous_data_warehouse API from Database service * Removed deprecated get_autonomous_data_warehouse_backup API from Database service * Removed deprecated list_autonomous_data_warehouse_backups API from Database service * Removed deprecated list_autonomous_data_warehouses API from Database service * Removed deprecated restore_autonomous_data_warehouse API from Database service * Removed deprecated start_autonomous_data_warehouse API from Database service * Removed deprecated stop_autonomous_data_warehouse API from Database service * Removed deprecated update_autonomous_data_warehouse API from Database service * The enum attributes `lifecycle_state` and `license_model` from Model `AutonomousDataWarehouseSummary` in the Database service raise `ValueError` if they receive an invalid value. In the earlier versions, the value defaults to `UNKNOWN_ENUM_VALUE`. * The enum attributes `lifecycle_state` and `license_model` from Model `AutonomousDataWarehouse` in the Database service raise `ValueError` if they receive an invalid value. In the earlier versions, the value defaults to OBS-URL: https://build.opensuse.org/request/show/861812 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=20
2021-01-08 23:47:08 +01:00
BuildRequires: %{python_module pyOpenSSL >= 19.1.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}
BuildRequires: %{python_module python-dateutil < 3.0.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}
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}
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-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
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
Requires: python-configparser >= 4.0.2
%endif
%python_subpackages
%description
Python SDK for Oracle Cloud Infrastructure. Python 2.7+ and 3.5+ are supported.
%prep
%setup -q -n oci-python-sdk-%{version}
%patch0 -p1
%patch1 -p1
# Remove vendored packages
rm -rf src/oci/_vendor/
# Fix includes
sed -i 's/from \._vendor //' src/oci/*.py
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
sed -i 's/from oci._vendor //' src/oci/*.py src/oci/ai_language/*.py src/oci/analytics/*.py src/oci/apigateway/*.py src/oci/apm_control_plane/*.py src/oci/apm_synthetics/*.py src/oci/apm_traces/*.py src/oci/application_migration/*.py src/oci/announcements_service/*.py src/oci/artifacts/*.py src/oci/audit/*.py src/oci/auth/*.py src/oci/auth/signers/*.py src/oci/autoscaling/*.py src/oci/bds/*.py src/oci/blockchain/*.py src/oci/budget/*.py src/oci/cims/*.py src/oci/container_engine/*.py src/oci/dns/*.py src/oci/cloud_guard/*.py src/oci/compute_instance_agent/*.py src/oci/core/*.py src/oci/database/*.py src/oci/database_management/*.py src/oci/database_migration/*.py src/oci/data_catalog/*.py src/oci/data_flow/*.py src/oci/data_integration/*.py src/oci/data_safe/*.py src/oci/data_science/*.py src/oci/dts/*.py src/oci/email/*.py src/oci/events/*.py src/oci/file_storage/*.py src/oci/functions/*.py src/oci/golden_gate/*.py src/oci/healthchecks/*.py src/oci/integration/*.py src/oci/key_management/*.py src/oci/marketplace/*.py src/oci/limits/*.py src/oci/load_balancer/*.py src/oci/log_analytics/*.py src/oci/logging/*.py src/oci/loggingingestion/*.py src/oci/loggingsearch/*.py src/oci/management_agent/*.py src/oci/management_dashboard/*.py src/oci/monitoring/*.py src/oci/mysql/*.py src/oci/network_load_balancer/*.py src/oci/nosql/*.py src/oci/oda/*.py src/oci/object_storage/*.py src/oci/oce/*.py src/oci/ons/*.py src/oci/object_storage/transfer/*.py src/oci/object_storage/transfer/internal/*.py src/oci/ocvp/*.py src/oci/operator_access_control/*.py src/oci/opsi/*.py src/oci/optimizer/*.py src/oci/os_management/*.py src/oci/resource_manager/*.py src/oci/resource_search/*.py src/oci/rover/*.py src/oci/sch/*.py src/oci/streaming/*.py src/oci/identity/*.py src/oci/secrets/*.py src/oci/service_catalog/*.py src/oci/tenant_manager_control_plane/*.py src/oci/usage_api/*.py src/oci/vault/*.py src/oci/vulnerability_scanning/*.py src/oci/waas/*.py src/oci/work_requests/*.py tests/*.py
sed -i 's/ oci._vendor.jwt as//' src/oci/auth/*.py
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
sed -i 's/oci\._vendor\.//' src/oci/*.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
%python_build
%check
export PYTHONDONTWRITEBYTECODE=1
%pytest tests/unit tests/integ -s
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc CHANGELOG.rst README.rst
%license LICENSE.txt
%{python_sitelib}/*
%changelog