From a08c1879a8434daf161bdd5d8afb87410fd9e6c27325398296f61949a2ff06e1 Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Tue, 29 Jun 2021 08:12:58 +0000 Subject: [PATCH] Accepting request 902845 from home:glaubitz:branches:devel:languages:python - Update to version 2.40.1 * Support for virtual machine and bare metal pluggable databases in the Database service * Changed allowed versions of cryptography package to a range, starting from from 3.2.1 up to 3.4.7 - from version 2.40.0 * Support for elastic storage on Exadata Infrastructure resources for Cloud at Customer in the Database service * Support for registration and management of target databases in the Data Safe service * Support for config on metadata in the Management Dashboard service * Support for a new work request operation type for node pool reconciliation events in the Container Engine for Kubernetes service * Support for migrating clusters with a public Kubernetes API endpoint which are not integrated with a customer's VCN to a VCN-native cluster in the Container Engine for Kubernetes service * Support for getting the spark version of applications, and filtering applications by spark version, in the Data Flow service * The properties `freeform_tags` and `defined_tags` were removed from the ManagementDashboardExportDetails model in the Management Dashboard service - from version 2.39.1 * Support for Java Management service * Support for resource principals for the Enterprise Manager bridge resource in Operations Insights service * Support for encryptionInTransitType in BootVolumeAttachment and IScsiVolumeAttachment in Core service * Support for updating iscsiLoginState for VolumeAttachment in Core service * Support for a new type of Source called Import for use with the Export tool in Application Migration service * Fixed a bug where requests were not retried for a specific case of Upload Manager uploading a file with multipart disabled and callback provided - Refresh patches for new version + ops_relax-python-depends.patch - Update BuildRequires and Requires from setup.py OBS-URL: https://build.opensuse.org/request/show/902845 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=32 --- oci-python-sdk-2.39.0.tar.gz | 3 -- oci-python-sdk-2.40.1.tar.gz | 3 ++ ops_relax-python-depends.patch | 55 +++++++++++------------ python-oci-sdk.changes | 80 ++++++++++++++++++++++++++-------- python-oci-sdk.spec | 6 +-- 5 files changed, 96 insertions(+), 51 deletions(-) delete mode 100644 oci-python-sdk-2.39.0.tar.gz create mode 100644 oci-python-sdk-2.40.1.tar.gz diff --git a/oci-python-sdk-2.39.0.tar.gz b/oci-python-sdk-2.39.0.tar.gz deleted file mode 100644 index 2756d11..0000000 --- a/oci-python-sdk-2.39.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:931ec7a64974475e8415df01c4b1e9936d116f7cd5fdc5d86fbe6c5e173051d2 -size 10527257 diff --git a/oci-python-sdk-2.40.1.tar.gz b/oci-python-sdk-2.40.1.tar.gz new file mode 100644 index 0000000..179a4bc --- /dev/null +++ b/oci-python-sdk-2.40.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e49eb27c5976f3131668b663d88be56bedf1b6448dbdbd9916352b46cd301ee1 +size 10595032 diff --git a/ops_relax-python-depends.patch b/ops_relax-python-depends.patch index 15d104b..5dfa59d 100644 --- a/ops_relax-python-depends.patch +++ b/ops_relax-python-depends.patch @@ -1,28 +1,27 @@ -diff -Nur oci-python-sdk-2.39.0/requirements.txt new/requirements.txt ---- oci-python-sdk-2.39.0/requirements.txt 2021-06-01 19:27:09.000000000 +0200 -+++ new/requirements.txt 2021-06-03 03:01:39.481999075 +0200 +diff -Nru oci-python-sdk-2.40.1.orig/requirements.txt oci-python-sdk-2.40.1/requirements.txt +--- oci-python-sdk-2.40.1.orig/requirements.txt 2021-06-22 21:12:42.000000000 +0200 ++++ oci-python-sdk-2.40.1/requirements.txt 2021-06-28 15:11:30.579505642 +0200 @@ -1,18 +1,18 @@ -autodocsumm==0.1.11 -+autodocsumm~=0.1.11 ++autodocsumm>=0.1.11 certifi -configparser==4.0.2 -coverage==4.5.2 --cryptography==3.3.2 ++configparser>=4.0.2 ++coverage>=4.5.2 + cryptography>=3.2.1,<=3.4.7 -flake8==3.6.0 -mock==2.0.0 -pyOpenSSL==19.1.0 -pytest==4.1.0 -pytest-cov==2.6.1 -attrs==19.1.0 -+configparser~=4.0.2 -+coverage~=4.5.2 -+cryptography~=3.3.2 -+flake8~=3.6.0 -+mock~=2.0.0 -+pyOpenSSL~=19.1.0 -+pytest~=4.1.0 -+pytest-cov~=2.6.1 -+attrs~=19.1.0 ++flake8>=3.6.0 ++mock>=2.0.0 ++pyOpenSSL>=19.1.0 ++pytest>=4.1.0 ++pytest-cov>=2.6.1 ++attrs>=19.1.0 python-dateutil>=2.5.3,<=2.7.3 pytz>=2016.10 -sphinx-rtd-theme==0.4.2 @@ -30,22 +29,24 @@ diff -Nur oci-python-sdk-2.39.0/requirements.txt new/requirements.txt -tox==3.14.3 -vcrpy==2.0.1 -wheel==0.32.3 -+sphinx-rtd-theme~=0.4.2 -+sphinx~=1.8.3 -+tox~=3.14.3 -+vcrpy~=2.0.1 -+wheel~=0.32.3 -diff -Nur oci-python-sdk-2.39.0/setup.py new/setup.py ---- oci-python-sdk-2.39.0/setup.py 2021-06-01 19:27:09.000000000 +0200 -+++ new/setup.py 2021-06-03 03:01:39.481999075 +0200 -@@ -31,8 +31,8 @@ ++sphinx-rtd-theme>=0.4.2 ++sphinx>=1.8.3 ++tox>=3.14.3 ++vcrpy>=2.0.1 ++wheel>=0.32.3 +diff -Nru oci-python-sdk-2.40.1.orig/setup.py oci-python-sdk-2.40.1/setup.py +--- oci-python-sdk-2.40.1.orig/setup.py 2021-06-22 21:12:42.000000000 +0200 ++++ oci-python-sdk-2.40.1/setup.py 2021-06-28 15:11:12.030895437 +0200 +@@ -31,9 +31,9 @@ requires = [ "certifi", - "configparser==4.0.2", -- "cryptography==3.3.2", -+ "configparser~=4.0.2", -+ "cryptography~=3.3.2", - "pyOpenSSL>=17.5.0,<=19.1.0", +- "cryptography>=3.2.1,<=3.4.7", +- "pyOpenSSL>=17.5.0,<=19.1.0", ++ "configparser>=4.0.2", ++ "cryptography>=3.2.1", ++ "pyOpenSSL>=17.5.0", "python-dateutil>=2.5.3,<3.0.0", "pytz>=2016.10", + ] diff --git a/python-oci-sdk.changes b/python-oci-sdk.changes index 66be191..9c35211 100644 --- a/python-oci-sdk.changes +++ b/python-oci-sdk.changes @@ -1,30 +1,74 @@ +------------------------------------------------------------------- +Mon Jun 28 13:44:55 UTC 2021 - John Paul Adrian Glaubitz + +- Update to version 2.40.1 + * Support for virtual machine and bare metal pluggable databases in the Database service + * Changed allowed versions of cryptography package to a range, starting from from 3.2.1 up to 3.4.7 +- from version 2.40.0 + * Support for elastic storage on Exadata Infrastructure resources for Cloud at Customer in the Database service + * Support for registration and management of target databases in the Data Safe service + * Support for config on metadata in the Management Dashboard service + * Support for a new work request operation type for node pool reconciliation events + in the Container Engine for Kubernetes service + * Support for migrating clusters with a public Kubernetes API endpoint which are not integrated with + a customer's VCN to a VCN-native cluster in the Container Engine for Kubernetes service + * Support for getting the spark version of applications, and filtering applications + by spark version, in the Data Flow service + * The properties `freeform_tags` and `defined_tags` were removed from the ManagementDashboardExportDetails + model in the Management Dashboard service +- from version 2.39.1 + * Support for Java Management service + * Support for resource principals for the Enterprise Manager bridge resource in Operations Insights service + * Support for encryptionInTransitType in BootVolumeAttachment and IScsiVolumeAttachment in Core service + * Support for updating iscsiLoginState for VolumeAttachment in Core service + * Support for a new type of Source called Import for use with the Export tool in Application Migration service + * Fixed a bug where requests were not retried for a specific case of Upload Manager + uploading a file with multipart disabled and callback provided +- Refresh patches for new version + + ops_relax-python-depends.patch +- Update BuildRequires and Requires from setup.py + ------------------------------------------------------------------- Thu Jun 3 00:59:57 UTC 2021 - Ferdinand Thiessen - Update to version 2.39.0 - * Support for configuration of autonomous database KMS keys in the - Database service - * Support for creating database software images with any supported - RUs in the Database service - * Support for creating database software images from an existing - database home in the Database service - * Support for listing all NSGs associated with a given VLAN in the - Networking service - * Support for a duration windows, task failure reasons, and next - execution times on scheduled tasks in the Logging Analytics service - * Support for calling Oracle Cloud Infrastructure services in the - sa-vinhedo-1 region - * compartment_id is now optional in operation - list_network_security_groups in the Networking service -- Refresh ops_relax-python-depends.patch + * Support for configuration of autonomous database KMS keys in the Database service + * Support for creating database software images with any supported RUs in the Database service + * Support for creating database software images from an existing database home in the Database service + * Support for listing all NSGs associated with a given VLAN in the Networking service + * Support for a duration windows, task failure reasons, and next execution times + on scheduled tasks in the Logging Analytics service + * Support for calling Oracle Cloud Infrastructure services in the sa-vinhedo-1 region + * `compartment_id` is now optional in operation `list_network_security_groups` in the Networking service +- from version 2.39.4 + * Support for the Generic Artifacts service + * Support for the Bastion service + * Support for reading secrets by name in the Vault service + * Support for the isDynamic field when listing definitions in the Limits service + * Support for getting billable image sizes in the Compute service + * Support for getting Automatic Workload Repository (AWR) data on external + databases in the Database Management service + * Support for the VM.Standard.E3.Flex flexible compute shape with customizable OCPUs + and memory on notebooks in the Data Science service + * Support for container images and generic artifacts billing in the Registry service + * Support for the HCX Enterprise add-on in the VMware Solution service + * Support for the Expect HTTP header. Expect headers are added by default for all PUT/POST operations +- Refresh patches for new version + * ops_relax-python-depends.patch +- Use find command to search for Python sources for sed regexp-replace ------------------------------------------------------------------- Thu May 20 16:33:40 UTC 2021 - Ferdinand Thiessen - Update to version 2.38.3 - * Support for spark-submit compatible options in the Data Flow service - * Support for Object Storage as a configuration source in the - Resource Manager service + * Support for creating notebook sessions with larger block volumes in the Data Science service + * Support for database maintenance run patch modes in the Database service + * Fixed a bug where `timeout=None` was not respected when passed to clients. The older versions + of the SDK still use the default connection timeout(10s) and read timeout(60s) when initialized + with `timeout=None` + * Improvement in the performance of Upload Manager for parallel uploads. This is achieved by + overriding the default read size of Python HTTP client from 8192 bytes to 64 kb. +- Switch Source URL to use %{url} macro ------------------------------------------------------------------- Fri May 14 10:13:53 UTC 2021 - John Paul Adrian Glaubitz diff --git a/python-oci-sdk.spec b/python-oci-sdk.spec index 8388b57..977db29 100644 --- a/python-oci-sdk.spec +++ b/python-oci-sdk.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-oci-sdk -Version: 2.39.0 +Version: 2.40.1 Release: 0 Summary: Oracle Cloud Infrastructure Python SDK License: Apache-2.0 OR UPL-1.0 @@ -34,7 +34,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-PyJWT Requires: python-certifi -Requires: python-cryptography >= 3.3.2 +Requires: python-cryptography >= 3.2.1 Requires: python-httpsig_cffi Requires: python-pyOpenSSL >= 19.1.0 Requires: python-python-dateutil < 3.0.0 @@ -46,7 +46,7 @@ BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module PyJWT} BuildRequires: %{python_module certifi} -BuildRequires: %{python_module cryptography >= 3.3.2} +BuildRequires: %{python_module cryptography >= 3.2.1} BuildRequires: %{python_module httpsig_cffi} BuildRequires: %{python_module pyOpenSSL >= 19.1.0} BuildRequires: %{python_module pytest > 4.1.0}