1
0

Accepting request 861817 from devel:languages:python

- Update to version 2.26.0
  * Support for filtering listKeys based on KeyShape in KeyManagement service
  * Support for the Oracle Roving Edge Infrastructure service
  * Support for flexible ShapeDetails in Load Balancer service
  * Support for listing of harvested Rules, additional filtering for Logical
    Entity list calls in Data Catalog service
  * Support second level domain for audit SDK
  * Support for listing flex components in Database service
  * Support for APEX service for ADBS on OCI console for Database service
  * Support for Customer-Managed Key features as a part of the Database service
  * Support for Github configuration source provider as part of the Resource Manager service
  * Removed deprecated create_autonomous_data_warehouse API from Database service
  * Removed deprecated create_autonomous_data_warehouse_backup API from Database service
  * Removed deprecated delete_autonomous_data_warehouse API from Database service
  * Removed deprecated generate_autonomous_data_warehouse_wallet API from Database service
  * Removed deprecated get_autonomous_data_warehouse API from Database service
  * Removed deprecated get_autonomous_data_warehouse_backup API from Database service
  * Removed deprecated list_autonomous_data_warehouse_backups API from Database service
  * Removed deprecated list_autonomous_data_warehouses API from Database service
  * Removed deprecated restore_autonomous_data_warehouse API from Database service
  * Removed deprecated start_autonomous_data_warehouse API from Database service
  * Removed deprecated stop_autonomous_data_warehouse API from Database service
  * Removed deprecated update_autonomous_data_warehouse API from Database service
  * The enum attributes `lifecycle_state` and `license_model` from Model
    `AutonomousDataWarehouseSummary` in the Database service raise `ValueError` if
    they receive an invalid value. In the earlier versions, the value defaults to
    `UNKNOWN_ENUM_VALUE`.
  * The enum attributes `lifecycle_state` and `license_model` from Model
    `AutonomousDataWarehouse` in the Database service raise `ValueError` if they
     receive an invalid value. In the earlier versions, the value defaults to (forwarded request 861812 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/861817
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-oci-sdk?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2021-01-10 18:44:06 +00:00 committed by Git OBS Bridge
commit eaf0335cd6
5 changed files with 160 additions and 32 deletions

View File

@ -1,53 +1,52 @@
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 @@
diff -Nru oci-python-sdk-2.26.0.orig/requirements.txt oci-python-sdk-2.26.0/requirements.txt
--- oci-python-sdk-2.26.0.orig/requirements.txt 2020-12-15 19:40:46.000000000 +0100
+++ oci-python-sdk-2.26.0/requirements.txt 2021-01-08 22:49:00.315913717 +0100
@@ -1,18 +1,18 @@
-autodocsumm==0.1.11
+autodocsumm>=0.1.11
certifi
-configparser==4.0.2
-coverage==4.5.2
-cryptography==2.8
-cryptography==3.2.1
-flake8==3.6.0
-mock==2.0.0
-pyOpenSSL==18.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
+configparser>=4.0.2
+coverage>=4.5.2
+cryptography>=2.8
+cryptography>=3.2.1
+flake8>=3.6.0
+mock>=2.0.0
+pyOpenSSL>=18.0.0
+pyOpenSSL>=19.1.0
+pytest>=4.1.0
+pytest-cov>=2.6.1
+attrs>=19.1.0
+python-dateutil>=2.5.3
python-dateutil>=2.5.3,<=2.7.3
pytz>=2016.10
-sphinx-rtd-theme==0.4.2
-sphinx==1.8.3
-tox==3.6.1
-tox==3.14.3
-vcrpy==2.0.1
-wheel==0.32.3
+sphinx-rtd-theme>=0.4.2
+sphinx>=1.8.3
+tox>=3.6.1
+tox>=3.14.3
+vcrpy>=2.0.1
+wheel>=0.32.3
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 @@
diff -Nru oci-python-sdk-2.26.0.orig/setup.py oci-python-sdk-2.26.0/setup.py
--- oci-python-sdk-2.26.0.orig/setup.py 2020-12-15 19:40:46.000000000 +0100
+++ oci-python-sdk-2.26.0/setup.py 2021-01-08 22:54:27.824418296 +0100
@@ -31,9 +31,8 @@
requires = [
"certifi",
- "configparser==4.0.2",
- "cryptography==2.8",
+ "cryptography>=2.8",
"pyOpenSSL>=17.5.0,<=19.1.0",
- "python-dateutil>=2.5.3,<3.0.0",
+ "python-dateutil>=2.5.3",
- "cryptography==3.2.1",
- "pyOpenSSL>=17.5.0,<=19.1.0",
+ "cryptography>=3.2.1",
+ "pyOpenSSL>=19.1.0",
"python-dateutil>=2.5.3,<3.0.0",
"pytz>=2016.10",
]

View File

@ -1,3 +1,132 @@
-------------------------------------------------------------------
Fri Jan 8 21:54:44 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 2.26.0
* Support for filtering listKeys based on KeyShape in KeyManagement service
* Support for the Oracle Roving Edge Infrastructure service
* Support for flexible ShapeDetails in Load Balancer service
* Support for listing of harvested Rules, additional filtering for Logical
Entity list calls in Data Catalog service
* Support second level domain for audit SDK
* Support for listing flex components in Database service
* Support for APEX service for ADBS on OCI console for Database service
* Support for Customer-Managed Key features as a part of the Database service
* Support for Github configuration source provider as part of the Resource Manager service
* Removed deprecated create_autonomous_data_warehouse API from Database service
* Removed deprecated create_autonomous_data_warehouse_backup API from Database service
* Removed deprecated delete_autonomous_data_warehouse API from Database service
* Removed deprecated generate_autonomous_data_warehouse_wallet API from Database service
* Removed deprecated get_autonomous_data_warehouse API from Database service
* Removed deprecated get_autonomous_data_warehouse_backup API from Database service
* Removed deprecated list_autonomous_data_warehouse_backups API from Database service
* Removed deprecated list_autonomous_data_warehouses API from Database service
* Removed deprecated restore_autonomous_data_warehouse API from Database service
* Removed deprecated start_autonomous_data_warehouse API from Database service
* Removed deprecated stop_autonomous_data_warehouse API from Database service
* Removed deprecated update_autonomous_data_warehouse API from Database service
* The enum attributes `lifecycle_state` and `license_model` from Model
`AutonomousDataWarehouseSummary` in the Database service raise `ValueError` if
they receive an invalid value. In the earlier versions, the value defaults to
`UNKNOWN_ENUM_VALUE`.
* The enum attributes `lifecycle_state` and `license_model` from Model
`AutonomousDataWarehouse` in the Database service raise `ValueError` if they
receive an invalid value. In the earlier versions, the value defaults to
`UNKNOWN_ENUM_VALUE`.
* Fixed an issue in the documentation where model links were incorrect
- from version 2.25.1
* Support for Integration Service custom endpoint feature
* Support for metadata field in IdentityProvider Get and List response
* Support for fine-grained data analysis and improved SQL insights
* Support for ADB Dedicated - ORDS and SSL cert rotation at AEI
* Support for Maintenance Schedule feature for Exadata Infrastructure resources for ExaCC
- from version 2.25.0
* Support for calling Oracle Cloud Infrastructure services in the sa-santiago-1 region
* Support for peer and OSN resources, as well as retry tokens, in the Blockchain Platform service
* Support for getting the availability status of management agents in the Management Agent service
* Support for the on-prem-connector resource type in the Data Safe service
* Support for service channels in the MySQL Database service
* Support for getting the creation type of backups, and for filtering backups by
creation type in the MySQL Database service
* Parameter `compartment_id` changed from optional to required for method `list_work_requests`
in the Data Safe service
* Return type of method `create_data_safe_private_endpoint` changed from `None` to
`oci.data_safe.models.DataSafePrivateEndpoint` in the Data Safe service
* Parameters `freeform_tags` and `defined_tags` are removed from model
`EnableDataSafeConfigurationDetails` in the Data Safe service
- from version 2.24.1
* Provide example for pagination that creates a *Details object for pagination
* Provide example to turn response and model to JSON
* cryptography pinning to cryptography=3.2.1 to address vulnerability `Github security
alerts <https://github.com/oracle/oci-python-sdk/pull/299>`__
- from version 2.24.0
* Support for specifying memory for AMD E3 shapes during node pool creation and update
in the Container Engine for Kubernetes service
* Support for upgrading a database on a VM database system in the Database service
* Support for listing autonomous database clones in the Database service
* Support for Data Guard with autonomous container databases on Exadata Cloud
at Customer in the Database service
* Support for getting the last login time of a user in the Identity service
* Support to bulk editing tags on resources in the Identity service
* The models `AgentUpload`, `Attribute`, `CreateNamespaceDetails`, `FieldMap`,
`GenerateAgentObjectNameDetails`, `LogAnalytics`, `LogAnalyticsCollectionWarning`,
`LogAnalyticsSummary`, `OutOfBoxEntityTypeDetails`, `Query`, `QueryWorkRequestResource`,
`RegisterEntityTypesDetails`, `ServiceTenancy`, `StringListDetails` are removed from the
Log Analytics service
* The enum `name` removed value `CUSLTER_SPLIT` and added `CLUSTER_SPLIT`
in the Log Analytics service
* The value for enum `status` is not validated against allowed values and will not
raise `ValueError` in the Container Engine service
- from version 2.23.5
* Support for the 21C autonomous database version in the Database service
* Support for creating a Data Guard association with a standby database from
a database software image in the Database service
* Support for specifying a TDE wallet password when creating a database
or database system in the Database service
* Support for enabling access control lists for autonomous databases on
Exadata Cloud At Customer in the Database service
* Support for private DNS resolvers, resolver endpoints, and views in the DNS service
* Support for getting a VCN and resolver association in the Networking service
* Support for additional parameters when updating subnets and VLANs in the Networking service
* Support for analytics clusters (database accelerators) in the MySQL Database service
* Support for migrations to Java Cloud Service and Oracle Weblogic Server instances
that use existing databases in the Application Migration service
* Support for specifying reserved IPs when creating load balancers in the Load Balancing service
* Removed support for Python 3.5, since it is end of life
* Support for Python 3.7, 3.8 and 3.9
- from version 2.23.4
* Support for calling Oracle Cloud Infrastructure services in the uk-cardiff-1 region
* Support for the Organizations service
* Support for the Optimizer service
* Support for tenancy ID and name on responses in the Usage service
* Support for object versioning in object lifecycle management in the Object Storage service
* Support for specifying a syslog URL for applications in the Functions service
* Support for creation of always-free NoSQL database tables in the NoSQL Database service
- from version 2.23.3
* Fixed an issue where `UploadManager.upload_stream()` raised `MultipartUploadError` if
the time to upload is greater than the read timeout. Please see `github issue #300
<https://github.com/oracle/oci-python-sdk/issues/300>`_ for more details.
- from version 2.23.2
* Support for the Compute Instance Agent service
* Support for key store resources and operations in the Database service
* Support for specifying a key store when creating autonomous container
databases in the Database service
* Bypassed the use of PyOpenSSL in the vendored requests library only if ssl does not
have SNI. This may fix a `known issue <https://oracle-cloud-infrastructure-python-sdk.\
readthedocs.io/en/latest/known-issues.html#uploadmanager-generates-ssl3-write-pending-\
error-when-a-read-timeout-is-set-for-the-object-storage-client>`_. depending on your
environment. For more information, please see the link to the docs.
- from version 2.23.1
* Support for the Operations Insights service
* Support for updating autonomous databases to enable/disable Operations Insights
service integration, in the Database service
* Support for the NEEDS_ATTENTION lifecycle state on database systems in the Database service
* Support for HCX in the VMware Solutions service
* Added an example script for Usage API
- Refresh patches for new version
+ ops_relax-python-depends.patch
- Update file list to fix Python imports for unvendoring
- Update BuildRequires and Requires from requirements.txt and setup.py
-------------------------------------------------------------------
Thu Oct 15 10:29:30 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-oci-sdk
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-oci-sdk
Version: 2.23.0
Version: 2.26.0
Release: 0
Summary: Oracle Cloud Infrastructure Python SDK
License: UPL-1.0 OR Apache-2.0
@ -34,9 +34,9 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyJWT
Requires: python-certifi
Requires: python-cryptography >= 2.8
Requires: python-cryptography >= 3.2.1
Requires: python-httpsig_cffi
Requires: python-pyOpenSSL >= 17.5.0
Requires: python-pyOpenSSL >= 19.1.0
Requires: python-python-dateutil < 3.0.0
Requires: python-python-dateutil >= 2.5.3
Requires: python-pytz >= 2016.10
@ -46,9 +46,9 @@ BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module PyJWT}
BuildRequires: %{python_module certifi}
BuildRequires: %{python_module cryptography >= 2.8}
BuildRequires: %{python_module cryptography >= 3.2.1}
BuildRequires: %{python_module httpsig_cffi}
BuildRequires: %{python_module pyOpenSSL >= 18.0.0}
BuildRequires: %{python_module pyOpenSSL >= 19.1.0}
BuildRequires: %{python_module pytest > 4.1.0}
BuildRequires: %{python_module python-dateutil < 3.0.0}
BuildRequires: %{python_module python-dateutil >= 2.5.3}
@ -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/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/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/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/cloud_guard/*.py src/oci/compute_instance_agent/*.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/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/tenant_manager_control_plane/*.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:7eab95b6994e72d9104a90920ce9966e4c76c2d5abaca927bbe6c2e08731272a
size 8495262

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

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