From 97041929d908db8800d531ac7e7108483697d5a8 Mon Sep 17 00:00:00 2001 From: dgarcia <> Date: Wed, 9 Aug 2023 15:26:32 +0000 Subject: [PATCH] Update python-oci-sdk to version 2.110.0 / rev 59 via SR 1103121 https://build.opensuse.org/request/show/1103121 by user dgarcia + dimstar_suse - Add pytest-740.patch to fix compatibility issues with pytest 7.4.0 gh#oracle/oci-python-sdk#566 - Update to version 2.110.0 - Support for backup retention on autonomous database create operations in the Database service - Support for exclude tables for replication in the Database Migration service - Support for adding and updating auto failover maximum data loss limits for local autonomous data guards in the Database service - Support for limiting networking diagram ingestion in the Networking Monitoring service - Support for new operations for deployment upgrades in the GoldenGate service - Support for getting model type information and base model versions while creating language custom models in the AI Language service - Support for support field in class metric in the A --- packages/p/python-oci-sdk/.files | Bin 386 -> 440 bytes packages/p/python-oci-sdk/.rev | 94 ++++++++++++++++++ .../oci-python-sdk-2.106.0.tar.gz | 1 - .../oci-python-sdk-2.110.0.tar.gz | 1 + packages/p/python-oci-sdk/pytest-740.patch | 22 ++++ .../p/python-oci-sdk/python-oci-sdk.changes | 90 +++++++++++++++++ packages/p/python-oci-sdk/python-oci-sdk.spec | 8 +- 7 files changed, 211 insertions(+), 5 deletions(-) delete mode 120000 packages/p/python-oci-sdk/oci-python-sdk-2.106.0.tar.gz create mode 120000 packages/p/python-oci-sdk/oci-python-sdk-2.110.0.tar.gz create mode 100644 packages/p/python-oci-sdk/pytest-740.patch diff --git a/packages/p/python-oci-sdk/.files b/packages/p/python-oci-sdk/.files index e13884899676e4c14703d23ed7e7cfe1acdfe79f..0fe98098b786f92535c079a1e32847d9535a57bf 100644 GIT binary patch delta 215 zcmWN}K}y3=5CG7GAVRwl1XnJ4frR=0&-_VN3WE2Tnf$4x&<2x@F18R(V^}-30|P#ee=}>7eR3J1TIOFv?8>{cG1xr6i?tSJb?Go2(Awg z|KBUUr}M5KV49^#lFY`#_Gr<23e19_Ah_egc~*dvOfjh$lkvCcu0!26d0U?H-knKV zo2K%8w$|Ju1*(JAJYZm`xIu|=<1SXq$8)mWWou;$%RpP}s1sZ&gNR00U7!jIz(!*A XYyX)@ 1098352 + + 20e5d6368d0e422b552cdbf5f054fc28 + 2.110.0 + + dimstar_suse + - Add pytest-740.patch to fix compatibility issues with pytest 7.4.0 + gh#oracle/oci-python-sdk#566 +- Update to version 2.110.0 + - Support for backup retention on autonomous database create operations in the Database service + - Support for exclude tables for replication in the Database Migration service + - Support for adding and updating auto failover maximum data loss limits for local autonomous data guards in the Database service + - Support for limiting networking diagram ingestion in the Networking Monitoring service + - Support for new operations for deployment upgrades in the GoldenGate service + - Support for getting model type information and base model versions while creating language custom models in the AI Language service + - Support for support field in class metric in the AI Language service + - Support for Compute Cloud at Customer resource type in the Operator Access Control service + - Support for managing account management info, account recovery settings, app roles, apps, app status changers, grants, identity propagation trusts and settings, request-able groups, requests, security questions, OAuth tokens, and user attribute settings in the Identity Domains service + - Property ipv6_cidr_block is removed from models Vcn and CreateVcnDetails in the Networking Monitoring service + - Property ipv6_public_cidr_block is removed from models Vcn and Subnet in the Networking Monitoring service + - Property is_internet_access_allowed is removed from models UpdateIpv6Details, Ipv6 and CreateIpv6Details in the Networking Monitoring service + - Property public_ip_address is removed from model Ipv6 in the Networking Monitoring service + - Support for retries by default on operations of the Operator Access Control service +- 2.109.0 + - Support for the Exadata Fleet Update service + - Support for REST-based log collection, multi-conditional labels, + and collection properties in the Logging Analytics service + - Support for Kubernetes cluster credential rotation in the + Container Engine for Kubernetes service + - Support for zero-downtime features in the Fusion Apps as a Service + service + - Support for news reports in the Operations Insights service + - Allowed value ACCELERATION_MAINTENANCE was removed from the + property task_type in the models StandardTask, + ScheduledTaskSummary and ScheduledTask in the Logging Analytics + service + - Allowed value ACCELERATION_MAINTENANCE was removed from the + parameter task_type in operation list_scheduled_tasks in the + Logging Analytics service +- 2.108.0 + - Support for composing multiple document service custom key value + models into one single model in Document Understanding Service + - Support for custom hostname in the Compute service + - Support for cloud subscription in the Organizations service + - Support for automatic backup download in the GoldenGate service + - Support for creating single use (non-recurring) budgets in the + Budgets service + - Support for retries by default on operations of the Budgets + service + - Properties is_classic_subscription, payment_model, + region_assignment, lifecycle_state, start_date, end_date, + classic_subscription_id, time_created are deleted from model + SubscriptionSummary in the Organizations service + - Properties classic_subscription_id, is_classic_subscription, + payment_model, region_assignment, lifecycle_state, skus, + program_type, customer_country_code, cloud_amount_currency, + csi_number, subscription_tier, is_government_subscription, + promotion, purchase_entitlement_id, start_date, end_date are + deleted from models Subscription and AssignedSubscription in the + Organizations service + - Properties classic_subscription_id, is_classic_subscription, + payment_model, region_assignment, lifecycle_state, start_date, + end_date, csi_number are deleted from model + AssignedSubscriptionSummary in the Organizations service +- 2.107.0 + - Support for calling Oracle Cloud Infrastructure services in the + mx-monterrey-1 region + - Support for Kerberos and LDAP with NFSv3 in the File Storage + service + - Support for capacity reservation checks for movable compute + instances in the Disaster Recovery service + - Support for Oracle MFT monitoring in the Stack Monitoring service + - Support for OS patching in the Big Data service + - Support for master and utility nodes in the Big Data service + - Support for connectivity testing in the GoldenGate service + - The type of property size_in_bytes was changed from float to int + for the DeploymentBackup, DeploymentBackupSummary, + TrailFileSummary, and TrailSequenceSummary in the GoldenGate + service + - The property function_id was made required in the model + UpdateInvokeFunctionUserDefinedStepDetails in the Disaster + Recovery service + - The properties run_on_instance_id and script_command were made + required in the model UpdateRunLocalScriptUserDefinedStepDetails + in the Disaster Recovery service + - The properties run_on_instance_id and + object_storage_script_location were made required in the model + UpdateRunObjectStoreScriptUserDefinedStepDetails in the Disaster + Recovery service + - The property additional_capabilities was removed from models + CreateContainerDetails and Container in the Container Instances + service + + 1103121 + diff --git a/packages/p/python-oci-sdk/oci-python-sdk-2.106.0.tar.gz b/packages/p/python-oci-sdk/oci-python-sdk-2.106.0.tar.gz deleted file mode 120000 index f4a58891177..00000000000 --- a/packages/p/python-oci-sdk/oci-python-sdk-2.106.0.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeibk342mqbdgagh56yyzx3hway2diezzfrezjn35nrcuijzqp3ff4e \ No newline at end of file diff --git a/packages/p/python-oci-sdk/oci-python-sdk-2.110.0.tar.gz b/packages/p/python-oci-sdk/oci-python-sdk-2.110.0.tar.gz new file mode 120000 index 00000000000..8e8e67e5b86 --- /dev/null +++ b/packages/p/python-oci-sdk/oci-python-sdk-2.110.0.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeicf7zxvfzok2jnpfqxlmvgtlq54tthyxpcyc6fz7admdznfnktkda \ No newline at end of file diff --git a/packages/p/python-oci-sdk/pytest-740.patch b/packages/p/python-oci-sdk/pytest-740.patch new file mode 100644 index 00000000000..568b254ec2b --- /dev/null +++ b/packages/p/python-oci-sdk/pytest-740.patch @@ -0,0 +1,22 @@ +Index: oci-python-sdk-2.109.0/tests/conftest.py +=================================================================== +--- oci-python-sdk-2.109.0.orig/tests/conftest.py ++++ oci-python-sdk-2.109.0/tests/conftest.py +@@ -13,7 +13,7 @@ from . import test_config_container + + + def pytest_addoption(parser): +- parser.addoption("--config-file", action="store", help="location of the config file", ++ parser.addoption("--config", action="store", help="location of the config file", + default=get_resource_path('config')) + parser.addoption("--config-profile", action="store", + help="profile to use from the config file", +@@ -30,7 +30,7 @@ def pytest_configure(config): + + @pytest.fixture(scope="session") + def config_file(request): +- return request.config.getoption("--config-file") ++ return request.config.getoption("--config") + + + @pytest.fixture(scope="session") diff --git a/packages/p/python-oci-sdk/python-oci-sdk.changes b/packages/p/python-oci-sdk/python-oci-sdk.changes index 10315ebfc6f..8c6c1626238 100644 --- a/packages/p/python-oci-sdk/python-oci-sdk.changes +++ b/packages/p/python-oci-sdk/python-oci-sdk.changes @@ -1,3 +1,93 @@ +------------------------------------------------------------------- +Wed Aug 9 10:20:30 UTC 2023 - Daniel Garcia + +- Add pytest-740.patch to fix compatibility issues with pytest 7.4.0 + gh#oracle/oci-python-sdk#566 +- Update to version 2.110.0 + - Support for backup retention on autonomous database create operations in the Database service + - Support for exclude tables for replication in the Database Migration service + - Support for adding and updating auto failover maximum data loss limits for local autonomous data guards in the Database service + - Support for limiting networking diagram ingestion in the Networking Monitoring service + - Support for new operations for deployment upgrades in the GoldenGate service + - Support for getting model type information and base model versions while creating language custom models in the AI Language service + - Support for support field in class metric in the AI Language service + - Support for Compute Cloud at Customer resource type in the Operator Access Control service + - Support for managing account management info, account recovery settings, app roles, apps, app status changers, grants, identity propagation trusts and settings, request-able groups, requests, security questions, OAuth tokens, and user attribute settings in the Identity Domains service + - Property ipv6_cidr_block is removed from models Vcn and CreateVcnDetails in the Networking Monitoring service + - Property ipv6_public_cidr_block is removed from models Vcn and Subnet in the Networking Monitoring service + - Property is_internet_access_allowed is removed from models UpdateIpv6Details, Ipv6 and CreateIpv6Details in the Networking Monitoring service + - Property public_ip_address is removed from model Ipv6 in the Networking Monitoring service + - Support for retries by default on operations of the Operator Access Control service +- 2.109.0 + - Support for the Exadata Fleet Update service + - Support for REST-based log collection, multi-conditional labels, + and collection properties in the Logging Analytics service + - Support for Kubernetes cluster credential rotation in the + Container Engine for Kubernetes service + - Support for zero-downtime features in the Fusion Apps as a Service + service + - Support for news reports in the Operations Insights service + - Allowed value ACCELERATION_MAINTENANCE was removed from the + property task_type in the models StandardTask, + ScheduledTaskSummary and ScheduledTask in the Logging Analytics + service + - Allowed value ACCELERATION_MAINTENANCE was removed from the + parameter task_type in operation list_scheduled_tasks in the + Logging Analytics service +- 2.108.0 + - Support for composing multiple document service custom key value + models into one single model in Document Understanding Service + - Support for custom hostname in the Compute service + - Support for cloud subscription in the Organizations service + - Support for automatic backup download in the GoldenGate service + - Support for creating single use (non-recurring) budgets in the + Budgets service + - Support for retries by default on operations of the Budgets + service + - Properties is_classic_subscription, payment_model, + region_assignment, lifecycle_state, start_date, end_date, + classic_subscription_id, time_created are deleted from model + SubscriptionSummary in the Organizations service + - Properties classic_subscription_id, is_classic_subscription, + payment_model, region_assignment, lifecycle_state, skus, + program_type, customer_country_code, cloud_amount_currency, + csi_number, subscription_tier, is_government_subscription, + promotion, purchase_entitlement_id, start_date, end_date are + deleted from models Subscription and AssignedSubscription in the + Organizations service + - Properties classic_subscription_id, is_classic_subscription, + payment_model, region_assignment, lifecycle_state, start_date, + end_date, csi_number are deleted from model + AssignedSubscriptionSummary in the Organizations service +- 2.107.0 + - Support for calling Oracle Cloud Infrastructure services in the + mx-monterrey-1 region + - Support for Kerberos and LDAP with NFSv3 in the File Storage + service + - Support for capacity reservation checks for movable compute + instances in the Disaster Recovery service + - Support for Oracle MFT monitoring in the Stack Monitoring service + - Support for OS patching in the Big Data service + - Support for master and utility nodes in the Big Data service + - Support for connectivity testing in the GoldenGate service + - The type of property size_in_bytes was changed from float to int + for the DeploymentBackup, DeploymentBackupSummary, + TrailFileSummary, and TrailSequenceSummary in the GoldenGate + service + - The property function_id was made required in the model + UpdateInvokeFunctionUserDefinedStepDetails in the Disaster + Recovery service + - The properties run_on_instance_id and script_command were made + required in the model UpdateRunLocalScriptUserDefinedStepDetails + in the Disaster Recovery service + - The properties run_on_instance_id and + object_storage_script_location were made required in the model + UpdateRunObjectStoreScriptUserDefinedStepDetails in the Disaster + Recovery service + - The property additional_capabilities was removed from models + CreateContainerDetails and Container in the Container Instances + service + ------------------------------------------------------------------- Wed Jul 12 07:37:06 UTC 2023 - John Paul Adrian Glaubitz diff --git a/packages/p/python-oci-sdk/python-oci-sdk.spec b/packages/p/python-oci-sdk/python-oci-sdk.spec index 3356efde7bb..5f3833b3057 100644 --- a/packages/p/python-oci-sdk/python-oci-sdk.spec +++ b/packages/p/python-oci-sdk/python-oci-sdk.spec @@ -18,7 +18,7 @@ %bcond_without python2 Name: python-oci-sdk -Version: 2.106.0 +Version: 2.110.0 Release: 0 Summary: Oracle Cloud Infrastructure Python SDK License: Apache-2.0 OR UPL-1.0 @@ -28,6 +28,8 @@ Source: %{url}/archive/v%{version}.tar.gz#/oci-python-sdk-%{version}.tar 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 BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} @@ -76,9 +78,7 @@ Provides: python-oci = %{version}-%{release} Python SDK for Oracle Cloud Infrastructure. Python 2.7+ and 3.5+ are supported. %prep -%setup -q -n oci-python-sdk-%{version} -%patch0 -p1 -%patch1 -p1 +%autosetup -p1 -n oci-python-sdk-%{version} # Remove vendored packages rm -rf src/oci/_vendor/ # Fix includes