From 024a019925797a2857e4ece3dc6e6ac75eb3b53a03c813ae7fc4e23f07dad78f Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Wed, 27 Oct 2021 13:46:05 +0000 Subject: [PATCH] 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 `__ to learn more. * Support for enabling/disabling Retries globally for operations using Default Retry Strategy. Please refer `here `__ 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 `__ 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 --- oci-python-sdk-2.44.1.tar.gz | 3 - oci-python-sdk-2.48.0.tar.gz | 3 + ops_relax-python-depends.patch | 38 +++++++----- python-oci-sdk.changes | 110 +++++++++++++++++++++++++++++++++ python-oci-sdk.spec | 4 +- 5 files changed, 139 insertions(+), 19 deletions(-) delete mode 100644 oci-python-sdk-2.44.1.tar.gz create mode 100644 oci-python-sdk-2.48.0.tar.gz diff --git a/oci-python-sdk-2.44.1.tar.gz b/oci-python-sdk-2.44.1.tar.gz deleted file mode 100644 index caf6040..0000000 --- a/oci-python-sdk-2.44.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:710ad91b05e23ed11370eaa55e60041ae6e48a3445f36911953f3429794a6d1a -size 10868247 diff --git a/oci-python-sdk-2.48.0.tar.gz b/oci-python-sdk-2.48.0.tar.gz new file mode 100644 index 0000000..a868c31 --- /dev/null +++ b/oci-python-sdk-2.48.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:13c82a8a4052a0f4bc35bd5b12253b2bd1f4b77a147d96080ceff80396aeb1c2 +size 11232436 diff --git a/ops_relax-python-depends.patch b/ops_relax-python-depends.patch index 5dfa59d..7ef131c 100644 --- a/ops_relax-python-depends.patch +++ b/ops_relax-python-depends.patch @@ -1,52 +1,60 @@ -diff -Nru oci-python-sdk-2.40.1.orig/requirements.txt oci-python-sdk-2.40.1/requirements.txt ---- oci-python-sdk-2.40.1.orig/requirements.txt 2021-06-22 21:12:42.000000000 +0200 -+++ oci-python-sdk-2.40.1/requirements.txt 2021-06-28 15:11:30.579505642 +0200 -@@ -1,18 +1,18 @@ +diff -Nru oci-python-sdk-2.48.0.orig/requirements.txt oci-python-sdk-2.48.0/requirements.txt +--- oci-python-sdk-2.48.0.orig/requirements.txt 2021-10-19 19:21:13.000000000 +0200 ++++ oci-python-sdk-2.48.0/requirements.txt 2021-10-26 11:39:11.847089373 +0200 +@@ -1,19 +1,18 @@ -autodocsumm==0.1.11 +autodocsumm>=0.1.11 certifi -configparser==4.0.2 -coverage==4.5.2 -+configparser>=4.0.2 -+coverage>=4.5.2 - cryptography>=3.2.1,<=3.4.7 +-cryptography>=3.2.1,<=3.4.7 -flake8==3.6.0 -mock==2.0.0 -pyOpenSSL==19.1.0 -pytest==4.1.0 -pytest-cov==2.6.1 -attrs==19.1.0 +-python-dateutil>=2.5.3,<=2.7.3 ++coverage>=4.5.2 ++cryptography>=3.2.1 +flake8>=3.6.0 +mock>=2.0.0 +pyOpenSSL>=19.1.0 +pytest>=4.1.0 +pytest-cov>=2.6.1 +attrs>=19.1.0 - python-dateutil>=2.5.3,<=2.7.3 ++python-dateutil>=2.5.3 pytz>=2016.10 -sphinx-rtd-theme==0.4.2 -sphinx==1.8.3 -tox==3.14.3 -vcrpy==2.0.1 -wheel==0.32.3 +-circuitbreaker>=1.3.1,<2.0.0 +\ No newline at end of file +sphinx-rtd-theme>=0.4.2 +sphinx>=1.8.3 +tox>=3.14.3 +vcrpy>=2.0.1 +wheel>=0.32.3 -diff -Nru oci-python-sdk-2.40.1.orig/setup.py oci-python-sdk-2.40.1/setup.py ---- oci-python-sdk-2.40.1.orig/setup.py 2021-06-22 21:12:42.000000000 +0200 -+++ oci-python-sdk-2.40.1/setup.py 2021-06-28 15:11:12.030895437 +0200 -@@ -31,9 +31,9 @@ ++circuitbreaker>=1.3.1 +diff -Nru oci-python-sdk-2.48.0.orig/setup.py oci-python-sdk-2.48.0/setup.py +--- oci-python-sdk-2.48.0.orig/setup.py 2021-10-19 19:21:13.000000000 +0200 ++++ oci-python-sdk-2.48.0/setup.py 2021-10-26 11:39:52.287354894 +0200 +@@ -31,12 +31,11 @@ requires = [ "certifi", -- "configparser==4.0.2", +- "configparser==4.0.2 ; python_version < '3'", - "cryptography>=3.2.1,<=3.4.7", - "pyOpenSSL>=17.5.0,<=19.1.0", -+ "configparser>=4.0.2", +- "python-dateutil>=2.5.3,<3.0.0", + "cryptography>=3.2.1", + "pyOpenSSL>=17.5.0", - "python-dateutil>=2.5.3,<3.0.0", ++ "python-dateutil>=2.5.3", "pytz>=2016.10", +- "circuitbreaker>=1.3.1,< 2.0.0" ++ "circuitbreaker>=1.3.1" ] + + setup( diff --git a/python-oci-sdk.changes b/python-oci-sdk.changes index 449c9f4..28d1d23 100644 --- a/python-oci-sdk.changes +++ b/python-oci-sdk.changes @@ -1,3 +1,113 @@ +------------------------------------------------------------------- +Tue Oct 26 09:41:00 UTC 2021 - John Paul Adrian Glaubitz + +- 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 `__ to learn more. + * Support for enabling/disabling Retries globally for operations using Default + Retry Strategy. Please refer `here `__ 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 `__ 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 + data in the Logging Analytics service + * Support for a new ActionType: FAILED in work requests in the VMware Provisioning service + * Support for calling Oracle Cloud Infrastructure services in the il-jerusalem-1 region +- from version 2.47.0 + * Support for configuring Binlog variables in the MySQL Database service. + * Support new response value "OPERATOR" for backup creationType in list + and get MDS backup API in the MySQL Database service. + * Support for SetAutoUpgradableConfig and GetAutoUpgradableConfig operations + in Management Agent Cloud service. + * Support for additional installType filter for List Management Agents, Images + and Count API operations in Management Agent Cloud service. + * Support for list and read DeploymentUpgrade, cancel and restore DeploymentBackup + in the Golden Gate service. + * Support for non-autonomous databases targets, executing Pre-Migration advisor, + uploading Datapump logs into Object Storage bucket, and filtering Database + Objects in the Database Migration service. + * Support for calling Oracle Cloud Infrastructure services in the ap-ibaraki-1 region. + * Param `is_agent_auto_upgradable` is removed from model `UpdateManagementAgentDetails` + in the Management Agent Cloud Service + * Param `display_name` is removed from operations `list_work_requests`, `list_work_request_logs` + and `list_work_request_errors` in the Database Migration Service Client + * Allowed values for param `sort_order` from operation `list_work_requests` changed to + `timeAccepted` in the Database Migration Service Client + * Allowed values for param `sort_order` from operations `list_work_request_errors` and + `list_work_request_logs` changed to `timestamp` in the Database Migration Service Client + * Param `time_stamp` renamed to `timestamp` in models `WorkRequestLogEntry`, + `WorkRequestError` for the Database Migration Service + * Param `compartment_id` is removed from model `UpdateAgentDetails` for the + Database Migration Service +- from version 2.46.0 + * Support for autonomous databases and clones on shared infrastructure not + requiring mTLS in the Database service + * Support for server-side encryption using object-specific KMS keys in + the Object Storage service + * Support for Windows in the Java Management service + * Support for using network security groups in the API Gateway service + * Support for network security groups in the Functions service + * Support for signed container images in the Functions service + * Support for setting message format when creating and updating + alarms in the Monitoring service + * Support for user and security assessment features in the Data Safe service + * Operations `request_summarized_application_usage`, `request_summarized_installation_usage`, + `request_summarized_jre_usage`, `request_summarized_managed_instance_usage` were removed + from the Java Management Service Client + * Models `RequestSummarizedApplicationUsageDetails`, `RequestSummarizedInstallationUsageDetails`, + `RequestSummarizedJreUsageDetails` and `RequestSummarizedManagedInstanceUsageDetails` were + removed from Java Management Service + * Dependency `configparser` will only be installed for Python 2. The built-in configparser + will be used for Python 3 +- from version 2.45.1 + * Support for serviceHostKeyFingerprint property for InstanceConsoleConnection in Core service + * Support for Shielded Instances in Core service + * Support for ML Jobs in the Data Science service +- from version 2.45.0 + * Support for terraform advanced options (detailed log level, refresh, and parallelism) + on jobs in the Resource Manager service + * Support for forced cancellation when cancelling jobs in the Resource Manager service + * Support for getting the detailed log content of a job in the Resource Manager service + * Support for provider information in the responses of list operations + in the Management Dashboard service + * Support for scheduled jobs in Database Management service + * Support for monitoring and management of OCI virtual machine, bare metal, + and ExaCS databases in the Database Management service + * Support for a unified way of managing both external and cloud databases + in the Database Management service + * Support for metrics and Performance Hub on virtual machine, bare metal, + and ExaCS databases in the Database Management service + * Param `oci_splat_generated_ocids` is removed from operation `create_template` + in the Resource Manager service +- from version 2.44.2 + * Support for Oracle Analytics Cloud and OCI Vault integration on + connections in the Data Catalog service + * Support for critical event monitoring in the OS Management service +- Refresh patches for new version + * ops_relax-python-depends.patch +- Update BuildRequires and Requires from setup.py + ------------------------------------------------------------------- Wed Aug 25 11:42:49 UTC 2021 - John Paul Adrian Glaubitz diff --git a/python-oci-sdk.spec b/python-oci-sdk.spec index 3c161ed..3c16815 100644 --- a/python-oci-sdk.spec +++ b/python-oci-sdk.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-oci-sdk -Version: 2.44.1 +Version: 2.48.0 Release: 0 Summary: Oracle Cloud Infrastructure Python SDK License: Apache-2.0 OR UPL-1.0 @@ -34,6 +34,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-PyJWT Requires: python-certifi +Requires: python-circuitbreaker >= 1.3.1 Requires: python-cryptography >= 3.2.1 Requires: python-httpsig_cffi Requires: python-pyOpenSSL >= 19.1.0 @@ -46,6 +47,7 @@ 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 >= 19.1.0}