diff --git a/oc_relax-python-depends.patch b/oc_relax-python-depends.patch index a72f688..3191f4b 100644 --- a/oc_relax-python-depends.patch +++ b/oc_relax-python-depends.patch @@ -1,18 +1,18 @@ -diff -Nru oci-cli-2.9.6.orig/requirements.txt oci-cli-2.9.6/requirements.txt ---- oci-cli-2.9.6.orig/requirements.txt 2020-03-10 21:06:12.000000000 +0100 -+++ oci-cli-2.9.6/requirements.txt 2020-03-16 16:02:05.353931245 +0100 +diff -Nru oci-cli-2.10.0.orig/requirements.txt oci-cli-2.10.0/requirements.txt +--- oci-cli-2.10.0.orig/requirements.txt 2020-04-22 00:11:13.000000000 +0200 ++++ oci-cli-2.10.0/requirements.txt 2020-04-27 15:49:32.863622534 +0200 @@ -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. -appdirs==1.4.3 --arrow==0.15.5 +-arrow==0.14.7 +appdirs>=1.4.3 -+arrow>=0.15.5 ++arrow>=0.14.7 certifi cffi>=1.9.1 -click==6.7 --configparser==3.5.0 +-configparser==4.0.2 -coverage==4.5.2 -cryptography==2.8 -httpsig-cffi==15.0.0 @@ -21,7 +21,7 @@ diff -Nru oci-cli-2.9.6.orig/requirements.txt oci-cli-2.9.6/requirements.txt -jmespath==0.9.4 -ndg-httpsclient==0.4.2 -mock==2.0.0 --oci==2.11.0 +-oci==2.13.0 -packaging==16.8 -pluggy==0.4.0 -py==1.4.33 @@ -33,7 +33,7 @@ diff -Nru oci-cli-2.9.6.orig/requirements.txt oci-cli-2.9.6/requirements.txt -pytest-cov==2.5.1 -python-dateutil>=2.5.3,<3.0.0 +click>=6.7 -+configparser>=3.5.0 ++configparser>=4.0.2 +coverage>=4.5.2 +cryptography>=2.8 +httpsig-cffi>=15.0.0 @@ -42,7 +42,7 @@ diff -Nru oci-cli-2.9.6.orig/requirements.txt oci-cli-2.9.6/requirements.txt +jmespath>=0.9.4 +ndg-httpsclient>=0.4.2 +mock>=2.0.0 -+oci>=2.11.0 ++oci>=2.13.0 +packaging>=16.8 +pluggy>=0.4.0 +py>=1.4.33 @@ -78,25 +78,25 @@ diff -Nru oci-cli-2.9.6.orig/requirements.txt oci-cli-2.9.6/requirements.txt +pytest-xdist>=1.22.2 +pytest-forked>=1.0.2 +PyYAML>=5.1.2 -diff -Nru oci-cli-2.9.6.orig/setup.py oci-cli-2.9.6/setup.py ---- oci-cli-2.9.6.orig/setup.py 2020-03-10 21:06:12.000000000 +0100 -+++ oci-cli-2.9.6/setup.py 2020-03-16 16:07:09.852908353 +0100 +diff -Nru oci-cli-2.10.0.orig/setup.py oci-cli-2.10.0/setup.py +--- oci-cli-2.10.0.orig/setup.py 2020-04-22 00:11:13.000000000 +0200 ++++ oci-cli-2.10.0/setup.py 2020-04-27 15:49:09.671543031 +0200 @@ -29,25 +29,25 @@ readme = f.read() requires = [ -- 'oci==2.11.0', +- 'oci==2.13.0', - 'arrow==0.14.7', -+ 'oci>=2.11.0', ++ 'oci>=2.13.0', + 'arrow>=0.14.7', 'certifi', - 'click==6.7', -- 'configparser==3.5.0', +- 'configparser==4.0.2', - 'cryptography==2.8', - 'jmespath==0.9.4', - 'python-dateutil>=2.5.3,<3.0.0', + 'click>=6.7', -+ 'configparser>=3.5.0', ++ 'configparser>=4.0.2', + 'cryptography>=2.8', + 'jmespath>=0.9.4', + 'python-dateutil>=2.5.3', diff --git a/oci-cli.changes b/oci-cli.changes index 645f54f..5ff09af 100644 --- a/oci-cli.changes +++ b/oci-cli.changes @@ -1,3 +1,150 @@ +------------------------------------------------------------------- +Mon Apr 27 14:09:29 UTC 2020 - John Paul Adrian Glaubitz + +- Update to version 2.10.0 + + Support for Data Safe service + * ``oci data-safe`` + + Support for Incident Management and Creation service + * ``oci support`` + + Support for object versions in Object Storage + * ``oci os object list-object-versions`` + * ``oci os bucket create --versioning`` + * ``oci os bucket update --versioning`` + * ``oci os object copy --source-version-id`` + * ``oci os object copy-part --source-version-id`` + * ``oci os object delete --version-id`` + * ``oci os object restore --version-id`` + * ``oci os object get --version-id`` + * ``oci os object head --version-id`` + * ``oci os object list --start-after`` + + Support for user-provided encryption keys in Object Storage, by introducing + optional parameters to specify a file containing the encryption key + * ``oci os object put --encryption-key-file`` + * ``oci os object get --encryption-key-file`` + * ``oci os object head --encryption-key-file`` + * ``oci os object bulk-download --encryption-key-file`` + * ``oci os object bulk-upload --encryption-key-file`` + * ``oci os object copy --encryption-key-file --source-encryption-key-file`` + + Support for managing shape compatibility entries for Compute images. + * ``oci compute image-shape-compatibility-entry`` + + Support for maintenance preferences while launching + and updating an Exadata DB System. + * ``oci db system launch --maintenance-window-details`` + * ``oci db system update --maintenance-window-details`` + + Added new parameter ``--shape-config`` to specify number of + cores when launching or updating a Compute instance. + * ``oci compute instance launch`` + * ``oci compute instance update`` + + Added new parameter ``--destination-region`` to support + scheduled cross region backups for Boot Volumes + * ``oci bv volume-backup-policy create`` + * ``oci bv volume-backup-policy update`` + + New Attribute isFreeTierEnabled is included in the response of + * ``oci db autonomous-db-version-list`` + + New json input parameters are now available for + ``oci compute-management instance-configuration create`` + * createVnicDetails + * definedTags + * freeformTags + * instanceDetails.blockVolumes.createDetails + * kmsKeyId + * vpusPerGB + * instanceDetails.launchDetails + * shapeConfig + * dedicatedVmHostId + * launchMode + * launchOptions + * agentConfig + * isPvEncryptionInTransitEnabled + * preferredMaintenanceAction + + [BREAKING] Removed Stream Archiving + * ``oci streaming admin archiver`` +- from version 2.9.11 + + Instance Access Type support for OCE instances + * ``oci oce oce-instance create --instance-access-type --upgrade-schedule`` + + Use client specific endpoint for clock skew check instead of always Compute + + Custom bashrc file is created on user input when default rc + file is not found during CLI installation. +- from version 2.9.10 + + Support for getting usage of Vault in KMS Management Service. + * ``oci kms management vault usage get`` + + The ability to change the compartment of Runs and + Applications in Data Flow Service. + * ``oci data-flow application change-compartment`` + * ``oci data-flow run change-compartment`` + + New options for stream-pool create/update in Streaming Service. + * ``oci streaming admin stream-pool create --custom-encryption-key-details, + --private-endpoint-details`` + * ``oci streaming admin stream-pool update --custom-encryption-key-details`` + + Bug where uploading the zip file to model-artifact would fail + * ``oci data-science model create-model-artifact + --model-artifact-file --model-id `` +- from version 2.9.9 + + Support to allow update of class name, file URI, language and spark + version of an existing application in the Data Flow service + * ``oci data-flow application update --class-name, --file-uri, + --language, --spark-version`` + + Support for enabling and disabling the pod security policy admission + controller in the Container Engine Service + * ``oci ce cluster create | update --options '{"admissionControllerOptions": + {"isPodSecurityPolicyEnabled": true}}'`` + + Support for Cross Region Replication in the Object Storage Service + * ``oci os replication create-replication-policy`` + * ``oci os replication delete-replication-policy`` + * ``oci os replication get-replication-policy`` + * ``oci os replication list-replication-policies`` + * ``oci os replication list-replication-sources`` + * ``oci os replication make-bucket-writable`` + + Support for Retention Rules in the Object Storage Service + * ``oci os retention-rule`` + + Support for Big Data service + * ``oci bds`` + + Support for Secrets and Vault service + * ``oci secrets`` + * ``oci vault`` + + Bug where checking the status of the boot volume backup + copy operation would fail + * ``oci bv boot-volume-backup copy`` + + The following operations within the Data Transfer Service + * ``oci dts export configure-physical-appliance`` is now idempotent + + Prompt requiring user confirmation when region values are different + in config and config_upload_user in the following commands + * ``oci dts job create`` + * ``oci dts physical-appliance finalize`` + + Perform deep-search and return additional appliance information + instead of only appliance-label + * ``oci dts job show`` + + User credentials validation step and check to determine if the specified + bucket belongs to the specified compartment. Introduced new optional argument. + * ``oci dts job create --skip-upload-user-check`` +- from version 2.9.8 + + Support for conditions in the JavaScript Challenge + * ``oci waas js-challenge update`` + + Support for new settings in Policy Config + * ``oci waas policy-config update --load-balancing-method`` + * ``oci waas policy-config update --websocket-path-prefixes`` + * ``oci waas policy-config update --health-checks`` + + Support for exclusions in Custom Protection Rules + * ``oci waas custom-protection-rule list`` + + Support for IP Address List in IP Whitelist + * ``oci waas whitelist update`` + + Support for WAF configuration for existing OCE instances + * ``oci oce oce-instance update --waf-primary-domain`` + + Support for Exacs database creation from backup + * ``oci db database create-database-from-backup`` +- from version 2.9.7 + + Support for connecting to database system via terminal + * ``oci db console-connection create --db-node-id --public-key`` + * ``oci db console-connection delete --console-connection-id --db-node-id --force`` + * ``oci db console-connection get --console-connection-id --db-node-id`` + * ``oci db console-connection list --db-node-id --all-pages`` + + Upgraded dependency for configparser. + * ``--verify-native-dependencies`` option within install.py + script is being deprecated. +- Refresh patches for new version + + oc_relax-python-depends.patch +- Update BuildRequires and Requires from setup.py + ------------------------------------------------------------------- Mon Mar 16 15:09:02 UTC 2020 - John Paul Adrian Glaubitz diff --git a/oci-cli.spec b/oci-cli.spec index 5ae5749..a8a0358 100644 --- a/oci-cli.spec +++ b/oci-cli.spec @@ -25,7 +25,7 @@ %bcond_with test %endif Name: oci-cli -Version: 2.9.6 +Version: 2.10.0 Release: 0 Summary: Oracle Cloud Infrastructure CLI License: Apache-2.0 @@ -37,15 +37,14 @@ Patch1: oc_name-defaults_file-parameter.patch BuildRequires: fdupes BuildRequires: python3-PyJWT BuildRequires: python3-PyYAML >= 5.1.2 -BuildRequires: python3-arrow >= 0.15.5 +BuildRequires: python3-arrow >= 0.14.7 BuildRequires: python3-certifi BuildRequires: python3-click >= 6.7 -BuildRequires: python3-configparser >= 3.5.0 BuildRequires: python3-cryptography >= 2.8 BuildRequires: python3-devel BuildRequires: python3-idna >= 2.5 BuildRequires: python3-jmespath >= 0.9.4 -BuildRequires: python3-oci-sdk >= 2.11.0 +BuildRequires: python3-oci-sdk >= 2.13.0 BuildRequires: python3-pyOpenSSL >= 18.0.0 BuildRequires: python3-python-dateutil >= 2.5.3 BuildRequires: python3-pytz >= 2016.10 @@ -79,15 +78,14 @@ BuildRequires: python3-vcrpy >= 1.13.0 BuildRequires: python3-virtualenv >= 15.1.0 %endif Requires: python3-PyYAML >= 5.1.2 -Requires: python3-arrow >= 0.15.5 +Requires: python3-arrow >= 0.14.7 Requires: python3-certifi Requires: python3-click >= 6.7 -Requires: python3-configparser >= 3.5.0 Requires: python3-cryptography >= 2.8 Requires: python3-httpsig_cffi >= 15.0.0 Requires: python3-idna >= 2.5 Requires: python3-jmespath >= 0.9.4 -Requires: python3-oci-sdk >= 2.11.0 +Requires: python3-oci-sdk >= 2.13.0 Requires: python3-pyOpenSSL >= 18.0.0 Requires: python3-python-dateutil >= 2.5.3 Requires: python3-pytz >= 2016.10 diff --git a/v2.10.0.tar.gz b/v2.10.0.tar.gz new file mode 100644 index 0000000..9d5b676 --- /dev/null +++ b/v2.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:01c017cfd2f5f57910327865accdb6148e34f9d2687df59990fef594926b9430 +size 1057536 diff --git a/v2.9.6.tar.gz b/v2.9.6.tar.gz deleted file mode 100644 index db6eb00..0000000 --- a/v2.9.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cee386b67a3ca1a528126b6c9eeec62a00392b45f57f96c8c3905c40c2ecfaf6 -size 1010418