diff --git a/oc_relax-python-depends.patch b/oc_relax-python-depends.patch index b4268f3..a72f688 100644 --- a/oc_relax-python-depends.patch +++ b/oc_relax-python-depends.patch @@ -1,27 +1,27 @@ -diff -Nru oci-cli-2.9.1.orig/requirements.txt oci-cli-2.9.1/requirements.txt ---- oci-cli-2.9.1.orig/requirements.txt 2020-02-04 22:18:09.000000000 +0100 -+++ oci-cli-2.9.1/requirements.txt 2020-02-09 21:26:37.720138322 +0100 +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 @@ -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.10.0 +-arrow==0.15.5 +appdirs>=1.4.3 -+arrow>=0.10.0 ++arrow>=0.15.5 certifi cffi>=1.9.1 -click==6.7 -configparser==3.5.0 --coverage==4.5.1 +-coverage==4.5.2 -cryptography==2.8 -httpsig-cffi==15.0.0 -idna>=2.5,<2.7 -Jinja2==2.10.1 --jmespath==0.9.3 +-jmespath==0.9.4 -ndg-httpsclient==0.4.2 -mock==2.0.0 --oci==2.10.3 +-oci==2.11.0 -packaging==16.8 -pluggy==0.4.0 -py==1.4.33 @@ -31,31 +31,18 @@ diff -Nru oci-cli-2.9.1.orig/requirements.txt oci-cli-2.9.1/requirements.txt -pyparsing==2.2.0 -pytest==3.2.3 -pytest-cov==2.5.1 --python-dateutil==2.7.3 --pytz==2016.10 --requests==2.21.0 --retrying==1.3.3 --six==1.11.0 --sphinx==1.6.4 --sphinx-rtd-theme==0.2.5b1 --terminaltables==3.1.0 --tox==2.9.1 --vcrpy==1.13.0 --virtualenv==15.1.0 --pytest-xdist==1.22.2 --pytest-forked==1.0.2 --PyYAML==5.1.2 +-python-dateutil>=2.5.3,<3.0.0 +click>=6.7 +configparser>=3.5.0 -+coverage>=4.5.1 ++coverage>=4.5.2 +cryptography>=2.8 +httpsig-cffi>=15.0.0 +idna>=2.5 +Jinja2>=2.10.1 -+jmespath>=0.9.3 ++jmespath>=0.9.4 +ndg-httpsclient>=0.4.2 +mock>=2.0.0 -+oci>=2.10.3 ++oci>=2.11.0 +packaging>=16.8 +pluggy>=0.4.0 +py>=1.4.33 @@ -65,11 +52,23 @@ diff -Nru oci-cli-2.9.1.orig/requirements.txt oci-cli-2.9.1/requirements.txt +pyparsing>=2.2.0 +pytest>=3.2.3 +pytest-cov>=2.5.1 -+python-dateutil>=2.7.3 -+pytz>=2016.10 ++python-dateutil>=2.5.3 + pytz>=2016.10 +-requests==2.21.0 +-retrying==1.3.3 +-six==1.14.0 +-sphinx==1.6.4 +-sphinx-rtd-theme==0.2.5b1 +-terminaltables==3.1.0 +-tox==2.9.1 +-vcrpy==1.13.0 +-virtualenv==15.1.0 +-pytest-xdist==1.22.2 +-pytest-forked==1.0.2 +-PyYAML==5.1.2 +requests>=2.21.0 +retrying>=1.3.3 -+six>=1.11.0 ++six>=1.14.0 +sphinx>=1.6.4 +sphinx-rtd-theme>=0.2.5b1 +terminaltables>=3.1.0 @@ -79,38 +78,37 @@ diff -Nru oci-cli-2.9.1.orig/requirements.txt oci-cli-2.9.1/requirements.txt +pytest-xdist>=1.22.2 +pytest-forked>=1.0.2 +PyYAML>=5.1.2 -diff -Nru oci-cli-2.9.1.orig/setup.py oci-cli-2.9.1/setup.py ---- oci-cli-2.9.1.orig/setup.py 2020-02-04 22:18:09.000000000 +0100 -+++ oci-cli-2.9.1/setup.py 2020-02-09 21:27:01.619361121 +0100 +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 @@ -29,25 +29,25 @@ readme = f.read() requires = [ -- 'oci==2.10.3', -- 'arrow==0.10.0', -+ 'oci>=2.10.3', -+ 'arrow>=0.10.0', +- 'oci==2.11.0', +- 'arrow==0.14.7', ++ 'oci>=2.11.0', ++ 'arrow>=0.14.7', 'certifi', - 'click==6.7', - 'configparser==3.5.0', - 'cryptography==2.8', -- 'jmespath==0.9.3', -- 'python-dateutil==2.7.3', -- 'pytz==2016.10', +- 'jmespath==0.9.4', +- 'python-dateutil>=2.5.3,<3.0.0', ++ 'click>=6.7', ++ 'configparser>=3.5.0', ++ 'cryptography>=2.8', ++ 'jmespath>=0.9.4', ++ 'python-dateutil>=2.5.3', + 'pytz>=2016.10', - 'retrying==1.3.3', -- 'six==1.11.0', +- 'six==1.14.0', - 'terminaltables==3.1.0', - 'idna>=2.5,<2.7', - 'pyOpenSSL==18.0.0', - 'PyYAML==5.1.2' -+ 'click>=6.7', -+ 'configparser>=3.5.0', -+ 'cryptography>=2.8', -+ 'jmespath>=0.9.3', -+ 'python-dateutil>=2.7.3', -+ 'pytz>=2016.10', + 'retrying>=1.3.3', -+ 'six>=1.11.0', ++ 'six>=1.14.0', + 'terminaltables>=3.1.0', + 'idna>=2.5', + 'pyOpenSSL>=18.0.0', diff --git a/oci-cli.changes b/oci-cli.changes index 169cf6e..645f54f 100644 --- a/oci-cli.changes +++ b/oci-cli.changes @@ -1,3 +1,81 @@ +------------------------------------------------------------------- +Mon Mar 16 15:09:02 UTC 2020 - John Paul Adrian Glaubitz + +- Update to version 2.9.6 + + New option for load balancer listener create/update. + * ``oci lb listener create --connection-configuration-backend-tcp-proxy-protocol-version`` + * ``oci lb listener update --connection-configuration-backend-tcp-proxy-protocol-version`` + + COMMON_ISSUES.rst file: includes common user installation issues and how to fix them. + + Bulk VNIC Data Fetch by compartment-id. + * ``--instance-id`` is optional for ``oci compute instance list-vnics --compartment-id`` + + Creating a budgets alert rule. + * ``--recipients`` is optional for ``oci budgets alert-rule create`` + + Improved Installation experience by checking if Curl and Python are + working in the system before using them. +- from version 2.9.5 + + Support for updating the shape of a Database System in the Database service + * ``oci db system update --shape`` + + Support for generating CPE Configuration for customer to download in the Networking service + * ``oci network cpe get-cpe-device-config-content`` + * ``oci network cpe-device-shape list`` + * ``oci network cpe-device-shape-detail get-cpe-device-shape`` + * ``oci network tunnel-cpe-device-config`` + * ``oci network cpe create --cpe-device-shape-id`` + * ``oci network cpe update --cpe-device-shape-id`` + * ``oci network ip-sec-connection get-ipsec-cpe-device-config-content`` + + Private IP and Fault Domain for Kubernetes cluster nodes in the NodePool response + + Support for calling Oracle Cloud Infrastructure services in the Montreal + region (``--region ca-montreal-1``) + + The following for the Data Transfer service + * Notifications setup + - ``oci dts job create`` has a new option called ``--setup-notificaitons`` + - ``oci dts appliance request`` has a new option called ``--setup-notificaitons`` + * Bug fixes in ``oci dts export configure-physical-appliance`` + * Prevent archive buckets for DTS export + + Upgraded dependencies for arrow, jmespath, python-dateutil, pytz, six. + + Bug found in DB system patch command for Database Service. + (`Issue 223 `__) + * ``oci db system patch`` +- from version 2.9.4 + + Support for OAuth 2.0 Client Credentials features as a part of the Identity User Service + * ``oci iam user oauth2-credential create | delete | list | update`` + * ``oci iam user update-user-capabilities --can-use-o-auth2-client-credentials`` + + Support for Private Endpoint Database service for Autonomous Databases + * ``oci db autonomous-database create | create-from-backup-id | create-from-backup-timestamp + | create-from-clone --nsg-ids --private-endpoint-label --subnet-id`` + * ``oci db autonomous-database update --nsg-ids`` + + Support for restarting autonomous Database as part of Database service + * ``oci db autonomous-database restart`` + + Support for Identity IP Based Policy feature + * ``oci iam network-sources create | delete | get | list | update`` + + Support for Functions as a subscription of the Notifications service + * ``oci ons subscription create --protocol ORACLE_FUNCTIONS`` +- from version 2.9.3 + + Support for Oracle NoSQL Database Cloud (``nosql``) + * ``oci nosql`` + + List Db version by storage management type. + * ``oci db version list --storage-management`` + + Added instance type param for create operation to specify whether instance + will be primary or non-primary. + * ``oci oce oce-instance create --instance-usage-type`` + + The `isEnabled` flag is returned for the Actions that are added to a Rule resource + * ``oci events rule`` +- from version 2.9.2 + + Installer now uses Python3 venv if installed instead of downloading Virtualenv + + Support for list Database versions command for Autonomous Database Serverless. + * ``oci db autonomous-db-version list`` + + Support for ``--db-version`` when provisioning Autonomous Database Serverless. + * ``oci db autonomous-database create --db-version`` + * ``oci db autonomous-database create-from-clone --db-version`` + * ``oci db autonomous-database create-from-backup-id --db-version`` + * ``oci db autonomous-database create-from-backup-timestamp --db-version`` + * ``oci db autonomous-database list --db-version`` + + Compute Volume Attachment list now can get compartment-id by instance-id. + * ``oci compute volume-attachment list --compartment-id (required to optional)`` +- Refresh patches for new version + + oc_relax-python-depends.patch +- Update BuildRequires and Requires from setup.py + ------------------------------------------------------------------- Sun Feb 9 20:43:38 UTC 2020 - John Paul Adrian Glaubitz diff --git a/oci-cli.spec b/oci-cli.spec index 6bc8cb7..5ae5749 100644 --- a/oci-cli.spec +++ b/oci-cli.spec @@ -25,7 +25,7 @@ %bcond_with test %endif Name: oci-cli -Version: 2.9.1 +Version: 2.9.6 Release: 0 Summary: Oracle Cloud Infrastructure CLI License: Apache-2.0 @@ -37,28 +37,28 @@ Patch1: oc_name-defaults_file-parameter.patch BuildRequires: fdupes BuildRequires: python3-PyJWT BuildRequires: python3-PyYAML >= 5.1.2 -BuildRequires: python3-arrow >= 0.10.0 +BuildRequires: python3-arrow >= 0.15.5 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.3 -BuildRequires: python3-oci-sdk >= 2.10.3 +BuildRequires: python3-jmespath >= 0.9.4 +BuildRequires: python3-oci-sdk >= 2.11.0 BuildRequires: python3-pyOpenSSL >= 18.0.0 -BuildRequires: python3-python-dateutil >= 2.7.3 +BuildRequires: python3-python-dateutil >= 2.5.3 BuildRequires: python3-pytz >= 2016.10 BuildRequires: python3-retrying >= 1.3.3 BuildRequires: python3-setuptools -BuildRequires: python3-six >= 1.11.0 +BuildRequires: python3-six >= 1.14.0 BuildRequires: python3-terminaltables >= 3.1.0 %if %{with test} BuildRequires: python3-Jinja2 >= 2.10.1 BuildRequires: python3-Sphinx >= 1.6.4 BuildRequires: python3-appdirs >= 1.4.3 BuildRequires: python3-cffi >= 1.9.1 -BuildRequires: python3-coverage >= 4.5.1 +BuildRequires: python3-coverage >= 4.5.2 BuildRequires: python3-httpsig_cffi >= 15.0.0 BuildRequires: python3-mock >= 2.0.0 BuildRequires: python3-ndg-httpsclient >= 0.4.2 @@ -79,20 +79,20 @@ BuildRequires: python3-vcrpy >= 1.13.0 BuildRequires: python3-virtualenv >= 15.1.0 %endif Requires: python3-PyYAML >= 5.1.2 -Requires: python3-arrow >= 0.10.0 +Requires: python3-arrow >= 0.15.5 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.3 -Requires: python3-oci-sdk >= 2.10.3 +Requires: python3-jmespath >= 0.9.4 +Requires: python3-oci-sdk >= 2.11.0 Requires: python3-pyOpenSSL >= 18.0.0 -Requires: python3-python-dateutil >= 2.7.3 +Requires: python3-python-dateutil >= 2.5.3 Requires: python3-pytz >= 2016.10 Requires: python3-retrying >= 1.3.3 -Requires: python3-six >= 1.11.0 +Requires: python3-six >= 1.14.0 Requires: python3-terminaltables >= 3.1.0 BuildArch: noarch diff --git a/v2.9.1.tar.gz b/v2.9.1.tar.gz deleted file mode 100644 index 148c823..0000000 --- a/v2.9.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9e28eba206733ecdc3c274aca0a0212f73297b280ec2bb88874f6bc414bfc52f -size 988142 diff --git a/v2.9.6.tar.gz b/v2.9.6.tar.gz new file mode 100644 index 0000000..db6eb00 --- /dev/null +++ b/v2.9.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cee386b67a3ca1a528126b6c9eeec62a00392b45f57f96c8c3905c40c2ecfaf6 +size 1010418