From 5492c9727adf7b02072b0fb3731714354baa3077e10a20f8d7fb5d538a1f5e2d Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Tue, 11 Jun 2024 14:21:59 +0000 Subject: [PATCH] Accepting request 1179714 from home:glaubitz:branches:Cloud:Tools - Update to version 3.43.0 * Generative AI Service Inference * [BREAKING] Optional parameter ``--chat-request`` has now been made required in the following commands * ``oci generative-ai-inference chat-result chat`` * ``oci generative-ai-inference chat-result chat-dedicated-serving-mode`` * ``oci generative-ai-inference chat-result chat-on-demand-serving-mode`` * Complex parameters --chat-request, --chat-request-chat-history has been updated in the following command * ``oci generative-ai-inference chat-result chat-cohere-chat-request`` * Generative AI Service Management * Added support of dedicated AI cluster unit shape SMALL_COHERE_V2, LARGE_COHERE_V2, LARGE_COHERE_V2_2 and LARGE_GENERIC in the following command * ``oci generative-ai dedicated-ai-cluster create`` * Database Service * Support for creating cross tenancy autonomous data guard ``oci db autonomous-database create-cross-tenancy-disaster-recovery-details`` * Support for listing autonomous database peers ``oci db autonomous-database list-autonomous-database-peers`` * GoldenGate Service * Support for add/remove lock for resources ``oci goldengate connection add-lock`` ``oci goldengate connection remove-lock`` ``oci goldengate deployment add-lock`` ``oci goldengate deployment remove-lock`` ``oci goldengate deployment-backup add-lock`` ``oci goldengate deployment-backup remove-lock`` * Support for creating/updating new connection types ``oci goldengate connection create-db2-connection`` ``oci goldengate connection update-db2-connection`` OBS-URL: https://build.opensuse.org/request/show/1179714 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/oci-cli?expand=0&rev=128 --- oc_relax-python-depends.patch | 30 +++++++++++++-------------- oci-cli-3.42.0.tar.gz | 3 --- oci-cli-3.43.0.tar.gz | 3 +++ oci-cli.changes | 38 +++++++++++++++++++++++++++++++++++ oci-cli.spec | 6 +++--- 5 files changed, 58 insertions(+), 22 deletions(-) delete mode 100644 oci-cli-3.42.0.tar.gz create mode 100644 oci-cli-3.43.0.tar.gz diff --git a/oc_relax-python-depends.patch b/oc_relax-python-depends.patch index 1058990..ef97f66 100644 --- a/oc_relax-python-depends.patch +++ b/oc_relax-python-depends.patch @@ -1,6 +1,6 @@ -diff -Nru oci-cli-3.42.0.orig/requirements.txt oci-cli-3.42.0/requirements.txt ---- oci-cli-3.42.0.orig/requirements.txt 2024-05-28 06:54:30.000000000 +0000 -+++ oci-cli-3.42.0/requirements.txt 2024-06-04 11:17:04.096519602 +0000 +diff -Nru oci-cli-3.43.0.orig/requirements.txt oci-cli-3.43.0/requirements.txt +--- oci-cli-3.43.0.orig/requirements.txt 2024-06-04 09:10:24.000000000 +0200 ++++ oci-cli-3.43.0/requirements.txt 2024-06-10 16:14:53.589709258 +0200 @@ -2,48 +2,48 @@ # (https://pip.pypa.io/en/stable/reference/pip_install/#requirements-file-format), # you may need to use the --extra-index-url option instead. @@ -18,7 +18,7 @@ diff -Nru oci-cli-3.42.0.orig/requirements.txt oci-cli-3.42.0/requirements.txt -jmespath==0.10.0 -ndg-httpsclient==0.4.2 -mock==2.0.0 --oci==2.127.0 +-oci==2.128.0 -packaging==20.2 -pluggy==0.13.0 -py==1.11.0 @@ -38,7 +38,7 @@ diff -Nru oci-cli-3.42.0.orig/requirements.txt oci-cli-3.42.0/requirements.txt +jmespath>=0.10.0 +ndg-httpsclient>=0.4.2 +mock>=2.0.0 -+oci>=2.127.0 ++oci>=2.128.0 +packaging>=20.2 +pluggy>=0.13.0 +py>=1.11.0 @@ -68,7 +68,6 @@ diff -Nru oci-cli-3.42.0.orig/requirements.txt oci-cli-3.42.0/requirements.txt -PyYAML>=5.4,<=6.0.1 -docutils==0.15.2 -prompt-toolkit==3.0.29; python_version == '3.6' --prompt-toolkit>=3.0.38,<=3.0.43; python_version > '3.6' +sphinx>=3.3.0 +sphinx-rtd-theme>=0.4.3 +terminaltables>=3.1.10 @@ -81,21 +80,21 @@ diff -Nru oci-cli-3.42.0.orig/requirements.txt oci-cli-3.42.0/requirements.txt +PyYAML>=5.4 +docutils>=0.15.2 +prompt-toolkit>=3.0.29; python_version == '3.6' -+prompt-toolkit>=3.0.38; python_version > '3.6' + prompt-toolkit>=3.0.38,<=3.0.43; python_version > '3.6' setuptools>65.5.1; python_version > '3.6' -setuptools==59.6.0; python_version == '3.6' +setuptools>=59.6.0; python_version == '3.6' # this is required because of python 3.6 requests dependency version bound urllib3<=1.26.15 -diff -Nru oci-cli-3.42.0.orig/setup.py oci-cli-3.42.0/setup.py ---- oci-cli-3.42.0.orig/setup.py 2024-05-28 06:54:30.000000000 +0000 -+++ oci-cli-3.42.0/setup.py 2024-06-04 11:15:12.483907907 +0000 +diff -Nru oci-cli-3.43.0.orig/setup.py oci-cli-3.43.0/setup.py +--- oci-cli-3.43.0.orig/setup.py 2024-06-04 09:10:24.000000000 +0200 ++++ oci-cli-3.43.0/setup.py 2024-06-10 16:12:50.012685483 +0200 @@ -30,24 +30,24 @@ readme = f.read() requires = [ -- 'oci==2.127.0', -+ 'oci>=2.127.0', +- 'oci==2.128.0', ++ 'oci>=2.128.0', 'arrow>=1.0.0', 'certifi', - 'click==8.0.4', @@ -111,13 +110,12 @@ diff -Nru oci-cli-3.42.0.orig/setup.py oci-cli-3.42.0/setup.py - 'terminaltables==3.1.10', - 'pyOpenSSL>=17.5.0,<25.0.0', - 'PyYAML>=5.4,<=6.0.1', -- 'prompt-toolkit>=3.0.38,<=3.0.43; python_version > "3.6"', -- 'prompt-toolkit==3.0.29; python_version == "3.6"' + 'terminaltables>=3.1.10', + 'pyOpenSSL>=17.5.0', + 'PyYAML>=5.4', -+ 'prompt-toolkit>=3.0.38; python_version > "3.6"', -+ 'prompt-toolkit>=3.0.29; python_version >= "3.6"' + 'prompt-toolkit>=3.0.38,<=3.0.43; python_version > "3.6"', +- 'prompt-toolkit==3.0.29; python_version == "3.6"' ++ 'prompt-toolkit>=3.0.29; python_version == "3.6"' ] extras = { diff --git a/oci-cli-3.42.0.tar.gz b/oci-cli-3.42.0.tar.gz deleted file mode 100644 index b65be4f..0000000 --- a/oci-cli-3.42.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6ae4885cd4c7193d1a03bfbdefd8790a32aa85374bc2fb3c86879614cb54b257 -size 5330133 diff --git a/oci-cli-3.43.0.tar.gz b/oci-cli-3.43.0.tar.gz new file mode 100644 index 0000000..427e9c8 --- /dev/null +++ b/oci-cli-3.43.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:835d3e56777f36d13f0b66230e378bfc5c8ad334186ed08bdbc44793c129ae54 +size 5343177 diff --git a/oci-cli.changes b/oci-cli.changes index b427011..638e237 100644 --- a/oci-cli.changes +++ b/oci-cli.changes @@ -1,3 +1,41 @@ +------------------------------------------------------------------- +Mon Jun 10 14:15:12 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 3.43.0 +* Generative AI Service Inference + * [BREAKING] Optional parameter ``--chat-request`` has + now been made required in the following commands + * ``oci generative-ai-inference chat-result chat`` + * ``oci generative-ai-inference chat-result chat-dedicated-serving-mode`` + * ``oci generative-ai-inference chat-result chat-on-demand-serving-mode`` + * Complex parameters --chat-request, --chat-request-chat-history + has been updated in the following command + * ``oci generative-ai-inference chat-result chat-cohere-chat-request`` + * Generative AI Service Management + * Added support of dedicated AI cluster unit shape SMALL_COHERE_V2, LARGE_COHERE_V2, + LARGE_COHERE_V2_2 and LARGE_GENERIC in the following command + * ``oci generative-ai dedicated-ai-cluster create`` + * Database Service + * Support for creating cross tenancy autonomous data guard + ``oci db autonomous-database create-cross-tenancy-disaster-recovery-details`` + * Support for listing autonomous database peers + ``oci db autonomous-database list-autonomous-database-peers`` + * GoldenGate Service + * Support for add/remove lock for resources + ``oci goldengate connection add-lock`` + ``oci goldengate connection remove-lock`` + ``oci goldengate deployment add-lock`` + ``oci goldengate deployment remove-lock`` + ``oci goldengate deployment-backup add-lock`` + ``oci goldengate deployment-backup remove-lock`` + * Support for creating/updating new connection types + ``oci goldengate connection create-db2-connection`` + ``oci goldengate connection update-db2-connection`` + ``oci goldengate deployment generate-log-reader-component-library-url`` +- Refresh patches for new version + * oc_relax-python-depends.patch +- Update BuildRequires and Requires from setup.py + ------------------------------------------------------------------- Tue Jun 4 11:55:48 UTC 2024 - John Paul Adrian Glaubitz diff --git a/oci-cli.spec b/oci-cli.spec index e15414a..d8fb8c9 100644 --- a/oci-cli.spec +++ b/oci-cli.spec @@ -36,7 +36,7 @@ %global _sitelibdir %{%{pythons}_sitelib} Name: oci-cli%{psuffix} -Version: 3.42.0 +Version: 3.43.0 Release: 0 Summary: Oracle Cloud Infrastructure CLI License: Apache-2.0 @@ -52,7 +52,7 @@ BuildRequires: %{pythons}-click >= 8.0.4 BuildRequires: %{pythons}-cryptography >= 3.2.1 BuildRequires: %{pythons}-devel BuildRequires: %{pythons}-jmespath >= 0.10.0 -BuildRequires: %{pythons}-oci-sdk >= 2.127.0 +BuildRequires: %{pythons}-oci-sdk >= 2.128.0 BuildRequires: %{pythons}-pip BuildRequires: %{pythons}-pyOpenSSL >= 22.1.0 BuildRequires: %{pythons}-python-dateutil >= 2.5.3 @@ -95,7 +95,7 @@ Requires: %{pythons}-certifi Requires: %{pythons}-click >= 8.0.4 Requires: %{pythons}-cryptography >= 3.2.1 Requires: %{pythons}-jmespath >= 0.10.0 -Requires: %{pythons}-oci-sdk >= 2.127.0 +Requires: %{pythons}-oci-sdk >= 2.128.0 Requires: %{pythons}-prompt_toolkit >= 3.0.38 Requires: %{pythons}-pyOpenSSL >= 22.1.0 Requires: %{pythons}-python-dateutil >= 2.5.3