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

- Update to version 2.125.1
  * Support for assigned private IP and single stack IPV6 feature for Network Load Balancer Service
  * Support for Configuration API in Email Delivery Service
  * Support for the status field in creating data source resource for Cloud Guard Service
  * Support for TLSv1.3 in Load Balancer Service
  * Support for sending mails via HTTPS for Email Delivery Service
- from version 2.125.0
  * Support for creating and updating a refreshable clone with auto-refresh
    for an Autonomous Database in the Database service
  * Support for symmetric hashing in the Network Load Balancer service
  * Support for creating and deploying helm command specifications in the DevOps Service
  * Support for uninstalling helm chart when deleting an Oracle Kubernetes Stage through the DevOps Service
  * Support for collecting metrics and filter plugin with Unified Monitoring Agent (UMA) in the Logging service
  * Support for reading logs from head position after agent restart in the Logging service
  * Support for monitoring MySQL HeatWave clusters in Database Management Service
  * Support for multiple severities in an alarm in the Monitoring service
  * The properties `DisplayName` and `Description` were made required in the model
    `CreateUnifiedAgentConfigurationDetails` in the Logging service
  * The property `RecordInput` was made required in the model `OperationalMetricsSource` in the Logging service
- from version 2.124.2
  * Support for standalone Oracle HTTP server discovery and monitoring in the Stack Monitoring service
  * Support for attribute management for traces in the Application Performance Monitoring service
  * Support for async jobs and document translations in the AI language service
- from version 2.124.1
  * Support for new development license type on dedicated infrastructure in the Database service
  * Support for placement parameters on Autonomous Container Database create operation in the Database service
  * Support for autoscaling on model deployment in the Data Science service
- from version 2.124.0
  * Support for Linux capabilities configuration for the containers in the Container Instances service
  * Support for service platforms in the Oracle Store Platform Gateway service

OBS-URL: https://build.opensuse.org/request/show/1164569
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=139
This commit is contained in:
Robert Schweikert 2024-04-04 21:17:42 +00:00 committed by Git OBS Bridge
parent 722e57495b
commit da6a82d2d3
6 changed files with 98 additions and 91 deletions

View File

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

View File

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

View File

@ -1,71 +0,0 @@
Index: oci-python-sdk-2.102.0/tests/unit/test_basic_api_calls.py
===================================================================
--- oci-python-sdk-2.102.0.orig/tests/unit/test_basic_api_calls.py
+++ oci-python-sdk-2.102.0/tests/unit/test_basic_api_calls.py
@@ -5,7 +5,7 @@
import oci
-def test_identity_list_users(identity, config):
+def test_identity_list_users(config, identity):
response = identity.list_users(config["tenancy"])
assert response is not None
@@ -31,7 +31,7 @@ def test_vcn_list_instances(compute, con
assert response.request_id is not None
-def test_limit(identity, config):
+def test_limit(config, identity):
response = identity.list_users(config["tenancy"], limit=1)
assert response is not None
Index: oci-python-sdk-2.102.0/tests/unit/test_waiters.py
===================================================================
--- oci-python-sdk-2.102.0.orig/tests/unit/test_waiters.py
+++ oci-python-sdk-2.102.0/tests/unit/test_waiters.py
@@ -112,7 +112,7 @@ def test_wait_multiple_states(virtual_ne
assert total_time < 60 * 5
-def test_invalid_operation(identity, config):
+def test_invalid_operation(config, identity):
# Create User
request = oci.identity.models.CreateUserDetails()
request.compartment_id = config["tenancy"]
@@ -135,7 +135,7 @@ def test_invalid_operation(identity, con
oci.wait_until(identity, response, 'not a real property', 'test')
-def test_already_in_state(identity, config):
+def test_already_in_state(config, identity):
description = 'test user'
request = oci.identity.models.CreateUserDetails()
request.compartment_id = config["tenancy"]
@@ -155,7 +155,7 @@ def test_already_in_state(identity, conf
identity.delete_user(user_id)
-def test_wait_time_exceeded(identity, config):
+def test_wait_time_exceeded(config, identity):
description = 'test user'
request = oci.identity.models.CreateUserDetails()
request.compartment_id = config["tenancy"]
@@ -182,7 +182,7 @@ def test_property_and_eval_function_prov
assert str(ve.value) == 'Invalid wait_until configuration - can not provide both evaluate_response function and property argument, only one should be specified'
-def test_eval_function_lambda(identity, config):
+def test_eval_function_lambda(config, identity):
user_id = None
try:
description = 'test user'
@@ -206,7 +206,7 @@ def test_eval_function_lambda(identity,
identity.delete_user(user_id)
-def test_eval_function_func_ref(identity, config):
+def test_eval_function_func_ref(config, identity):
user_id = None
try:
description = 'test user'

View File

@ -1,22 +1,21 @@
diff -Nru oci-python-sdk-2.119.1.orig/requirements.txt oci-python-sdk-2.119.1/requirements.txt
--- oci-python-sdk-2.119.1.orig/requirements.txt 2024-01-23 05:54:06.000000000 +0100
+++ oci-python-sdk-2.119.1/requirements.txt 2024-01-24 10:58:08.999268767 +0100
diff -Nru oci-python-sdk-2.125.1.orig/requirements.txt oci-python-sdk-2.125.1/requirements.txt
--- oci-python-sdk-2.125.1.orig/requirements.txt 2024-04-02 07:52:03.000000000 +0200
+++ oci-python-sdk-2.125.1/requirements.txt 2024-04-04 09:52:44.233658242 +0200
@@ -1,21 +1,21 @@
-autodocsumm==0.1.11
+autodocsumm>=0.1.11
certifi
-coverage==4.5.2
-cryptography>=3.2.1,<42.0.0
-flake8>=3.6.0,<6
-cryptography>=3.2.1,<43.0.0
+coverage>=4.5.2
+cryptography>=3.2.1
flake8>=3.6.0,<6
-mock==2.0.0
-pyOpenSSL>=17.5.0,<24.0.0
-pyOpenSSL>=17.5.0,<25.0.0
-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>=3.2.1
+flake8>=3.6.0
+mock>=2.0.0
+pyOpenSSL>=17.5.0
+pytest>=4.1.0
@ -41,16 +40,16 @@ diff -Nru oci-python-sdk-2.119.1.orig/requirements.txt oci-python-sdk-2.119.1/re
-Jinja2<3.1
\ No newline at end of file
+Jinja2<3.1
diff -Nru oci-python-sdk-2.119.1.orig/setup.py oci-python-sdk-2.119.1/setup.py
--- oci-python-sdk-2.119.1.orig/setup.py 2024-01-23 05:54:06.000000000 +0100
+++ oci-python-sdk-2.119.1/setup.py 2024-01-24 10:59:01.382714129 +0100
diff -Nru oci-python-sdk-2.125.1.orig/setup.py oci-python-sdk-2.125.1/setup.py
--- oci-python-sdk-2.125.1.orig/setup.py 2024-04-02 07:52:03.000000000 +0200
+++ oci-python-sdk-2.125.1/setup.py 2024-04-04 09:52:02.393146026 +0200
@@ -31,12 +31,12 @@
requires = [
"certifi",
- "configparser==4.0.2 ; python_version < '3'",
- "cryptography>=3.2.1,<42.0.0",
- "pyOpenSSL>=17.5.0,<24.0.0",
- "cryptography>=3.2.1,<43.0.0",
- "pyOpenSSL>=17.5.0,<25.0.0",
- "python-dateutil>=2.5.3,<3.0.0",
+ "configparser>=4.0.2 ; python_version < '3'",
+ "cryptography>=3.2.1",

View File

@ -1,3 +1,83 @@
-------------------------------------------------------------------
Thu Apr 4 10:59:43 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 2.125.1
* Support for assigned private IP and single stack IPV6 feature for Network Load Balancer Service
* Support for Configuration API in Email Delivery Service
* Support for the status field in creating data source resource for Cloud Guard Service
* Support for TLSv1.3 in Load Balancer Service
* Support for sending mails via HTTPS for Email Delivery Service
- from version 2.125.0
* Support for creating and updating a refreshable clone with auto-refresh
for an Autonomous Database in the Database service
* Support for symmetric hashing in the Network Load Balancer service
* Support for creating and deploying helm command specifications in the DevOps Service
* Support for uninstalling helm chart when deleting an Oracle Kubernetes Stage through the DevOps Service
* Support for collecting metrics and filter plugin with Unified Monitoring Agent (UMA) in the Logging service
* Support for reading logs from head position after agent restart in the Logging service
* Support for monitoring MySQL HeatWave clusters in Database Management Service
* Support for multiple severities in an alarm in the Monitoring service
* The properties `DisplayName` and `Description` were made required in the model
`CreateUnifiedAgentConfigurationDetails` in the Logging service
* The property `RecordInput` was made required in the model `OperationalMetricsSource` in the Logging service
- from version 2.124.2
* Support for standalone Oracle HTTP server discovery and monitoring in the Stack Monitoring service
* Support for attribute management for traces in the Application Performance Monitoring service
* Support for async jobs and document translations in the AI language service
- from version 2.124.1
* Support for new development license type on dedicated infrastructure in the Database service
* Support for placement parameters on Autonomous Container Database create operation in the Database service
* Support for autoscaling on model deployment in the Data Science service
- from version 2.124.0
* Support for Linux capabilities configuration for the containers in the Container Instances service
* Support for service platforms in the Oracle Store Platform Gateway service
* Support for whisper models and delete job operation in the Speech service
* Support for new SQL insight content types in news reports in the Operations Insights service
* Support for launching virtual machines with multiple volumes in the Compute service
* The property `CapacityPlanningResources` has been made optional in the
model `NewsContentTypes` in the Operations Insights service
- from version 2.123.0
* Support for specifying dialog version when creating skills entities in the Digital Assistant service
* Support for bulk creation of skill entities in the Digital Assistant service
* Support for training skill query entities in the Digital Assistant service
* Support for cascading delete of skill custom entities in the Digital Assistant service
* Support for creating autonomous dataguard associations in the Database service
* Support for auto generation of secrets in the Secret Management service
* Support for cluster placement groups in Cloud Exadata Infrastructure in the Database service
* Support for retrieving previous logs of the container in the Container Instances service
* Support for queue sources in the Connector Hub service
* Support for automatic key rotation in the Key Management Service
* Support for downloading operator activity reports and assignment
healthchecks in the Operator Access Control service
* Support for operator requesting access in the future time in the Operator Access Control service
* Support for forwarding hypervisor logs in the Operator Access Control service
* Support for asynchronous data asset export in the Data Catalog service
* Support for launch with multiple volumes for virtual machines in the Compute Service
* Support for tagging in Database Management service
* Support for default retries on operations of the Connector Hub service
* Property `max_cpu_core_count` was removed from models `UpdateAutonomousDatabaseDetails`,
`CreateRefreshableAutonomousDatabaseCloneDetails`, `CreateCrossRegionDisasterRecoveryDetails`,
`CreateCrossRegionAutonomousDatabaseDataGuardDetails`, `CreateAutonomousDatabaseFromBackupTimestampDetails`,
`CreateAutonomousDatabaseFromBackupDetails`, `CreateAutonomousDatabaseDetails`, `CreateAutonomousDatabaseCloneDetails`,
`CreateAutonomousDatabaseBase`, `AutonomousDatabase`, `AutonomousDatabaseSummary` in the Database service
* Property `key_id` in model `CreateSecretDetails` is made required in the Vault service
* Model `DatabaseConnectionCredentailsByName` was renamed to
`DatabaseConnectionCredentialsByName` in the Database service
- from version 2.122.0
* Support for calling Oracle Cloud Infrastructure services in the me-dcc-doha-1 region
* Support for Secure Desktops service
* Support for enabling and disabling Simultaneous Multithreading (SMT) for virtual machines in the Compute service
* Support for Bring Your Own Container Jobs (BYOC v2) in the Data Science service
* Support for expanded language translation in the AI Language service
* Support for additional flags for ignoring transliteration and text length
to be considered for determining dominant language in the AI Language service
* The model `PreTrainedPhiModelDetails` was removed in the AI Language service
* The field `system_tags` has changed type from `dict(str, object)` to `dict(str, dict(str, object))`
in the models `endpoint`, `endpoint_summary`, `model`, `model_summary`, `project`, and `project_summary`
in the AI Language service
- Drop patch to support older pytest versions
* ops_fixture-order.patch
-------------------------------------------------------------------
Wed Mar 6 14:47:20 UTC 2024 - Robert Schweikert <rjschwei@suse.com>

View File

@ -19,7 +19,7 @@
%bcond_without python2
%{?sle15_python_module_pythons}
Name: python-oci-sdk
Version: 2.121.1
Version: 2.125.1
Release: 0
Summary: Oracle Cloud Infrastructure Python SDK
License: Apache-2.0 OR UPL-1.0
@ -28,9 +28,8 @@ URL: https://github.com/oracle/oci-python-sdk
Source: %{url}/archive/v%{version}.tar.gz#/oci-python-sdk-%{version}.tar.gz
Source99: python-oci-sdk.rpmlintrc
Patch0: ops_relax-python-depends.patch
Patch1: ops_fixture-order.patch
# PATCH-FIX-OPENSUSE pytest-740.patch gh#oracle/oci-python-sdk#566
Patch2: pytest-740.patch
Patch1: pytest-740.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}