Accepting request 910078 from Cloud:Tools

OBS-URL: https://build.opensuse.org/request/show/910078
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/oci-cli?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2021-08-04 20:28:48 +00:00 committed by Git OBS Bridge
commit 712f47ffb1
5 changed files with 148 additions and 29 deletions

View File

@ -1,7 +1,7 @@
diff -Nru oci-cli-2.25.4.orig/requirements.txt oci-cli-2.25.4/requirements.txt diff -Nru oci-cli-2.26.4.orig/requirements.txt oci-cli-2.26.4/requirements.txt
--- oci-cli-2.25.4.orig/requirements.txt 2021-06-22 23:53:53.000000000 +0200 --- oci-cli-2.26.4.orig/requirements.txt 2021-07-27 20:09:09.000000000 +0200
+++ oci-cli-2.25.4/requirements.txt 2021-06-29 11:03:08.743404407 +0200 +++ oci-cli-2.26.4/requirements.txt 2021-08-03 15:54:35.684471717 +0200
@@ -2,41 +2,41 @@ @@ -2,40 +2,39 @@
# (https://pip.pypa.io/en/stable/reference/pip_install/#requirements-file-format), # (https://pip.pypa.io/en/stable/reference/pip_install/#requirements-file-format),
# you may need to use the --extra-index-url option instead. # you may need to use the --extra-index-url option instead.
@ -20,7 +20,7 @@ diff -Nru oci-cli-2.25.4.orig/requirements.txt oci-cli-2.25.4/requirements.txt
-jmespath==0.10.0 -jmespath==0.10.0
-ndg-httpsclient==0.4.2 -ndg-httpsclient==0.4.2
-mock==2.0.0 -mock==2.0.0
-oci==2.40.1 -oci==2.43.1
-packaging==20.2 -packaging==20.2
-pluggy==0.13.0 -pluggy==0.13.0
-py==1.10.0 -py==1.10.0
@ -34,13 +34,12 @@ diff -Nru oci-cli-2.25.4.orig/requirements.txt oci-cli-2.25.4/requirements.txt
+click>=6.7 +click>=6.7
+configparser>=4.0.2 +configparser>=4.0.2
+coverage>=4.5.2 +coverage>=4.5.2
+cryptography>=3.3.2
+httpsig-cffi>=15.0.0 +httpsig-cffi>=15.0.0
+Jinja2>=2.11.3 +Jinja2>=2.11.3
+jmespath>=0.10.0 +jmespath>=0.10.0
+ndg-httpsclient>=0.4.2 +ndg-httpsclient>=0.4.2
+mock>=2.0.0 +mock>=2.0.0
+oci>=2.40.1 +oci>=2.43.1
+packaging>=20.2 +packaging>=20.2
+pluggy>=0.13.0 +pluggy>=0.13.0
+py>=1.10.0 +py>=1.10.0
@ -53,9 +52,7 @@ diff -Nru oci-cli-2.25.4.orig/requirements.txt oci-cli-2.25.4/requirements.txt
+python-dateutil>=2.5.3 +python-dateutil>=2.5.3
pytz>=2016.10 pytz>=2016.10
-requests==2.21.0 -requests==2.21.0
-retrying==1.3.3
+requests>=2.21.0 +requests>=2.21.0
+retrying>=1.3.3
setuptools<45 setuptools<45
-six==1.14.0 -six==1.14.0
-sphinx==1.6.4 -sphinx==1.6.4
@ -77,16 +74,16 @@ diff -Nru oci-cli-2.25.4.orig/requirements.txt oci-cli-2.25.4/requirements.txt
+pytest-xdist>=1.22.2 +pytest-xdist>=1.22.2
+pytest-forked>=1.0.2 +pytest-forked>=1.0.2
+PyYAML>=5.4 +PyYAML>=5.4
diff -Nru oci-cli-2.25.4.orig/setup.py oci-cli-2.25.4/setup.py diff -Nru oci-cli-2.26.4.orig/setup.py oci-cli-2.26.4/setup.py
--- oci-cli-2.25.4.orig/setup.py 2021-06-22 23:53:53.000000000 +0200 --- oci-cli-2.26.4.orig/setup.py 2021-07-27 20:09:09.000000000 +0200
+++ oci-cli-2.25.4/setup.py 2021-06-29 11:03:26.806320907 +0200 +++ oci-cli-2.26.4/setup.py 2021-08-03 15:55:02.220778206 +0200
@@ -30,24 +30,24 @@ @@ -30,23 +30,22 @@
readme = f.read() readme = f.read()
requires = [ requires = [
- 'oci==2.40.1', - 'oci==2.43.1',
- 'arrow==0.17.0', - 'arrow==0.17.0',
+ 'oci>=2.40.1', + 'oci>=2.43.1',
+ 'arrow>=0.17.0', + 'arrow>=0.17.0',
'certifi', 'certifi',
- 'click==6.7', - 'click==6.7',
@ -95,21 +92,17 @@ diff -Nru oci-cli-2.25.4.orig/setup.py oci-cli-2.25.4/setup.py
- 'jmespath==0.10.0', - 'jmespath==0.10.0',
- 'python-dateutil>=2.5.3,<3.0.0', - 'python-dateutil>=2.5.3,<3.0.0',
+ 'click>=6.7', + 'click>=6.7',
+ 'configparser>=4.0.2',
+ 'cryptography>=3.2.1', + 'cryptography>=3.2.1',
+ 'jmespath>=0.10.0', + 'jmespath>=0.10.0',
+ 'python-dateutil>=2.5.3', + 'python-dateutil>=2.5.3',
'pytz>=2016.10', 'pytz>=2016.10',
- 'retrying==1.3.3',
- 'six==1.14.0', - 'six==1.14.0',
- 'terminaltables==3.1.0', - 'terminaltables==3.1.0',
- 'pyOpenSSL==19.1.0', - 'pyOpenSSL==19.1.0',
- 'PyYAML>=5.4,<6'
+ 'retrying>=1.3.3',
+ 'six>=1.14.0', + 'six>=1.14.0',
+ 'terminaltables>=3.1.0', + 'terminaltables>=3.1.0',
+ 'pyOpenSSL>=19.1.0', + 'pyOpenSSL>=19.1.0',
+ 'PyYAML>=5.4' 'PyYAML>=5.4,<6'
] ]
extras = { extras = {

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e0c3863528938ea856404fab217861de953b181b5db00cc69dab15e9f163c2c8
size 1793538

3
oci-cli-2.26.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cfae43864a75f6b69130fffdbbb5aea8fe7dfaf2c069a02eee30320697a9477b
size 1870156

View File

@ -1,3 +1,131 @@
-------------------------------------------------------------------
Tue Aug 3 15:33:40 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 2.26.4
* Support for filtering by tag on capacity planning and SQL warehouse
list operations in the Operations Insights service
* Parameters ``defined-tag-equals``, ``freeform-tag-equals``, ``defined-tag-exists``,
``freeform-tag-exists`` are added for some commands under ``oci opsi database-insights``
* Support for creating cross-region autonomous data guards in the Database service
* ``oci db autonomous-database create-cross-region-data-guard``
* ``oci db autonomous-database fail-over --peer-db-id``
* ``oci db autonomous-database switchover --peer-db-id``
* ``oci db autonomous-database update --peer-db-id``
* Support for the customer contacts feature on cloud exadata infrastructure
in the Database service
* ``oci db cloud-exa-infra create --customer-contacts``
* ``oci db cloud-exa-infra update --customer-contacts``
* Support for cost analysis custom tables in the Usage service
* ``oci usage-api custom-table``
* Support non-default config file locations for ``oci session validate``
and ``oci session terminate``
* Support to add passphrase for session authentication (``oci session authenticate``)
- from version 2.26.3
* Support for empty and dry-run options while deleting buckets in Object Storage service
* ``oci os bucket delete --empty --dry-run``
* ``oci os bucket delete --empty``
* Support for schedules and tasks in Data Integration service
* ``oci data-integration schedule``
* ``oci data-integration task``
* Database service
* Support for getting available updates and updating histories for a VM cluster
* ``oci db vm-cluster get-update --update-id <Update OCID> --vm-cluster-id <VM Cluster OCID>``
* ``oci db vm-cluster list-updates --vm-cluster-id <VM Cluster OCID>
--update-type <GI_PATCH/GI_UPGRADE/OS_UPDATE>``
* ``oci db vm-cluster get-update-history --update-history-entry-id <UpdateHistory OCID>
--vm-cluster-id <VM Cluster OCID>``
* ``oci db vm-cluster list-update-histories --vm-cluster-id <VM Cluster OCID>
--update-type <GI_PATCH/GI_UPGRADE/OS_UPDATE>``
* Support for updating dataguard
* ``oci db data-guard-association update``
* Support for downloading network validation report file for VM Cluster Networks
* ``oci db vm-cluster-network download-validation-report --exadata-infrastructure-id,
--file, --vm-cluster-network-id``
* Support patch and upgrade of Grid Infrastructure (GI) and update of
DomU OS software for a VM cluster
* ``oci db vm-cluster update --update-id <Update OCID>
--update-action <PRECHECK/ROLLING_APPLY/ROLLBACK>``
- from version 2.26.2
* Support for AI Anomaly Detection service
* ``oci anomaly-detection``
* Support for retrieving a DNS zone as a zone file in DNS service
* ``oci dns zone get-zone-content --file``
* Support for Search domain type for DHCP options to support multi-level
search domain in Network Service.
* ``oci network dhcp-options create --domain-name-type``
* ``oci network dhcp-options update --domain-name-type``
* Support for searching Marketplace Listings
* ``oci marketplace listing-summary search-listings``
* ``oci marketplace listing-summary search-listings-free-text``
* ``oci marketplace listing-summary search-listings-structured``
* Parameter --availability-domain is now optional in create VLAN in Network service.
* ``oci network vlan create--availability-domain``
- from version 2.26.1
* Support for Order Activation features in the Organizations Service
* oci organizations order activate
* oci organizations order get
* Support new OCE instance license type - Starter Edition in the OCE service.
The new license type is: STARTER
* ``oci oce oce-instance create --instance-license-type STARTER``
* ``oci oce oce-instance update --instance-license-type STARTER``
* Expanded DRG functionality in the Networking Service
* More than one VCN can be attached to a DRG
* Flexible routing inside DRG enables packet flow between any two attachments
* Routing policy to customize dynamic import/export of routes
* Operations Insights
* Support for resource principal authorization for enterprise manager bridge resource
* New lifecycle state "NEEDS_ATTENTION" to indicate issues with the bridge resource,
and new field "objectStorageBucketStatusDetails" to provide detail
* ``oci opsi host-insights list --lifecycle-state NEEDS_ATTENTION``
* ``oci opsi enterprise-manager-bridges list --lifecycle-state NEEDS_ATTENTION``
* ``oci opsi database-insights list --lifecycle-state NEEDS_ATTENTION``
* Changed ``oci setup autocomplete`` to create a symlink pointing to current
CLI version oci_autocomplete.sh script
* Issue with environment based config throwing ``FileNotFoundError:`` for a non-required config
- from version 2.26.0 - 2021-06-29
* Support for passing in private key content as a environment variable. A private key file
is not required if this variable is set
* Export ``OCI_CLI_KEY_CONTENT`` with the private key content enclosed with single quotes
* Support for the DevOps service
* ``oci devops``
* Support for configuring network security groups for node pools in the container
engine for Kubernetes service
* ``oci ce node-pool create --nsg-ids``
* ``oci ce node-pool update --nsg-ids``
* Support for optionally specifying CPU core count and data storage size when creating
autonomous databases in the Database service
* ``oci db autonomous-database create --data-storage-size-in-gbs``
* Support for metastore and initial data asset import/export in the Data Catalog service
* ``oci data-catalog metastore``
* ``oci data-catalog data-asset import``
* ``oci data-catalog data-asset synchronous-export``
* [Breaking] ``DISPLAYNAME`` removed from --sort-by option
* Support for Email Domain in the Email Delivery service
* ``oci email domain change-compartment --compartment-id --email-domain-id``
* ``oci email domain create --compartment-id --name``
* ``oci email domain delete --email-domain-id``
* ``oci email domain get --email-domain-id``
* ``oci email domain list --compartment-id``
* ``oci email domain update --email-domain-id``
* Support for Domain Key Identified Mail in the Email Delivery service
* ``oci email dkim create --email-domain-id``
* ``oci email dkim delete --dkim-id``
* ``oci email dkim get --dkim-id``
* ``oci email dkim list --email-domain-id``
* ``oci email dkim update --dkim-id``
* Support for new API to list work requests for Email Domain and DKIM
in the Email Delivery service
* ``oci email work-request get --work-request-id``
* ``oci email work-request list --compartment-id``
* ``oci email work-request-error-collection list --work-request-id``
* ``oci email work-request-log list --work-request-id``
* Support for ``--domain`` field in the response for ``oci email sender``
in the Email Delivery service
* Support for changing the number of retries for a CLI command (``--max-retries``)
- Refresh patches for new version
+ oc_relax-python-depends.patch
- Update BuildRequires and Requires from setup.py
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jun 29 10:38:35 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Tue Jun 29 10:38:35 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -1,5 +1,5 @@
# #
# spec file for package oci-cli # spec file
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
@ -28,7 +28,7 @@
%bcond_with test %bcond_with test
%endif %endif
Name: oci-cli%{psuffix} Name: oci-cli%{psuffix}
Version: 2.25.4 Version: 2.26.4
Release: 0 Release: 0
Summary: Oracle Cloud Infrastructure CLI Summary: Oracle Cloud Infrastructure CLI
License: Apache-2.0 License: Apache-2.0
@ -47,11 +47,10 @@ BuildRequires: python3-click >= 6.7
BuildRequires: python3-cryptography >= 3.2.1 BuildRequires: python3-cryptography >= 3.2.1
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-jmespath >= 0.9.4 BuildRequires: python3-jmespath >= 0.9.4
BuildRequires: python3-oci-sdk >= 2.40.1 BuildRequires: python3-oci-sdk >= 2.43.1
BuildRequires: python3-pyOpenSSL >= 18.0.0 BuildRequires: python3-pyOpenSSL >= 18.0.0
BuildRequires: python3-python-dateutil >= 2.5.3 BuildRequires: python3-python-dateutil >= 2.5.3
BuildRequires: python3-pytz >= 2016.10 BuildRequires: python3-pytz >= 2016.10
BuildRequires: python3-retrying >= 1.3.3
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-six >= 1.14.0 BuildRequires: python3-six >= 1.14.0
BuildRequires: python3-terminaltables >= 3.1.0 BuildRequires: python3-terminaltables >= 3.1.0
@ -85,11 +84,10 @@ Requires: python3-certifi
Requires: python3-click >= 6.7 Requires: python3-click >= 6.7
Requires: python3-cryptography >= 3.2.1 Requires: python3-cryptography >= 3.2.1
Requires: python3-jmespath >= 0.10.0 Requires: python3-jmespath >= 0.10.0
Requires: python3-oci-sdk >= 2.40.1 Requires: python3-oci-sdk >= 2.43.1
Requires: python3-pyOpenSSL >= 18.0.0 Requires: python3-pyOpenSSL >= 18.0.0
Requires: python3-python-dateutil >= 2.5.3 Requires: python3-python-dateutil >= 2.5.3
Requires: python3-pytz >= 2016.10 Requires: python3-pytz >= 2016.10
Requires: python3-retrying >= 1.3.3
Requires: python3-six >= 1.14.0 Requires: python3-six >= 1.14.0
Requires: python3-terminaltables >= 3.1.0 Requires: python3-terminaltables >= 3.1.0