From bacf2f4de7a21545b6ec3a2b5b11a971b4b21d424c074ea57e1569501e037e01 Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Tue, 2 Jun 2020 10:49:18 +0000 Subject: [PATCH 1/2] Accepting request 810785 from home:glaubitz:branches:devel:languages:python - Update to version 2.14.3 * Support for returning the private IP of a private endpoint database in the Database service * Support for native JWT validation in the API Gateway service - from version 2.14.2 * Support for drift detection in the Resource Manager service - from version 2.14.1 * Support for updating the license type of database systems in the Database service * Support for updating the version of 19c autonomous databases in the Database service * Support for backup and restore functionality in the Key Management service * Support for reports in the Marketplace service * Support for calling Oracle Cloud Infrastructure services in the ap-hyderabad-1 region - from version 2.14.0 * Support for the MySQL Database service * Support for updating the database home of a database in the Database service * Support for government regions in the Marketplace service * Support for starting and stopping instances in the Integration service * Support for installing Windows updates in the OS Management service * Deleted models ErrataId, ManagedInstanceUpdateDetails and UpdatablePackageSummary from the os_management service - Update file list to fix Python imports for unvendoring OBS-URL: https://build.opensuse.org/request/show/810785 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=11 --- python-oci-sdk.changes | 25 +++++++++++++++++++++++++ python-oci-sdk.spec | 4 ++-- v2.13.0.tar.gz | 3 --- v2.14.3.tar.gz | 3 +++ 4 files changed, 30 insertions(+), 5 deletions(-) delete mode 100644 v2.13.0.tar.gz create mode 100644 v2.14.3.tar.gz diff --git a/python-oci-sdk.changes b/python-oci-sdk.changes index 6e0ba21..cc27997 100644 --- a/python-oci-sdk.changes +++ b/python-oci-sdk.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Tue Jun 2 10:12:27 UTC 2020 - John Paul Adrian Glaubitz + +- Update to version 2.14.3 + * Support for returning the private IP of a private + endpoint database in the Database service + * Support for native JWT validation in the API Gateway service +- from version 2.14.2 + * Support for drift detection in the Resource Manager service +- from version 2.14.1 + * Support for updating the license type of database systems in the Database service + * Support for updating the version of 19c autonomous databases in the Database service + * Support for backup and restore functionality in the Key Management service + * Support for reports in the Marketplace service + * Support for calling Oracle Cloud Infrastructure services in the ap-hyderabad-1 region +- from version 2.14.0 + * Support for the MySQL Database service + * Support for updating the database home of a database in the Database service + * Support for government regions in the Marketplace service + * Support for starting and stopping instances in the Integration service + * Support for installing Windows updates in the OS Management service + * Deleted models ErrataId, ManagedInstanceUpdateDetails and UpdatablePackageSummary + from the os_management service +- Update file list to fix Python imports for unvendoring + ------------------------------------------------------------------- Mon Apr 27 11:24:05 UTC 2020 - John Paul Adrian Glaubitz diff --git a/python-oci-sdk.spec b/python-oci-sdk.spec index 215cfee..398cad6 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.13.0 +Version: 2.14.3 Release: 0 Summary: Oracle Cloud Infrastructure Python SDK License: UPL-1.0 OR Apache-2.0 @@ -76,7 +76,7 @@ Python SDK for Oracle Cloud Infrastructure. Python 2.7+ and 3.5+ are supported. rm -rf src/oci/_vendor/ # Fix includes sed -i 's/from \._vendor //' src/oci/*.py -sed -i 's/from oci._vendor //' src/oci/*.py src/oci/analytics/*.py src/oci/apigateway/*.py src/oci/application_migration/*.py src/oci/announcements_service/*.py src/oci/audit/*.py src/oci/auth/*.py src/oci/auth/signers/*.py src/oci/autoscaling/*.py src/oci/bds/*.py src/oci/budget/*.py src/oci/cims/*.py src/oci/container_engine/*.py src/oci/dns/*.py src/oci/core/*.py src/oci/database/*.py src/oci/data_catalog/*.py src/oci/data_flow/*.py src/oci/data_safe/*.py src/oci/data_science/*.py src/oci/dts/*.py src/oci/email/*.py src/oci/events/*.py src/oci/file_storage/*.py src/oci/functions/*.py src/oci/healthchecks/*.py src/oci/integration/*.py src/oci/key_management/*.py src/oci/marketplace/*.py src/oci/limits/*.py src/oci/load_balancer/*.py src/oci/monitoring/*.py src/oci/nosql/*.py src/oci/oda/*.py src/oci/object_storage/*.py src/oci/oce/*.py src/oci/ons/*.py src/oci/object_storage/transfer/*.py src/oci/object_storage/transfer/internal/*.py src/oci/os_management/*.py src/oci/resource_manager/*.py src/oci/streaming/*.py src/oci/identity/*.py src/oci/resource_search/*.py src/oci/secrets/*.py src/oci/vault/*.py src/oci/waas/*.py src/oci/work_requests/*.py tests/*.py +sed -i 's/from oci._vendor //' src/oci/*.py src/oci/analytics/*.py src/oci/apigateway/*.py src/oci/application_migration/*.py src/oci/announcements_service/*.py src/oci/audit/*.py src/oci/auth/*.py src/oci/auth/signers/*.py src/oci/autoscaling/*.py src/oci/bds/*.py src/oci/budget/*.py src/oci/cims/*.py src/oci/container_engine/*.py src/oci/dns/*.py src/oci/core/*.py src/oci/database/*.py src/oci/data_catalog/*.py src/oci/data_flow/*.py src/oci/data_safe/*.py src/oci/data_science/*.py src/oci/dts/*.py src/oci/email/*.py src/oci/events/*.py src/oci/file_storage/*.py src/oci/functions/*.py src/oci/healthchecks/*.py src/oci/integration/*.py src/oci/key_management/*.py src/oci/marketplace/*.py src/oci/limits/*.py src/oci/load_balancer/*.py src/oci/monitoring/*.py src/oci/mysql/*.py src/oci/nosql/*.py src/oci/oda/*.py src/oci/object_storage/*.py src/oci/oce/*.py src/oci/ons/*.py src/oci/object_storage/transfer/*.py src/oci/object_storage/transfer/internal/*.py src/oci/os_management/*.py src/oci/resource_manager/*.py src/oci/streaming/*.py src/oci/identity/*.py src/oci/resource_search/*.py src/oci/secrets/*.py src/oci/vault/*.py src/oci/waas/*.py src/oci/work_requests/*.py tests/*.py sed -i 's/ oci._vendor.jwt as//' src/oci/auth/*.py sed -i 's/oci\._vendor\.//' src/oci/*.py src/oci/auth/signers/*.py src/oci/retry/*.py src/oci/object_storage/transfer/internal/*.py tests/*.py sed -i 's/from . import vcr_mods//' tests/test_config_container.py diff --git a/v2.13.0.tar.gz b/v2.13.0.tar.gz deleted file mode 100644 index 59a4910..0000000 --- a/v2.13.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3da4dbfdde25d4c561ac1bd75ad3c66bb0ecb4b4a0c3cce2f852c8a584fcbd71 -size 6755278 diff --git a/v2.14.3.tar.gz b/v2.14.3.tar.gz new file mode 100644 index 0000000..3b8a3b0 --- /dev/null +++ b/v2.14.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1169451e7bb93552900afc0ae1b412bc462145c1c4fa51ee77c1bc6793c37716 +size 7189210 From 2b730e79e635081d68462702a9483653dba6e99c914deab8565cad3a44a9453b Mon Sep 17 00:00:00 2001 From: John Paul Adrian Glaubitz Date: Tue, 2 Jun 2020 17:15:42 +0000 Subject: [PATCH 2/2] - Update ops_relax-python-depends.patch to drop configparser from Python requirements OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=12 --- ops_relax-python-depends.patch | 18 ++++++++---------- python-oci-sdk.changes | 1 + 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/ops_relax-python-depends.patch b/ops_relax-python-depends.patch index 3124591..0557135 100644 --- a/ops_relax-python-depends.patch +++ b/ops_relax-python-depends.patch @@ -1,7 +1,7 @@ -diff -Nru oci-python-sdk-2.13.0.orig/requirements.txt oci-python-sdk-2.13.0/requirements.txt ---- oci-python-sdk-2.13.0.orig/requirements.txt 2020-04-21 20:03:17.000000000 +0200 -+++ oci-python-sdk-2.13.0/requirements.txt 2020-04-27 10:55:56.351972437 +0200 -@@ -1,18 +1,18 @@ +diff -Nru oci-python-sdk-2.14.3.orig/requirements.txt oci-python-sdk-2.14.3/requirements.txt +--- oci-python-sdk-2.14.3.orig/requirements.txt 2020-05-19 17:48:45.000000000 +0200 ++++ oci-python-sdk-2.14.3/requirements.txt 2020-06-02 16:38:24.924772081 +0200 +@@ -1,18 +1,17 @@ -autodocsumm==0.1.11 +autodocsumm>=0.1.11 certifi @@ -14,7 +14,6 @@ diff -Nru oci-python-sdk-2.13.0.orig/requirements.txt oci-python-sdk-2.13.0/requ -pytest==4.1.0 -pytest-cov==2.6.1 -attrs==19.1.0 -+configparser>=4.0.2 +coverage>=4.5.2 +cryptography>=2.8 +flake8>=3.6.0 @@ -35,16 +34,15 @@ diff -Nru oci-python-sdk-2.13.0.orig/requirements.txt oci-python-sdk-2.13.0/requ +tox>=3.6.1 +vcrpy>=2.0.1 +wheel>=0.32.3 -diff -Nru oci-python-sdk-2.13.0.orig/setup.py oci-python-sdk-2.13.0/setup.py ---- oci-python-sdk-2.13.0.orig/setup.py 2020-04-21 20:03:17.000000000 +0200 -+++ oci-python-sdk-2.13.0/setup.py 2020-04-27 10:55:39.227948492 +0200 -@@ -31,8 +31,8 @@ +diff -Nru oci-python-sdk-2.14.3.orig/setup.py oci-python-sdk-2.14.3/setup.py +--- oci-python-sdk-2.14.3.orig/setup.py 2020-05-19 17:48:45.000000000 +0200 ++++ oci-python-sdk-2.14.3/setup.py 2020-06-02 16:38:45.961107246 +0200 +@@ -31,8 +31,7 @@ requires = [ "certifi", - "configparser==4.0.2", - "cryptography==2.8", -+ "configparser>=4.0.2", + "cryptography>=2.8", "pyOpenSSL>=17.5.0", "python-dateutil>=2.5.3,<3.0.0", diff --git a/python-oci-sdk.changes b/python-oci-sdk.changes index cc27997..a3bd04d 100644 --- a/python-oci-sdk.changes +++ b/python-oci-sdk.changes @@ -22,6 +22,7 @@ Tue Jun 2 10:12:27 UTC 2020 - John Paul Adrian Glaubitz