Accepting request 833317 from home:glaubitz:branches:devel:languages:python

- Update to version 2.21.3
  * Support for Logging Service
  * Support for Logging Analytics Service
  * Support for Logging Search Service
  * Support for Logging Ingestion Service
  * Support for Management Agent Cloud Service
  * Support for Management Dashboard Service
  * Support for Service Connector Hub service
  * Support for Policy based Request/Response transformation in the API Gateway Service
  * Support for sending diagnostic interrupt to a VM instance in the Compute Service
  * Support for custom Database Software Images in the Database Service
  * Support for getting and listing container database patches for Autonomous
    Container Database resources in the Database Service
  * Support for updating patch id on maintenance run for Autonomous
    Container Database resources in the Database Service
  * Support for searching Oracle Cloud resources across tenancies in the Search Service
  * Documentation update for Logging Policies in the API Gateway service
  * Support for Python SDK in Cloud Shell
- from version 2.21.2
  * Support for custom boot volume size and other node pool updates in
    the Container Engine for Kubernetes service
  * Support for Data Guard on Exadata Cloud at Customer VM clusters in the Database service
  * Support for stopping VM instances after scheduled maintenance
    or hypervisor reboots in the Compute service
  * Support for creating and managing private endpoints in the Data Flow service
- from version 2.21.1
  * Support for custom boot volume size and other node pool updates
    in the Container Engine for Kubernetes service
  * Support for Data Guard on Exadata Cloud at Customer VM clusters in the Database service
  * Support for stopping VM instances after scheduled maintenance or

OBS-URL: https://build.opensuse.org/request/show/833317
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=16
This commit is contained in:
Robert Schweikert 2020-09-09 18:32:00 +00:00 committed by Git OBS Bridge
parent 1539cd6b7b
commit bcd5ee7eb0
5 changed files with 105 additions and 15 deletions

View File

@ -1,6 +1,6 @@
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
diff -Nru oci-python-sdk-2.21.3.orig/requirements.txt oci-python-sdk-2.21.3/requirements.txt
--- oci-python-sdk-2.21.3.orig/requirements.txt 2020-09-08 20:39:15.000000000 +0200
+++ oci-python-sdk-2.21.3/requirements.txt 2020-09-09 15:01:16.550067804 +0200
@@ -1,18 +1,17 @@
-autodocsumm==0.1.11
+autodocsumm>=0.1.11
@ -14,6 +14,7 @@ diff -Nru oci-python-sdk-2.14.3.orig/requirements.txt oci-python-sdk-2.14.3/requ
-pytest==4.1.0
-pytest-cov==2.6.1
-attrs==19.1.0
-python-dateutil>=2.5.3,<=2.7.3
+coverage>=4.5.2
+cryptography>=2.8
+flake8>=3.6.0
@ -22,7 +23,7 @@ diff -Nru oci-python-sdk-2.14.3.orig/requirements.txt oci-python-sdk-2.14.3/requ
+pytest>=4.1.0
+pytest-cov>=2.6.1
+attrs>=19.1.0
python-dateutil>=2.5.3,<=2.7.3
+python-dateutil>=2.5.3
pytz>=2016.10
-sphinx-rtd-theme==0.4.2
-sphinx==1.8.3
@ -34,16 +35,19 @@ diff -Nru oci-python-sdk-2.14.3.orig/requirements.txt oci-python-sdk-2.14.3/requ
+tox>=3.6.1
+vcrpy>=2.0.1
+wheel>=0.32.3
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 @@
diff -Nru oci-python-sdk-2.21.3.orig/setup.py oci-python-sdk-2.21.3/setup.py
--- oci-python-sdk-2.21.3.orig/setup.py 2020-09-08 20:39:15.000000000 +0200
+++ oci-python-sdk-2.21.3/setup.py 2020-09-09 15:01:38.754150549 +0200
@@ -31,10 +31,9 @@
requires = [
"certifi",
- "configparser==4.0.2",
- "cryptography==2.8",
+ "cryptography>=2.8",
"pyOpenSSL>=17.5.0",
"python-dateutil>=2.5.3,<3.0.0",
"pyOpenSSL>=17.5.0,<=19.1.0",
- "python-dateutil>=2.5.3,<3.0.0",
+ "python-dateutil>=2.5.3",
"pytz>=2016.10",
]

View File

@ -1,3 +1,89 @@
-------------------------------------------------------------------
Wed Sep 9 13:02:46 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 2.21.3
* Support for Logging Service
* Support for Logging Analytics Service
* Support for Logging Search Service
* Support for Logging Ingestion Service
* Support for Management Agent Cloud Service
* Support for Management Dashboard Service
* Support for Service Connector Hub service
* Support for Policy based Request/Response transformation in the API Gateway Service
* Support for sending diagnostic interrupt to a VM instance in the Compute Service
* Support for custom Database Software Images in the Database Service
* Support for getting and listing container database patches for Autonomous
Container Database resources in the Database Service
* Support for updating patch id on maintenance run for Autonomous
Container Database resources in the Database Service
* Support for searching Oracle Cloud resources across tenancies in the Search Service
* Documentation update for Logging Policies in the API Gateway service
* Support for Python SDK in Cloud Shell
- from version 2.21.2
* Support for custom boot volume size and other node pool updates in
the Container Engine for Kubernetes service
* Support for Data Guard on Exadata Cloud at Customer VM clusters in the Database service
* Support for stopping VM instances after scheduled maintenance
or hypervisor reboots in the Compute service
* Support for creating and managing private endpoints in the Data Flow service
- from version 2.21.1
* Support for custom boot volume size and other node pool updates
in the Container Engine for Kubernetes service
* Support for Data Guard on Exadata Cloud at Customer VM clusters in the Database service
* Support for stopping VM instances after scheduled maintenance or
hypervisor reboots in the Compute service
* Support for creating and managing private endpoints in the Data Flow service
- from version 2.21.0
* Support for autonomous json databases in the Database service
* Support for cleaning up uncommitted multipart uploads in the Object Storage service
* Support for additional list API filters in the Data Catalog service
* Some unusable region enums were removed from the Support Management service
* Parameter `opc_retry_token` was removed from the Support Management service
- from version 2.20.0
* Support for calling Oracle Cloud Infrastructure services in the uk-gov-cardiff-1 region
* Support for creating and managing private endpoints in the Data Flow service
* Support for changing instance shapes and restarting nodes in the Big Data service
* Support for additional versions (for example CSQL) in the Big Data service
* Support for creating stacks from compartments in the Resource Manager service
* Param `life_cycle_details` renamed to `lifecycle_details` in models
`BlockchainPlatformByHostname` and `BlockchainPlatformSummary` in the Blockchain service
* Restricted `pyOpenSSL` dependency to versions between 17.5.0 and 19.1.0, both
inclusive. See `#255 <https://github.com/oracle/oci-python-sdk/issues/255>`_ for details.
- from version 2.19.0
* Support for calling Oracle Cloud Infrastructure services in the us-sanjose-1 region
* Support for updating the fault domain and launch options of VM instances in the Compute service
* Support for image capability schemas and schema versions in the Compute service
* Support for 'Patch Now' maintenance runs for autonomous Exadata infrastructure
and autonomous container database resources in the Database service
* Support for automatic performance and cost tuning on volumes in the Block Storage service
* Removed the accessToken field from the GitlabAccessTokenConfigurationSourceProvider
model in the Resource Manager service
- from version 2.18.1
* Support for license types on instances in the Content and Experience service
* Fixed a bug for Resource Principal authentication where RPST token was
not getting refreshed correctly.
- from version 2.18.0
* Support for the Blockchain service
* Support for failing over an autonomous database that has Data Guard enabled in the Database service
* Support for switching over an autonomous database that has Data Guard enabled in the Database service
* Support for git configuration sources in the Resource Manager service
* Support for optionally specifying a VCN id on list operations of DHCP options, subnets, security
lists, route tables, internet gateways, and local peering gateways in the Networking service
* Fixed a bug where user-set timeout values were not being passed to base client from service client
and remained `None`. This has been fixed in all clients except the upload manager and multipart
object assembler.
* Parameter `vcn_id` changed from required to optional in methods `list_dhcp_options`,
`list_local_peering_gateways`, `list_route_tables`, `list_security_lists`, `list_subnets`
and `list_internet_gateways` in the virtual network client. If the VCN ID is not provided,
then the list includes information of all VCNs in the specified compartment.
* For upload manager and multipart object assembler, the timeout for the object storage client
is overwritten to `None` for all operations which call object storage. For this reason, the
operations are NOT thread-safe, and you should provide the class with its own Object Storage
client that isn't used elsewhere.
- Refresh patches for new version
ops_fixture-order.patch
- Update file list to fix Python imports for unvendoring
-------------------------------------------------------------------
Tue Jul 14 09:15:27 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-oci-sdk
Version: 2.17.2
Version: 2.21.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_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/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/ocvp/*.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/usage_api/*.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/blockchain/*.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_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/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/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/os_management/*.py src/oci/resource_manager/*.py src/oci/sch/*.py src/oci/streaming/*.py src/oci/identity/*.py src/oci/resource_search/*.py src/oci/secrets/*.py src/oci/usage_api/*.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

View File

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

3
v2.21.3.tar.gz Normal file
View File

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