diff --git a/oc_relax-python-depends.patch b/oc_relax-python-depends.patch index 842de5a..6ef2d0f 100644 --- a/oc_relax-python-depends.patch +++ b/oc_relax-python-depends.patch @@ -1,7 +1,6 @@ -Common subdirectories: oci-cli-3.18.1.orig/.github and oci-cli-3.18.1/.github -diff -u oci-cli-3.18.1.orig/requirements.txt oci-cli-3.18.1/requirements.txt ---- oci-cli-3.18.1.orig/requirements.txt 2022-10-04 22:54:50.000000000 +0200 -+++ oci-cli-3.18.1/requirements.txt 2022-10-10 14:22:35.258579182 +0200 +diff -Nru oci-cli-3.20.0.orig/requirements.txt oci-cli-3.20.0/requirements.txt +--- oci-cli-3.20.0.orig/requirements.txt 2022-11-01 20:08:18.000000000 +0100 ++++ oci-cli-3.20.0/requirements.txt 2022-11-02 12:39:46.299912638 +0100 @@ -2,41 +2,41 @@ # (https://pip.pypa.io/en/stable/reference/pip_install/#requirements-file-format), # you may need to use the --extra-index-url option instead. @@ -11,7 +10,7 @@ diff -u oci-cli-3.18.1.orig/requirements.txt oci-cli-3.18.1/requirements.txt arrow>=1.0.0 certifi cffi>=1.9.1 --click==7.1.2 +-click==8.0.4 -coverage==4.5.2 -cryptography>=3.2.1,<=37.0.2 -httpsig-cffi==15.0.0 @@ -19,7 +18,7 @@ diff -u oci-cli-3.18.1.orig/requirements.txt oci-cli-3.18.1/requirements.txt -jmespath==0.10.0 -ndg-httpsclient==0.4.2 -mock==2.0.0 --oci==2.85.0 +-oci==2.87.0 -packaging==20.2 -pluggy==0.13.0 -py==1.10.0 @@ -30,7 +29,7 @@ diff -u oci-cli-3.18.1.orig/requirements.txt oci-cli-3.18.1/requirements.txt -pytest==3.2.3 -pytest-cov==2.5.1 -python-dateutil>=2.5.3,<3.0.0 -+click>=7.1.2 ++click>=8.0.4 +coverage>=4.5.2 +cryptography>=3.2.1 +httpsig-cffi>=15.0.0 @@ -38,7 +37,7 @@ diff -u oci-cli-3.18.1.orig/requirements.txt oci-cli-3.18.1/requirements.txt +jmespath>=0.10.0 +ndg-httpsclient>=0.4.2 +mock>=2.0.0 -+oci>=2.85.0 ++oci>=2.87.0 +packaging>=20.2 +pluggy>=0.13.0 +py>=1.10.0 @@ -76,24 +75,22 @@ diff -u oci-cli-3.18.1.orig/requirements.txt oci-cli-3.18.1/requirements.txt +PyYAML>=5.4 +docutils>=0.15.2 +prompt-toolkit>=3.0.29 -Common subdirectories: oci-cli-3.18.1.orig/scripts and oci-cli-3.18.1/scripts -Common subdirectories: oci-cli-3.18.1.orig/services and oci-cli-3.18.1/services -diff -u oci-cli-3.18.1.orig/setup.py oci-cli-3.18.1/setup.py ---- oci-cli-3.18.1.orig/setup.py 2022-10-04 22:54:50.000000000 +0200 -+++ oci-cli-3.18.1/setup.py 2022-10-10 14:21:56.146255580 +0200 +diff -Nru oci-cli-3.20.0.orig/setup.py oci-cli-3.20.0/setup.py +--- oci-cli-3.20.0.orig/setup.py 2022-11-01 20:08:18.000000000 +0100 ++++ oci-cli-3.20.0/setup.py 2022-11-02 12:39:12.087779814 +0100 @@ -29,23 +29,23 @@ readme = f.read() requires = [ -- 'oci==2.85.0', -+ 'oci>=2.85.0', +- 'oci==2.87.0', ++ 'oci>=2.87.0', 'arrow>=1.0.0', 'certifi', -- 'click==7.1.2', +- 'click==8.0.4', - 'cryptography>=3.2.1,<=37.0.2', - 'jmespath==0.10.0', - 'python-dateutil>=2.5.3,<3.0.0', -+ 'click>=7.1.2', ++ 'click>=8.0.4', + 'cryptography>=3.2.1', + 'jmespath>=0.10.0', + 'python-dateutil>=2.5.3', @@ -115,5 +112,3 @@ diff -u oci-cli-3.18.1.orig/setup.py oci-cli-3.18.1/setup.py } fips_libcrypto_file = os.getenv("OCI_CLI_FIPS_LIBCRYPTO_FILE") -Common subdirectories: oci-cli-3.18.1.orig/src and oci-cli-3.18.1/src -Common subdirectories: oci-cli-3.18.1.orig/tests and oci-cli-3.18.1/tests diff --git a/oci-cli-3.18.1.tar.gz b/oci-cli-3.18.1.tar.gz deleted file mode 100644 index 7b54a55..0000000 --- a/oci-cli-3.18.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:130472a366879a94b6e410769f6c5f4e3229724fb98281f808b797cb400f0b00 -size 2713294 diff --git a/oci-cli-3.20.0.tar.gz b/oci-cli-3.20.0.tar.gz new file mode 100644 index 0000000..139ea4b --- /dev/null +++ b/oci-cli-3.20.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cd869f35974cb82a6cf7e5d55aac62bbd5a70b05240481542d60e169aea08ec9 +size 2749409 diff --git a/oci-cli.changes b/oci-cli.changes index e25b967..0b18693 100644 --- a/oci-cli.changes +++ b/oci-cli.changes @@ -1,3 +1,76 @@ +------------------------------------------------------------------- +Wed Nov 2 12:08:03 UTC 2022 - John Paul Adrian Glaubitz + +- Update to version 3.20.0 + * Database service + * Support for Clone from backup from last available timestamp + * ``oci db autonomous-database create-from-backup-timestamp + --use-latest-available-backup-time-stamp `` + * The required parameter --timestamp is now optional in the below command + * ``oci db autonomous-database create-from-backup-timestamp`` + * The required parameter --display-name is now optional in the below command + * ``oci db autonomous-database-backup create`` + * Support for agent settings parameter for specifying third-party Qualys scanner + when creating or updating a host scan recipe in the Vulnerability Scanning service + * ``oci vulnerability-scanning host scan recipe create --agent-settings `` + * ``oci vulnerability-scanning host scan recipe update --agent-settings `` + * Support for the below commands in the Logging Analytics service + * ``oci log-analytics storage list-encryption-key-info`` + * ``oci log-analytics storage assign-encryption-key`` + * Golden Gate service + * Support for Connections for Database Resources + * ``oci golden-gate connection`` + * Support for the below new command + * ``oci goldengate deployment-type-collection list-deployment-types`` + * Support for the parameters --assignable-connection-id, --assigned-connection-id + and --supported-connection-type in the below command + * ``oci goldengate deployment list`` + * [BREAKING] The command oci organizations work-request-log-entry list has been + changed to oci organizations work-request-log list in the Organization service + * Improved CLI error message on incorrect JSON input +- from version 3.19.0 + * Support for Full Stack Disaster Recovery service + * ``oci disaster-recovery`` + * The AI Language service + * Support for the Language custom models + * ``oci ai language project`` + * ``oci ai language model`` + * ``oci ai language endpoint`` + * Support for the language translation + * ``oci ai language batch-language-translation`` + * Support for new optional parameters in the batch service + * ``oci ai language batch-detect-entities --compartment-id --endpoint-id`` + * ``oci ai language batch-detect-key-phrases --compartment-id`` + * ``oci ai language batch-detect-language --compartment-id`` + * ``oci ai language batch-detect-sentiments --compartment-id`` + * ``oci ai language batch-detect-text-classification --compartment-id --endpoint-id`` + * Data Flow Service + * Support for running code interactively with Session Applications using Statement resource + * ``oci data-flow statement create --code --run-id`` + * ``oci data-flow statement delete --run-id --statement-id`` + * ``oci data-flow statement get --run-id --statement-id`` + * ``oci data-flow statement list --run-id`` + * Support for new optional parameters + * ``oci data-flow application create --idle-timeout-in-minutes --max-duration-in-minutes`` + * ``oci data-flow application update --idle-timeout-in-minutes --max-duration-in-minutes`` + * ``oci data-flow run create --idle-timeout-in-minutes --max-duration-in-minutes`` + * ``oci data-flow run submit --idle-timeout-in-minutes --max-duration-in-minutes`` + * ``oci data-flow run update --idle-timeout-in-minutes --max-duration-in-minutes`` + * Support for using combination of environment variable and other required + parameter in commands ,if config file is not present + * Fixed mismatched help text format when using ``--help`` + * Dependency on click is upgraded to 8.0.4 + * Data Flow Service + * [BREAKING] The parameter --file-url has been removed from the below command + * ``oci data-flow application create`` + * [BREAKING] The parameters --defined-tags, --force, --freeform-tags, --if-match, + --max-wait-seconds, --wait-for-state, --wait-interval-seconds have been deleted + from the below command + * ``oci data-flow statement list`` +- Refresh patches for new version + + oc_relax-python-depends.patch +- Update BuildRequires and Requires from setup.py + ------------------------------------------------------------------- Mon Oct 10 12:22:56 UTC 2022 - John Paul Adrian Glaubitz diff --git a/oci-cli.spec b/oci-cli.spec index 4d91c3d..bf11a58 100644 --- a/oci-cli.spec +++ b/oci-cli.spec @@ -28,7 +28,7 @@ %bcond_with test %endif Name: oci-cli%{psuffix} -Version: 3.18.1 +Version: 3.20.0 Release: 0 Summary: Oracle Cloud Infrastructure CLI License: Apache-2.0 @@ -42,11 +42,11 @@ BuildRequires: python3-PyJWT BuildRequires: python3-PyYAML >= 5.4.1 BuildRequires: python3-arrow >= 1.0.0 BuildRequires: python3-certifi -BuildRequires: python3-click >= 7.1.2 +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.85.0 +BuildRequires: python3-oci-sdk >= 2.87.0 BuildRequires: python3-pyOpenSSL >= 19.1.0 BuildRequires: python3-python-dateutil >= 2.5.3 BuildRequires: python3-pytz >= 2016.10 @@ -79,10 +79,10 @@ BuildRequires: python3-virtualenv >= 16.7.10 Requires: python3-PyYAML >= 5.4.1 Requires: python3-arrow >= 1.0.0 Requires: python3-certifi -Requires: python3-click >= 7.1.2 +Requires: python3-click >= 8.0.4 Requires: python3-cryptography >= 3.2.1 Requires: python3-jmespath >= 0.10.0 -Requires: python3-oci-sdk >= 2.85.0 +Requires: python3-oci-sdk >= 2.87.0 Requires: python3-prompt_toolkit >= 3.0.29 Requires: python3-pyOpenSSL >= 19.1.0 Requires: python3-python-dateutil >= 2.5.3