From 6415c6956dd0db20810cefe17f907ac4f034a9bf8fb005950ab11f85984a89e1 Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Wed, 15 May 2024 14:20:47 +0000 Subject: [PATCH] Accepting request 1174250 from home:glaubitz:branches:Cloud:Tools - Update to version 3.40.3 * Support for new optional parameter --file-system-configuration-details in vm cluster for Database Service * ``oci db vm-cluster create --file-system-configuration-details`` * ``oci db vm-cluster update --file-system-configuration-details`` * Support for PPv2 ( Proxy protocol version 2) feature for Network Load Balancer * ``oci nlb listener create --is-ppv2-enabled`` * ``oci nlb listener update --is-ppv2-enabled`` * Support for the Marketplace Private Offer Service * ``oci marketplace-private-offer`` * Support for new commands in Marketplace Publisher Service * ``oci marketplace-publisher attachment`` * ``oci marketplace-publisher offer`` * OCI Email Service * Support for Custom Return Path for Sent Emails in Email Delivery Service * ``oci email email-return-path`` * Support for new optional parameter --domain-verification-id in email domain * ``oci email domain create --domain-verification-id`` * ``oci email domain update --domain-verification-id`` * Support for Session Resumption in Load Balancing service * ``oci lb listener create --ssl-session-resumption`` * ``oci lb listener update --ssl-session-resumption`` - from version 3.40.2 * OCI Virtual Cloud Network Service * Support for new ip inventory and notification feature * ``oci network ipam list-ip-inventory`` * ``oci network ipam get-resource-ip-inventory`` * ``oci network ipam get-subnet-cidr-utilization`` * ``oci network ipam get-subnet-ip-inventory`` * ``oci network ipam get-vcn-overlap`` OBS-URL: https://build.opensuse.org/request/show/1174250 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/oci-cli?expand=0&rev=124 --- oc_relax-python-depends.patch | 38 +++--- oci-cli-3.39.1.tar.gz | 3 - oci-cli-3.40.3.tar.gz | 3 + oci-cli.changes | 212 ++++++++++++++++++++++++++++++++++ oci-cli.spec | 8 +- 5 files changed, 239 insertions(+), 25 deletions(-) delete mode 100644 oci-cli-3.39.1.tar.gz create mode 100644 oci-cli-3.40.3.tar.gz diff --git a/oc_relax-python-depends.patch b/oc_relax-python-depends.patch index a8d8606..84eeedb 100644 --- a/oc_relax-python-depends.patch +++ b/oc_relax-python-depends.patch @@ -1,7 +1,7 @@ -diff -Nru oci-cli-3.39.1.orig/requirements.txt oci-cli-3.39.1/requirements.txt ---- oci-cli-3.39.1.orig/requirements.txt 2024-04-16 10:33:42.000000000 +0200 -+++ oci-cli-3.39.1/requirements.txt 2024-04-18 14:04:51.410499047 +0200 -@@ -2,47 +2,47 @@ +diff -Nru oci-cli-3.40.3.orig/requirements.txt oci-cli-3.40.3/requirements.txt +--- oci-cli-3.40.3.orig/requirements.txt 2024-05-14 10:38:04.000000000 +0200 ++++ oci-cli-3.40.3/requirements.txt 2024-05-15 11:05:10.334291290 +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.39.1.orig/requirements.txt oci-cli-3.39.1/requirements.txt -jmespath==0.10.0 -ndg-httpsclient==0.4.2 -mock==2.0.0 --oci==2.125.3 +-oci==2.126.3 -packaging==20.2 -pluggy==0.13.0 -py==1.11.0 @@ -38,7 +38,7 @@ diff -Nru oci-cli-3.39.1.orig/requirements.txt oci-cli-3.39.1/requirements.txt +jmespath>=0.10.0 +ndg-httpsclient>=0.4.2 +mock>=2.0.0 -+oci>=2.125.3 ++oci>=2.126.3 +packaging>=20.2 +pluggy>=0.13.0 +py>=1.11.0 @@ -53,7 +53,7 @@ diff -Nru oci-cli-3.39.1.orig/requirements.txt oci-cli-3.39.1/requirements.txt pytz>=2016.10 -requests==2.21.0; python_version == '3.6' -requests==2.31.0; python_version > '3.6' -+requests>=2.21.0; python_version >= '3.6' ++requests>=2.21.0; python_version == '3.6' +requests>=2.31.0; python_version > '3.6' six>=1.15.0 -sphinx==3.3.0 @@ -67,7 +67,7 @@ diff -Nru oci-cli-3.39.1.orig/requirements.txt oci-cli-3.39.1/requirements.txt -pytest-forked==1.0.2 -PyYAML>=5.4,<=6.0.1 -docutils==0.15.2 --prompt-toolkit==3.0.29 +-prompt-toolkit==3.0.29; python_version == '3.6' +sphinx>=3.3.0 +sphinx-rtd-theme>=0.4.3 +terminaltables>=3.1.10 @@ -79,21 +79,22 @@ diff -Nru oci-cli-3.39.1.orig/requirements.txt oci-cli-3.39.1/requirements.txt +pytest-forked>=1.0.2 +PyYAML>=5.4 +docutils>=0.15.2 -+prompt-toolkit>=3.0.29 ++prompt-toolkit>=3.0.29; 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' ++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.39.1.orig/setup.py oci-cli-3.39.1/setup.py ---- oci-cli-3.39.1.orig/setup.py 2024-04-16 10:33:42.000000000 +0200 -+++ oci-cli-3.39.1/setup.py 2024-04-18 14:13:32.618481796 +0200 -@@ -30,23 +30,23 @@ +diff -Nru oci-cli-3.40.3.orig/setup.py oci-cli-3.40.3/setup.py +--- oci-cli-3.40.3.orig/setup.py 2024-05-14 10:38:04.000000000 +0200 ++++ oci-cli-3.40.3/setup.py 2024-05-15 11:05:54.187742166 +0200 +@@ -30,24 +30,24 @@ readme = f.read() requires = [ -- 'oci==2.125.3', -+ 'oci>=2.125.3', +- 'oci==2.126.3', ++ 'oci>=2.126.3', 'arrow>=1.0.0', 'certifi', - 'click==8.0.4', @@ -109,11 +110,12 @@ diff -Nru oci-cli-3.39.1.orig/setup.py oci-cli-3.39.1/setup.py - 'terminaltables==3.1.10', - 'pyOpenSSL>=17.5.0,<25.0.0', - 'PyYAML>=5.4,<=6.0.1', -- 'prompt-toolkit==3.0.29' + 'terminaltables>=3.1.10', + 'pyOpenSSL>=17.5.0', + 'PyYAML>=5.4', -+ 'prompt-toolkit>=3.0.29' + '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.39.1.tar.gz b/oci-cli-3.39.1.tar.gz deleted file mode 100644 index adf8cc5..0000000 --- a/oci-cli-3.39.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fe98281713daffeadcb36e08f52153fd3ffef9a3068e74e162415c2fdb5bb54b -size 5245769 diff --git a/oci-cli-3.40.3.tar.gz b/oci-cli-3.40.3.tar.gz new file mode 100644 index 0000000..47bde82 --- /dev/null +++ b/oci-cli-3.40.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b2b1f00b3d360b7b106e614f113a2a878a80434062af67afb13941e5c45f50b1 +size 5311055 diff --git a/oci-cli.changes b/oci-cli.changes index bf8d6bc..29c4781 100644 --- a/oci-cli.changes +++ b/oci-cli.changes @@ -1,3 +1,215 @@ +------------------------------------------------------------------- +Wed May 15 09:07:21 UTC 2024 - John Paul Adrian Glaubitz + +- Update to version 3.40.3 + * Support for new optional parameter --file-system-configuration-details + in vm cluster for Database Service + * ``oci db vm-cluster create --file-system-configuration-details`` + * ``oci db vm-cluster update --file-system-configuration-details`` + * Support for PPv2 ( Proxy protocol version 2) feature for Network Load Balancer + * ``oci nlb listener create --is-ppv2-enabled`` + * ``oci nlb listener update --is-ppv2-enabled`` + * Support for the Marketplace Private Offer Service + * ``oci marketplace-private-offer`` + * Support for new commands in Marketplace Publisher Service + * ``oci marketplace-publisher attachment`` + * ``oci marketplace-publisher offer`` + * OCI Email Service + * Support for Custom Return Path for Sent Emails in Email Delivery Service + * ``oci email email-return-path`` + * Support for new optional parameter --domain-verification-id in email domain + * ``oci email domain create --domain-verification-id`` + * ``oci email domain update --domain-verification-id`` + * Support for Session Resumption in Load Balancing service + * ``oci lb listener create --ssl-session-resumption`` + * ``oci lb listener update --ssl-session-resumption`` +- from version 3.40.2 + * OCI Virtual Cloud Network Service + * Support for new ip inventory and notification feature + * ``oci network ipam list-ip-inventory`` + * ``oci network ipam get-resource-ip-inventory`` + * ``oci network ipam get-subnet-cidr-utilization`` + * ``oci network ipam get-subnet-ip-inventory`` + * ``oci network ipam get-vcn-overlap`` + * OCI Load Balancer Service + * Support for accidental delete protection preventing deletion of a load-balancer + and its listeners or backends if they are configured to accept traffic + * ``oci lb load-balancer create --is-delete-protection-enabled`` + * ``oci lb load-balancer update --is-delete-protection-enabled`` + * Support for new optional parameter limiting the number of simultaneous + connections a load-balancer can make to its backends or listeners + * ``oci lb backend create --max-connections`` + * ``oci lb backend update --max-connections`` + * ``oci lb backend-set create --backend-max-connections`` + * ``oci lb backend-set update --backend-max-connections`` + * OCI Big Data Service + * Support for new optional parameter for os patching configs + * ``oci bds instance install-os-patch --patching-configs`` + * Support for new commands for os patching configs + * ``oci bds instance install-os-patch-batching-based-patching-configs`` + * ``oci bds instance install-os-patch-downtime-based-patching-configs`` + * OCI Disaster Recovery Cloud Service + * Support for user-defined pause group in disaster recovery plan + * ``oci disaster-recovery dr-plan update`` + * OCI Database Service + * Support for new optional parameter when creating/updating cloud vm clusters + * ``oci db cloud-vm-cluster create --file-system-configuration-details`` + * ``oci db cloud-vm-cluster update --file-system-configuration-details`` + * Upgraded the prompt-toolkit version to (>=3.0.38, <=3.0.43) for Python 3.7 and above +- from version 3.40.1 + * Database Service + * Support for enabling unified auditing for DBHome + * ``oci db db-home`` + * Support to create Grid Infrastructure type of custom software images + * ``oci db database-software-image create --display-name, --compartment-id, --image-type "grid_image"`` + * Support to list custom software images greater than a given patchSet version, + to find the images available for use in patching. + * ``oci db database-software-image list --compartment-id, --image-type, + --image-shape-family, --patch-set-greater-than-or-equal-to`` + * Support Cloud VM cluster in-place patching using custom Grid Infrastructure image + * ``oci db cloud-vm-cluster update --cloud-vm-cluster-id, --gi-image-id, --update-action`` + * Support VM cluster in-place patching using custom Grid Infrastructure image + * ``oci db vm-cluster update --vm-cluster-id, --gi-image-id, --update-action`` + * Oracle Database Autonomous Recovery Service + * Support for Cancel Protected Database + * ``oci recovery protected-database cancel-protected-database-deletion [options]`` + * Support for Schedule Protected Database + * ``oci recovery protected-database schedule-protected-database-deletion [options]`` + * Support for Network Security Group for RSS + * ``oci recovery recovery-subnet create --nsg-ids [options]`` + * ``oci recovery recovery-subnet update --nsg-ids [options]`` + * Data Catalog + * Support for lineage metadata import + * ``oci data-catalog data-asset import-lineage`` + * Database Management Service + * Support for monitoring ExaCC databases + * ``oci database-management managed-database enable-database-management-\ + feature-database-diagnostics-and-management-feature-details`` + * ``oci database-management managed-database enable-external-container-\ + database-management-feature-external-database-diagnostics-and-management-feature-details`` + * ``oci database-management managed-database enable-external-non-container-\ + database-management-feature-external-database-diagnostics-and-management-feature-details`` + * Data Safe Service + * Support for generate, list, get, delete and change compartment + for pre-masking check before actual masking + * ``oci data-safe masking-policy-health-report change-compartment + --compartment-id | -c, --masking-policy-health-report-id, -? | -h | --help`` + * ``oci data-safe masking-policy-health-report delete + --masking-policy-health-report-id, --force, -? | -h | --help`` + * ``oci data-safe masking-policy-health-report generate-health-report + --masking-policy-id, --check-type, --compartment-id | -c, --defined-tags, + --freeform-tags, -? | -h | --help, --tablespace, --target-id`` + * ``oci data-safe masking-policy-health-report get --masking-policy-health-report-id, -? | -h | --help`` + * ``oci data-safe masking-policy-health-report list --compartment-id | -c, + --access-level, --all, --compartment-id-in-subtree, --display-name, -? | -h | --help, + --masking-policy-health-report-id, --masking-policy-id, --target-id`` + * ``oci data-safe masking-policy-health-report list-masking-policy-health-report-logs + --masking-policy-health-report-id, --all, -? | -h | --help, --message-type`` + * Data Integration Service + * Support for workspace properties in create/update workspace + * ``oci data-integration workspace create`` + * ``oci data-integration workspace update`` +- from version 3.40.0 + * Support for the new Cluster Placement Groups service + * ``oci cpg`` + * Support for new optional parameter domainId in ApproverInfo while + managing ApprovalTemplate in Managed Access Service + * ``oci oma approval-template create --approver-levels`` + * ``oci oma approval-template update --approver-levels`` + * Cloud Guard And Security Zones Service + * New resource adhocquery + * ``oci cloud-guard adhoc-query create`` + * ``oci cloud-guard adhoc-query delete`` + * ``oci cloud-guard adhoc-query get`` + * ``oci cloud-guard adhoc-query list`` + * ``oci cloud-guard adhoc-query-result-collection get-adhoc-query-result-content`` + * ``oci cloud-guard adhoc-query-result-collection list-adhoc-query-results`` + * New resource savedQuery + * ``oci cloud-guard saved-query change-compartment`` + * ``oci cloud-guard saved-query create`` + * ``oci cloud-guard saved-query delete`` + * ``oci cloud-guard saved-query get`` + * ``oci cloud-guard saved-query list`` + * ``oci cloud-guard saved-query update`` + * Support for the new enum scheduledQuery for parameter feedprovider in data source resource + * ``oci cloud-guard data-source create-data-source-scheduled-query-data-source-obj-details`` + * ``oci cloud-guard data-source update-data-source-scheduled-query-data-source-obj-details`` + * Core Services + * Support for new optional parameters in the instance launch APIs + * ``oci compute instance launch --cluster-placement-group-id`` + * ``oci compute instance launch-instance-generic-bm-launch-instance-platform-config + --cluster-placement-group-id`` + * Support for assigning cluster placement group to boot volume creation in block storage. + * ``oci bv boot-volume create --cluster-placement-group-id`` + * Support for assigning cluster placement group to boot volume + creation from boot volume replica in block storage. + * ``oci bv boot-volume create-boot-volume-boot-volume-source-\ + from-boot-volume-replica-details --cluster-placement-group-id`` + * Support for assigning cluster placement group to block volume creation in block storage. + * ``oci bv volume create --cluster-placement-group-id`` + * Support for assigning cluster placement group to block volume + creation from block volume replica in block storage. + * ``oci bv volume create-volume-volume-source-from-block-\ + volume-replica-details --cluster-placement-group-id`` + * Support for listing volumes by cluster placement group in block storage. + * ``oci bv volume list --cluster-placement-group-id`` + * Support for assigning cluster placement group to volumes after restoring + from a volume group clone, backup, or replica in block storage. + * ``oci bv volume-group create --cluster-placement-group-id`` + * OS Management Hub Service + * Support for events + * ``oci os-management-hub event`` + * Support for installing windows updates for all instances in a compartment + * ``oci os-management-hub install-all-windows-updates-in-compartment`` + * Support for moving resources to different compartments + * ``oci os-management-hub lifecycle-environment change-compartment`` + * ``oci os-management-hub managed-instance-group change-compartment`` + * ``oci os-management-hub management-station change-compartment`` + * ``oci os-management-hub profile change-compartment`` + * ``oci os-management-hub scheduled-job change-compartment`` + * ``oci os-management-hub software-source change-compartment`` + * Support for new commands for managed instances + * ``oci os-management-hub managed-instance attach-profile`` + * ``oci os-management-hub managed-instance detach-profile`` + * ``oci os-management-hub managed-instance delete`` + * ``oci os-management-hub managed-instance install-windows-updates`` + * ``oci os-management-hub managed-instance list-available-windows-updates`` + * ``oci os-management-hub managed-instance list-installed-windows-updates`` + * Support for new commands for managed instance groups + * ``oci os-management-hub managed-instance-group install-windows-updates`` + * ``oci os-management-hub managed-instance-group switch-module-stream`` + * Support for new commands for management station + * ``oci os-management-hub management-station refresh-management-station-config`` + * Support for new commands for software sources + * ``oci os-management-hub software-source add-packages`` + * ``oci os-management-hub software-source get-software-package-by-name`` + * ``oci os-management-hub software-source list-all-software-packages`` + * ``oci os-management-hub software-source list-software-sources-with-package`` + * ``oci os-management-hub software-source replicate-vendor-swsrc`` + * ``oci os-management-hub software-source update-versioned-custom-swsrc`` + * Support for new commands for windows updates + * ``oci os-management-hub windows-update get`` + * ``oci os-management-hub windows-update list-windows-updates`` + * [BREAKING] OS Management Hub Service + * Optional parameter ``--vulnerability-type`` has now been made required in the following command + * ``oci os-management-hub managed-instance get-content`` + * Optional parameter ``--managed-instances`` has now been made required in the following commands + * ``oci os-management-hub managed-instance-group attach-managed-instances`` + * ``oci os-management-hub managed-instance-group detach-managed-instances`` + * Optional parameter ``--software-sources`` has now been made required in the following commands + * ``oci os-management-hub managed-instance-group attach-software-sources`` + * ``oci os-management-hub managed-instance-group detach-software-sources`` + * Optional parameter ``--module-name`` has now been made required in the following commands + * ``oci os-management-hub managed-instance-group disable-module-stream`` + * ``oci os-management-hub managed-instance-group enable-module-stream`` + * ``oci os-management-hub managed-instance-group install-module-profile`` + * Optional parameter ``--package-names`` has now been made required in the following commands + * ``oci os-management-hub managed-instance-group install-packages`` + * ``oci os-management-hub managed-instance-group remove-packages`` +- Refresh patches for new version + * oc_relax-python-depends.patch +- Update BuildRequires and Requires from setup.py + ------------------------------------------------------------------- Thu Apr 18 12:13:50 UTC 2024 - John Paul Adrian Glaubitz diff --git a/oci-cli.spec b/oci-cli.spec index a187713..3f751c8 100644 --- a/oci-cli.spec +++ b/oci-cli.spec @@ -36,7 +36,7 @@ %global _sitelibdir %{%{pythons}_sitelib} Name: oci-cli%{psuffix} -Version: 3.39.1 +Version: 3.40.3 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.125.3 +BuildRequires: %{pythons}-oci-sdk >= 2.126.3 BuildRequires: %{pythons}-pip BuildRequires: %{pythons}-pyOpenSSL >= 22.1.0 BuildRequires: %{pythons}-python-dateutil >= 2.5.3 @@ -95,8 +95,8 @@ 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.125.3 -Requires: %{pythons}-prompt_toolkit >= 3.0.29 +Requires: %{pythons}-oci-sdk >= 2.126.3 +Requires: %{pythons}-prompt_toolkit >= 3.0.38 Requires: %{pythons}-pyOpenSSL >= 22.1.0 Requires: %{pythons}-python-dateutil >= 2.5.3 Requires: %{pythons}-pytz >= 2016.10