From 89cba46463c498d529e78dd6f35eaf3430550b60613019ab5b01f2e9f4c880e9 Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Wed, 29 Mar 2023 06:50:55 +0000 Subject: [PATCH] Accepting request 1074632 from home:glaubitz:branches:Cloud:Tools - Update to version 3.24.0 * Database Service * Support for changing Disaster Recovery configuration of a remote Autonomous Database in remote region of its Disaster Recovery Association * ``oci db autonomous-database change-disaster-recovery-configuration`` * Support for creating a remote Disaster Recovery Association clone of an Autonomous Database * ``oci db autonomous-database create-autonomous-database-create-cross-region-disaster-recovery-details`` * Support for OCI DevOps Managed Build stage to use custom shape build runner in the DevOps service * ``oci devops build-pipeline-stage create-build-stage --build-runner-config`` * ``oci devops build-pipeline-stage update-build-stage ---build-runner-config`` * Support for listing Pre-Built Functions and creating Functions from Pre-Built Functions in the Functions service * ``oci fn function create --source-details`` * ``oci fn pbf-listing get`` * ``oci fn pbf-listing list`` * ``oci fn pbf-listing-version get`` * ``oci fn pbf-listing-version list`` * ``oci fn trigger list`` * Support for creating/updating new connection types in the Golden Gate service * ``oci goldengate connection create-amazon-s3-connection`` * ``oci goldengate connection update-amazon-s3-connection`` * ``oci goldengate connection create-hdfs-connection`` * ``oci goldengate connection update-hdfs-connection`` * ``oci goldengate connection create-microsoft-sqlserver-connection`` * ``oci goldengate connection update-microsoft-sqlserver-connection`` * ``oci goldengate connection create-jms-connection`` * ``oci goldengate connection update-jms-connection`` * ``oci goldengate connection create-mongo-db-connection`` * ``oci goldengate connection update-mongo-db-connection`` * ``oci goldengate connection create-oracle-nosql-connection`` OBS-URL: https://build.opensuse.org/request/show/1074632 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/oci-cli?expand=0&rev=81 --- oc_relax-python-depends.patch | 28 ++++----- oci-cli-3.23.3.tar.gz | 3 - oci-cli-3.24.0.tar.gz | 3 + oci-cli.changes | 110 ++++++++++++++++++++++++++++++++++ oci-cli.spec | 6 +- 5 files changed, 130 insertions(+), 20 deletions(-) delete mode 100644 oci-cli-3.23.3.tar.gz create mode 100644 oci-cli-3.24.0.tar.gz diff --git a/oc_relax-python-depends.patch b/oc_relax-python-depends.patch index 749870d..ecd00c8 100644 --- a/oc_relax-python-depends.patch +++ b/oc_relax-python-depends.patch @@ -1,6 +1,6 @@ -diff -Nru oci-cli-3.23.3.orig/requirements.txt oci-cli-3.23.3/requirements.txt ---- oci-cli-3.23.3.orig/requirements.txt 2023-03-07 20:43:28.000000000 +0100 -+++ oci-cli-3.23.3/requirements.txt 2023-03-14 11:33:38.405379694 +0100 +diff -Nru oci-cli-3.24.0.orig/requirements.txt oci-cli-3.24.0/requirements.txt +--- oci-cli-3.24.0.orig/requirements.txt 2023-03-22 01:50:57.000000000 +0100 ++++ oci-cli-3.24.0/requirements.txt 2023-03-27 10:40:05.172962035 +0200 @@ -2,44 +2,44 @@ # (https://pip.pypa.io/en/stable/reference/pip_install/#requirements-file-format), # you may need to use the --extra-index-url option instead. @@ -12,18 +12,18 @@ diff -Nru oci-cli-3.23.3.orig/requirements.txt oci-cli-3.23.3/requirements.txt cffi>=1.9.1 -click==8.0.4 -coverage==4.5.2 --cryptography>=3.2.1,<39.0.0 +-cryptography>=3.2.1,<40.0.0 -httpsig-cffi==15.0.0 -Jinja2==3.0.3 -jmespath==0.10.0 -ndg-httpsclient==0.4.2 -mock==2.0.0 --oci==2.94.0 +-oci==2.96.0 -packaging==20.2 -pluggy==0.13.0 -py==1.10.0 -pyasn1==0.2.3 --pyOpenSSL>=17.5.0,<=22.1.0 +-pyOpenSSL>=17.5.0,<24.0.0 -pycparser==2.20 -pyparsing==2.2.0 -pytest==4.6.10; python_version <= '3.9' @@ -38,7 +38,7 @@ diff -Nru oci-cli-3.23.3.orig/requirements.txt oci-cli-3.23.3/requirements.txt +jmespath>=0.10.0 +ndg-httpsclient>=0.4.2 +mock>=2.0.0 -+oci>=2.94.0 ++oci>=2.96.0 +packaging>=20.2 +pluggy>=0.13.0 +py>=1.10.0 @@ -82,19 +82,19 @@ diff -Nru oci-cli-3.23.3.orig/requirements.txt oci-cli-3.23.3/requirements.txt -setuptools==59.6.0; python_version == '3.6' \ No newline at end of file +setuptools>=59.6.0; python_version >= '3.6' -diff -Nru oci-cli-3.23.3.orig/setup.py oci-cli-3.23.3/setup.py ---- oci-cli-3.23.3.orig/setup.py 2023-03-07 20:43:28.000000000 +0100 -+++ oci-cli-3.23.3/setup.py 2023-03-14 11:32:41.764918764 +0100 +diff -Nru oci-cli-3.24.0.orig/setup.py oci-cli-3.24.0/setup.py +--- oci-cli-3.24.0.orig/setup.py 2023-03-22 01:50:57.000000000 +0100 ++++ oci-cli-3.24.0/setup.py 2023-03-27 10:38:43.311514082 +0200 @@ -29,23 +29,23 @@ readme = f.read() requires = [ -- 'oci==2.94.0', -+ 'oci>=2.94.0', +- 'oci==2.96.0', ++ 'oci>=2.96.0', 'arrow>=1.0.0', 'certifi', - 'click==8.0.4', -- 'cryptography>=3.2.1,<39.0.0', +- 'cryptography>=3.2.1,<40.0.0', - 'jmespath==0.10.0', - 'python-dateutil>=2.5.3,<3.0.0', + 'click>=8.0.4', @@ -104,7 +104,7 @@ diff -Nru oci-cli-3.23.3.orig/setup.py oci-cli-3.23.3/setup.py 'pytz>=2016.10', 'six>=1.15.0', - 'terminaltables==3.1.0', -- 'pyOpenSSL>=17.5.0,<=22.1.0', +- 'pyOpenSSL>=17.5.0,<24.0.0', - 'PyYAML>=5.4,<6', - 'prompt-toolkit==3.0.29' + 'terminaltables>=3.1.0', diff --git a/oci-cli-3.23.3.tar.gz b/oci-cli-3.23.3.tar.gz deleted file mode 100644 index df73f24..0000000 --- a/oci-cli-3.23.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:92bc8cac1035a3ba1cb3f40b796c655bee1008f89c05fbeda19a242ab0d85098 -size 3580939 diff --git a/oci-cli-3.24.0.tar.gz b/oci-cli-3.24.0.tar.gz new file mode 100644 index 0000000..6796862 --- /dev/null +++ b/oci-cli-3.24.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5a2c33080444fd8a65f1165973fb323f8aecf9a6a007bad668e93323eb18a79 +size 3689704 diff --git a/oci-cli.changes b/oci-cli.changes index 46322d8..e228974 100644 --- a/oci-cli.changes +++ b/oci-cli.changes @@ -1,3 +1,113 @@ +------------------------------------------------------------------- +Mon Mar 27 08:40:30 UTC 2023 - John Paul Adrian Glaubitz + +- Update to version 3.24.0 + * Database Service + * Support for changing Disaster Recovery configuration of a remote Autonomous + Database in remote region of its Disaster Recovery Association + * ``oci db autonomous-database change-disaster-recovery-configuration`` + * Support for creating a remote Disaster Recovery Association clone of an Autonomous Database + * ``oci db autonomous-database create-autonomous-database-create-cross-region-disaster-recovery-details`` + * Support for OCI DevOps Managed Build stage to use custom shape build runner in the DevOps service + * ``oci devops build-pipeline-stage create-build-stage --build-runner-config`` + * ``oci devops build-pipeline-stage update-build-stage ---build-runner-config`` + * Support for listing Pre-Built Functions and creating Functions + from Pre-Built Functions in the Functions service + * ``oci fn function create --source-details`` + * ``oci fn pbf-listing get`` + * ``oci fn pbf-listing list`` + * ``oci fn pbf-listing-version get`` + * ``oci fn pbf-listing-version list`` + * ``oci fn trigger list`` + * Support for creating/updating new connection types in the Golden Gate service + * ``oci goldengate connection create-amazon-s3-connection`` + * ``oci goldengate connection update-amazon-s3-connection`` + * ``oci goldengate connection create-hdfs-connection`` + * ``oci goldengate connection update-hdfs-connection`` + * ``oci goldengate connection create-microsoft-sqlserver-connection`` + * ``oci goldengate connection update-microsoft-sqlserver-connection`` + * ``oci goldengate connection create-jms-connection`` + * ``oci goldengate connection update-jms-connection`` + * ``oci goldengate connection create-mongo-db-connection`` + * ``oci goldengate connection update-mongo-db-connection`` + * ``oci goldengate connection create-oracle-nosql-connection`` + * ``oci goldengate connection update-oracle-nosql-connection`` + * ``oci goldengate connection create-snowflake-connection`` + * ``oci goldengate connection update-snowflake-connection`` + * [BREAKING] The below commands have been changed as follow in the Golden Gate service + * ``oci goldengate connection create-connection-create-azure-data-lake-storage-connection-details + -> create-azure-data-lake-storage-connection`` + * ``oci goldengate connection update-connection-update-azure-data-lake-storage-connection-details + -> update-azure-data-lake-storage-connection`` + * ``oci goldengate connection create-connection-create-azure-synapse-connection-details + -> create-azure-synapse-connection`` + * ``oci goldengate connection update-connection-update-azure-synapse-connection-details + -> update-azure-synapse-connection`` + * ``oci goldengate connection create-connection-create-kafka-schema-registry-connection-details + -> create-kafka-schema-registry-connection`` + * ``oci goldengate connection update-connection-update-kafka-schema-registry-connection-details + -> update-kafka-schema-registry-connection`` + * ``oci goldengate connection create-connection-create-postgresql-connection-details + -> create-postgresql-connection`` + * ``oci goldengate connection update-connection-update-postgresql-connection-details + -> update-postgresql-connection`` +- from version 3.23.4 + * Support for Identity Domains service + * ``oci identity-domains`` + * Database Service + * Support for Long Term Backup for Autonomous Databases on Exadata Cloud at Customer + * ``oci db autonomous-database-backup create --backup-destination-details`` + * ``oci db autonomous-database-backup list --type`` + * Container Engine for Kubernetes service + * Support for enhanced cluster + * ``oci ce cluster create --type`` + * ``oci ce cluster update --type`` + * Support for Cluster AddOns + * ``oci ce addon`` + * Support for Serverless + * ``oci ce virtual-node-pool`` + * Data integration service + * Support for copy objects and template retrieval + * ``oci data-integration workspace copy-object-request create`` + * ``oci data-integration workspace copy-object-request get`` + * ``oci data-integration workspace delete-copy-object-request`` + * ``oci data-integration workspace update-copy-object-request`` + * ``oci data-integration workspace copy-object-request-summary-collection + list-copy-object-requests`` + * ``oci data-integration template get`` + * ``oci data-integration template list`` + * Goldengate service + * Support for managing available deployment version in the system + * ``oci goldengate deployment-version`` + * Support for listing deployment versions + * ``oci goldengate deployment-version list`` + * Support new commands for deployment upgrade entity + * ``oci goldengate deployment-upgrade upgrade`` + * ``oci goldengate deployment-upgrade rollback`` + * ``oci goldengate deployment-upgrade snooze`` + * ``oci goldengate deployment-upgrade cancel-snooze`` + * Support for specifying oggVersion when upgrading a deployment + * ``oci goldengate deployment upgrade-to`` + * Support for specifying maintenance-window and ogg version in case of create deployment + * ``oci goldengate deployment create --maintenance-window-day + --maintenance-window-start-hour --ogg-version`` + * Support for specifying maintenance-window in case of update deployment + * ``oci goldengate deployment create --maintenance-window-day --maintenance-window-start-hour`` + * Support for specifying deployment type and ogg versions when listing deployment types + * ``oci goldengate deployment-type-collection list-deployment-types --deployment-type --ogg-version`` + * Operations Insights + * Support in OPSI Host Capacity planning for Host network metrics + * ``oci opsi host-insights summarize-network-usage-trend + --compartment-id --id --analysis-time-interval`` + * Support in OPSI Host Capacity planning for Host storage metrics + * ``oci opsi host-insights summarize-storage-usage-trend + --compartment-id --id --analysis-time-interval`` + * Upgraded the cryptography version to (>=3.2.1,<40.0.0) and pyOpenSSL + version to (>=17.5.0,<24.0.0') to fix CVE-2023-0286 and CVE-2023-23931 +- Refresh patches for new version + * oc_relax-python-depends.patch +- Update BuildRequires and Requires from setup.py + ------------------------------------------------------------------- Tue Mar 14 10:40:09 UTC 2023 - John Paul Adrian Glaubitz diff --git a/oci-cli.spec b/oci-cli.spec index 0c8552d..5ef055b 100644 --- a/oci-cli.spec +++ b/oci-cli.spec @@ -28,7 +28,7 @@ %bcond_with test %endif Name: oci-cli%{psuffix} -Version: 3.23.3 +Version: 3.24.0 Release: 0 Summary: Oracle Cloud Infrastructure CLI License: Apache-2.0 @@ -46,7 +46,7 @@ BuildRequires: python3-click >= 8.0.4 BuildRequires: python3-cryptography >= 3.2.1 BuildRequires: python3-devel BuildRequires: python3-jmespath >= 0.10.0 -BuildRequires: python3-oci-sdk >= 2.94.0 +BuildRequires: python3-oci-sdk >= 2.96.0 BuildRequires: python3-pyOpenSSL >= 22.1.0 BuildRequires: python3-python-dateutil >= 2.5.3 BuildRequires: python3-pytz >= 2016.10 @@ -85,7 +85,7 @@ Requires: python3-certifi Requires: python3-click >= 8.0.4 Requires: python3-cryptography >= 3.2.1 Requires: python3-jmespath >= 0.10.0 -Requires: python3-oci-sdk >= 2.94.0 +Requires: python3-oci-sdk >= 2.96.0 Requires: python3-prompt_toolkit >= 3.0.29 Requires: python3-pyOpenSSL >= 22.1.0 Requires: python3-python-dateutil >= 2.5.3