forked from pool/python-oci-sdk
		
	- Update to version 2.90.0
  * Support for the Queue service
  * Support for Intel X9 shapes when launching VM database systems in the Database service
  * Support for enabling, disabling, and editing Database Management service
    connections on pluggable databases in the Database service
  * Support for availability configurations and maintenance window schedules
    on synthetic monitors in the Application Performance Monitoring service
  * Support for scheduling cascading deletes on a project in the DevOps service
  * Support for cancelling a scheduled cascading delete on a project in the DevOps service
  * Support for issue and action fields on job phases of validation
    and migration processes in the Database Migration service
  * Support for cluster profiles in the Big Data service
  * Support for egress-only services in the Service Mesh service
  * Support for optional listeners and service discovery metadata
    on virtual deployments in the Service Mesh service
  * Support for canceling work requests in the accepted state in the Service Mesh service
  * Support for filtering work requests on associated resource
    id and operation status in the Service Mesh service
  * Support for sorting while listing work requests, listing work request
    logs, and listing work request errors in the Service Mesh service
  * Support for Oracle Managed Access integration in the Fusion Apps as a Service service
  * Support for refresh scheduling in the Fusion Apps as a Service service
  * Support for additional connections types on database resources in the GoldenGate service
  * Support for retries by default on operations of the Fusion Apps as a Service service
  * Support for retries by default on operations of the Database Migration service
  * Support for retries by default on operations of the Service Mesh service
  * Support for default retries on operations of the Service Mesh service
  * Support for default retries on operations of the Database Migration service
  * Support for default retries on operations of the Fusion Apps as a Service service
  * The property `service_instance_type` changed from optional to required in the
OBS-URL: https://build.opensuse.org/request/show/1046444
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=76
		
	
		
			
				
	
	
		
			103 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			RPMSpec
		
	
	
	
	
	
			
		
		
	
	
			103 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			RPMSpec
		
	
	
	
	
	
| #
 | |
| # spec file for package python-oci-sdk
 | |
| #
 | |
| # Copyright (c) 2023 SUSE LLC
 | |
| #
 | |
| # All modifications and additions to the file contributed by third parties
 | |
| # remain the property of their copyright owners, unless otherwise agreed
 | |
| # upon. The license for this file, and modifications and additions to the
 | |
| # file, is the same license as for the pristine package itself (unless the
 | |
| # license for the pristine package is not an Open Source License, in which
 | |
| # case the license is the MIT License). An "Open Source License" is a
 | |
| # license that conforms to the Open Source Definition (Version 1.9)
 | |
| # published by the Open Source Initiative.
 | |
| 
 | |
| # Please submit bugfixes or comments via https://bugs.opensuse.org/
 | |
| #
 | |
| 
 | |
| 
 | |
| %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 | |
| %bcond_without python2
 | |
| Name:           python-oci-sdk
 | |
| Version:        2.90.0
 | |
| Release:        0
 | |
| Summary:        Oracle Cloud Infrastructure Python SDK
 | |
| License:        Apache-2.0 OR UPL-1.0
 | |
| Group:          Development/Languages/Python
 | |
| URL:            https://github.com/oracle/oci-python-sdk
 | |
| Source:         %{url}/archive/v%{version}.tar.gz#/oci-python-sdk-%{version}.tar.gz
 | |
| Patch0:         ops_relax-python-depends.patch
 | |
| Patch1:         ops_fixture-order.patch
 | |
| BuildRequires:  %{python_module devel}
 | |
| BuildRequires:  %{python_module setuptools}
 | |
| BuildRequires:  fdupes
 | |
| BuildRequires:  python-rpm-macros
 | |
| Requires:       python-PyJWT
 | |
| Requires:       python-certifi
 | |
| Requires:       python-circuitbreaker >= 1.3.1
 | |
| Requires:       python-cryptography
 | |
| Requires:       python-httpsig_cffi
 | |
| Requires:       python-pyOpenSSL >= 17.5.0
 | |
| Requires:       python-python-dateutil < 3.0.0
 | |
| Requires:       python-python-dateutil >= 2.5.3
 | |
| Requires:       python-pytz >= 2016.10
 | |
| Requires:       python-requests
 | |
| Requires:       python-six
 | |
| BuildArch:      noarch
 | |
| # SECTION test requirements
 | |
| BuildRequires:  %{python_module PyJWT}
 | |
| BuildRequires:  %{python_module certifi}
 | |
| BuildRequires:  %{python_module circuitbreaker >= 1.3.1}
 | |
| BuildRequires:  %{python_module cryptography}
 | |
| BuildRequires:  %{python_module httpsig_cffi}
 | |
| BuildRequires:  %{python_module pyOpenSSL >= 17.5.0}
 | |
| BuildRequires:  %{python_module pytest > 4.1.0}
 | |
| BuildRequires:  %{python_module python-dateutil < 3.0.0}
 | |
| BuildRequires:  %{python_module python-dateutil >= 2.5.3}
 | |
| BuildRequires:  %{python_module pytz >= 2016.10}
 | |
| BuildRequires:  %{python_module requests}
 | |
| BuildRequires:  %{python_module six}
 | |
| BuildRequires:  %{python_module vcrpy >= 2.0.1}
 | |
| %if %{with python2}
 | |
| BuildRequires:  python-configparser
 | |
| %endif
 | |
| # /SECTION
 | |
| %ifpython2
 | |
| Requires:       python-configparser
 | |
| %endif
 | |
| %python_subpackages
 | |
| 
 | |
| %description
 | |
| 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
 | |
| # 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/ 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
 | |
| 
 | |
| %build
 | |
| %python_build
 | |
| 
 | |
| %check
 | |
| export PYTHONDONTWRITEBYTECODE=1
 | |
| %pytest tests/unit tests/integ -s
 | |
| 
 | |
| %install
 | |
| %python_install
 | |
| %python_expand %fdupes %{buildroot}%{$python_sitelib}
 | |
| 
 | |
| %files %{python_files}
 | |
| %doc CHANGELOG.rst README.rst
 | |
| %license LICENSE.txt
 | |
| %{python_sitelib}/*
 | |
| 
 | |
| %changelog
 |