From 0707a50192eeb8a838dc441f355ab318f4d60ab8b26bcc03c879d69f1d0aeaba Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 3 Jun 2021 09:17:12 +0000 Subject: [PATCH] Accepting request 897035 from home:susnux:branches:Cloud:Tools Update to version 2.39.0 OBS-URL: https://build.opensuse.org/request/show/897035 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=30 --- oci-python-sdk-2.38.3.tar.gz | 3 -- oci-python-sdk-2.39.0.tar.gz | 3 ++ ops_relax-python-depends.patch | 52 +++++++++++++++++----------------- python-oci-sdk.changes | 20 +++++++++++++ python-oci-sdk.spec | 4 +-- 5 files changed, 51 insertions(+), 31 deletions(-) delete mode 100644 oci-python-sdk-2.38.3.tar.gz create mode 100644 oci-python-sdk-2.39.0.tar.gz diff --git a/oci-python-sdk-2.38.3.tar.gz b/oci-python-sdk-2.38.3.tar.gz deleted file mode 100644 index 209b992..0000000 --- a/oci-python-sdk-2.38.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:69deba64dbd5faa3ea967e88397e22a98efd6973555a593c4538fddccdf87104 -size 10382237 diff --git a/oci-python-sdk-2.39.0.tar.gz b/oci-python-sdk-2.39.0.tar.gz new file mode 100644 index 0000000..2756d11 --- /dev/null +++ b/oci-python-sdk-2.39.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:931ec7a64974475e8415df01c4b1e9936d116f7cd5fdc5d86fbe6c5e173051d2 +size 10527257 diff --git a/ops_relax-python-depends.patch b/ops_relax-python-depends.patch index 9cce20c..15d104b 100644 --- a/ops_relax-python-depends.patch +++ b/ops_relax-python-depends.patch @@ -1,9 +1,9 @@ -diff -Nru oci-python-sdk-2.38.1.orig/requirements.txt oci-python-sdk-2.38.1/requirements.txt ---- oci-python-sdk-2.38.1.orig/requirements.txt 2021-05-04 20:26:47.000000000 +0200 -+++ oci-python-sdk-2.38.1/requirements.txt 2021-05-12 14:48:41.483794015 +0200 -@@ -1,18 +1,17 @@ +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 +@@ -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 @@ -14,14 +14,15 @@ diff -Nru oci-python-sdk-2.38.1.orig/requirements.txt oci-python-sdk-2.38.1/requ -pytest==4.1.0 -pytest-cov==2.6.1 -attrs==19.1.0 -+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 ++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 python-dateutil>=2.5.3,<=2.7.3 pytz>=2016.10 -sphinx-rtd-theme==0.4.2 @@ -29,23 +30,22 @@ diff -Nru oci-python-sdk-2.38.1.orig/requirements.txt oci-python-sdk-2.38.1/requ -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 -Nru oci-python-sdk-2.38.1.orig/setup.py oci-python-sdk-2.38.1/setup.py ---- oci-python-sdk-2.38.1.orig/setup.py 2021-05-04 20:26:47.000000000 +0200 -+++ oci-python-sdk-2.38.1/setup.py 2021-05-12 14:50:19.500650906 +0200 -@@ -31,9 +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 -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 @@ requires = [ "certifi", - "configparser==4.0.2", - "cryptography==3.3.2", -- "pyOpenSSL>=17.5.0,<=19.1.0", -+ "cryptography>=3.3.2", -+ "pyOpenSSL>=19.1.0", ++ "configparser~=4.0.2", ++ "cryptography~=3.3.2", + "pyOpenSSL>=17.5.0,<=19.1.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 fbd0709..66be191 100644 --- a/python-oci-sdk.changes +++ b/python-oci-sdk.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +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 + ------------------------------------------------------------------- Thu May 20 16:33:40 UTC 2021 - Ferdinand Thiessen diff --git a/python-oci-sdk.spec b/python-oci-sdk.spec index fe599d2..8388b57 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.38.3 +Version: 2.39.0 Release: 0 Summary: Oracle Cloud Infrastructure Python SDK License: Apache-2.0 OR UPL-1.0 @@ -75,8 +75,8 @@ Python SDK for Oracle Cloud Infrastructure. Python 2.7+ and 3.5+ are supported. # Remove vendored packages rm -rf src/oci/_vendor/ # Fix includes +find . -name "*.py" -exec sed -i 's/from oci._vendor //' \{\} + sed -i 's/from \._vendor //' src/oci/*.py -sed -i 's/from oci._vendor //' src/oci/*.py src/oci/ai_language/*.py src/oci/analytics/*.py src/oci/apigateway/*.py src/oci/apm_control_plane/*.py src/oci/apm_synthetics/*.py src/oci/apm_traces/*.py src/oci/application_migration/*.py src/oci/announcements_service/*.py src/oci/artifacts/*.py src/oci/audit/*.py src/oci/auth/*.py src/oci/auth/signers/*.py src/oci/autoscaling/*.py src/oci/bds/*.py src/oci/blockchain/*.py src/oci/budget/*.py src/oci/cims/*.py src/oci/container_engine/*.py src/oci/dns/*.py src/oci/cloud_guard/*.py src/oci/compute_instance_agent/*.py src/oci/core/*.py src/oci/database/*.py src/oci/database_management/*.py src/oci/database_migration/*.py src/oci/data_catalog/*.py src/oci/data_flow/*.py src/oci/data_integration/*.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/golden_gate/*.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/log_analytics/*.py src/oci/logging/*.py src/oci/loggingingestion/*.py src/oci/loggingsearch/*.py src/oci/management_agent/*.py src/oci/management_dashboard/*.py src/oci/monitoring/*.py src/oci/mysql/*.py src/oci/network_load_balancer/*.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/ocvp/*.py src/oci/operator_access_control/*.py src/oci/opsi/*.py src/oci/optimizer/*.py src/oci/os_management/*.py src/oci/resource_manager/*.py src/oci/resource_search/*.py src/oci/rover/*.py src/oci/sch/*.py src/oci/streaming/*.py src/oci/identity/*.py src/oci/secrets/*.py src/oci/service_catalog/*.py src/oci/tenant_manager_control_plane/*.py src/oci/usage_api/*.py src/oci/vault/*.py src/oci/vulnerability_scanning/*.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