diff --git a/ops_relax-python-depends.patch b/ops_relax-python-depends.patch index b2f7895..3124591 100644 --- a/ops_relax-python-depends.patch +++ b/ops_relax-python-depends.patch @@ -1,11 +1,11 @@ -diff -Nru oci-python-sdk-2.10.3.orig/requirements.txt oci-python-sdk-2.10.3/requirements.txt ---- oci-python-sdk-2.10.3.orig/requirements.txt 2020-02-04 22:53:15.000000000 +0100 -+++ oci-python-sdk-2.10.3/requirements.txt 2020-02-07 12:44:42.848928437 +0100 +diff -Nru oci-python-sdk-2.13.0.orig/requirements.txt oci-python-sdk-2.13.0/requirements.txt +--- oci-python-sdk-2.13.0.orig/requirements.txt 2020-04-21 20:03:17.000000000 +0200 ++++ oci-python-sdk-2.13.0/requirements.txt 2020-04-27 10:55:56.351972437 +0200 @@ -1,18 +1,18 @@ -autodocsumm==0.1.11 +autodocsumm>=0.1.11 certifi --configparser==3.5.0 +-configparser==4.0.2 -coverage==4.5.2 -cryptography==2.8 -flake8==3.6.0 @@ -14,8 +14,7 @@ diff -Nru oci-python-sdk-2.10.3.orig/requirements.txt oci-python-sdk-2.10.3/requ -pytest==4.1.0 -pytest-cov==2.6.1 -attrs==19.1.0 --python-dateutil>=2.5.3,<=2.7.3 -+configparser>=3.5.0 ++configparser>=4.0.2 +coverage>=4.5.2 +cryptography>=2.8 +flake8>=3.6.0 @@ -24,7 +23,7 @@ diff -Nru oci-python-sdk-2.10.3.orig/requirements.txt oci-python-sdk-2.10.3/requ +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 @@ -36,18 +35,17 @@ diff -Nru oci-python-sdk-2.10.3.orig/requirements.txt oci-python-sdk-2.10.3/requ +tox>=3.6.1 +vcrpy>=2.0.1 +wheel>=0.32.3 -diff -Nru oci-python-sdk-2.10.3.orig/setup.py oci-python-sdk-2.10.3/setup.py ---- oci-python-sdk-2.10.3.orig/setup.py 2020-02-04 22:53:15.000000000 +0100 -+++ oci-python-sdk-2.10.3/setup.py 2020-02-07 12:45:33.917520586 +0100 -@@ -31,9 +31,9 @@ +diff -Nru oci-python-sdk-2.13.0.orig/setup.py oci-python-sdk-2.13.0/setup.py +--- oci-python-sdk-2.13.0.orig/setup.py 2020-04-21 20:03:17.000000000 +0200 ++++ oci-python-sdk-2.13.0/setup.py 2020-04-27 10:55:39.227948492 +0200 +@@ -31,8 +31,8 @@ + requires = [ "certifi", - "configparser>=3.5.0b1", +- "configparser==4.0.2", - "cryptography==2.8", ++ "configparser>=4.0.2", + "cryptography>=2.8", "pyOpenSSL>=17.5.0", -- "python-dateutil>=2.5.3,<3.0.0", -+ "python-dateutil>=2.5.3", + "python-dateutil>=2.5.3,<3.0.0", "pytz>=2016.10", - ] - diff --git a/python-oci-sdk.changes b/python-oci-sdk.changes index 64fb9a8..6e0ba21 100644 --- a/python-oci-sdk.changes +++ b/python-oci-sdk.changes @@ -1,3 +1,69 @@ +------------------------------------------------------------------- +Mon Apr 27 11:24:05 UTC 2020 - John Paul Adrian Glaubitz + +- Update to version 2.13.0 + + Support for the Data Safe service + + Support for the Incident Management service + + Support for showing which database versions support always-free in the Database service + + Support in instance configurations for flex shapes, dedicated VM + hosts, encryption in transit, and KMS keys in the Compute Autoscaling service + + Support for server-side object encryption using a customer-provided + encryption key in the Object Storage service + + Support for specifying maintenance preferences while launching and + updating Exadata Database systems in the Database service + + Support for flexible-shaped VM instances in the Compute service + + Support for scheduled cross-region backups in the Block Volume service + + Support for object versioning in the Object Storage service + + Deleted models Archiver, CreateArchiverDetails and + UpdateArchiverDetails from the streaming service +- from version 2.12.4 + + Support for access types on instances in the Content and Experience service + + Support for identity contexts in the Search service + + Support for Client Side Encryption: + https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/clientsideencryption.htm + + Support for retries on Python built-in ConnectionError +- from version 2.12.3 + + Support for changing compartments of runs and + applications in the Data Flow service + + Support for getting usage information in the + Key Management Vault service + + Support for custom Key Management service endpoints and private + endpoints on stream pools in the Streaming service + + Fixed kms_example and added secrets examples +- from version 2.12.2 + + Support for the Secrets Management service + + Support for the Big Data service + + Support for updating class name, file URI, language, and spark + version of applications in the Data Flow service + + Support for cross-region replication in the Object Storage service + + Support for retention rules in the Object Storage service + + Support for enabling and disabling pod security policy admission + controllers in the Container Engine for Kubernetes service +- from version 2.12.1 + + Support for Web Application Acceleration and Security configurations + on instances in the Content and Experience service + + Support for shared database homes on Exadata Cloud at Customer + resources in the Database service + + Support for Exadata database creation from backup in the Database service + + Support for conditions on JavaScript challenges, new action types on + access rules, new policy configuration settings, exclusions on custom + protection rules, and IP address lists on IP whitelists in the Web + Application Acceleration and Security service +- from version 2.12.0 + + Support for serial console connections in the Database service + + Support for preview database versions in the Database service + + Support for node reboot migration maintenance status and + maintenance windows in the Database service + + Support for using instance metadata API v2 for instance + principals authentication + + Upgraded configparser dependency version + + Deleted model autonomous_exadata_infrastructure_maintenance_window.py + from the database service +- Refresh patches for new version + + ops_relax-python-depends.patch +- Update BuildRequires and Requires from requirements.txt and setup.py +- Update file list to fix Python imports for unvendoring + ------------------------------------------------------------------- Thu Apr 23 10:38:47 UTC 2020 - Tomáš Chvátal diff --git a/python-oci-sdk.spec b/python-oci-sdk.spec index d3fca83..215cfee 100644 --- a/python-oci-sdk.spec +++ b/python-oci-sdk.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without python2 Name: python-oci-sdk -Version: 2.11.0 +Version: 2.13.0 Release: 0 Summary: Oracle Cloud Infrastructure Python SDK License: UPL-1.0 OR Apache-2.0 @@ -34,7 +34,7 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-PyJWT Requires: python-certifi -Requires: python-cryptography >= 2.1.4 +Requires: python-cryptography >= 2.8 Requires: python-httpsig_cffi Requires: python-pyOpenSSL >= 17.5.0 Requires: python-python-dateutil < 3.0.0 @@ -46,22 +46,22 @@ BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module PyJWT} BuildRequires: %{python_module certifi} -BuildRequires: %{python_module cryptography >= 2.1.4} +BuildRequires: %{python_module cryptography >= 2.8} BuildRequires: %{python_module httpsig_cffi} -BuildRequires: %{python_module pyOpenSSL >= 17.5.0} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pyOpenSSL >= 18.0.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} +BuildRequires: %{python_module vcrpy >= 2.0.1} %if %{with python2} -BuildRequires: python-configparser >= 3.5.0 +BuildRequires: python-configparser >= 4.0.2 %endif # /SECTION %ifpython2 -Requires: python-configparser >= 3.5.0 +Requires: python-configparser >= 4.0.2 %endif %python_subpackages @@ -76,9 +76,9 @@ 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/budget/*.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_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/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/os_management/*.py src/oci/resource_manager/*.py src/oci/streaming/*.py src/oci/identity/*.py src/oci/resource_search/*.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/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_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/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/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/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/retry/*.py src/oci/object_storage/transfer/internal/*.py tests/*.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 diff --git a/v2.11.0.tar.gz b/v2.11.0.tar.gz deleted file mode 100644 index 7f8b90a..0000000 --- a/v2.11.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0817e1c1928f71aa535dcfe4e453e85464800267fc3571e2e1dc028882849917 -size 3661552 diff --git a/v2.13.0.tar.gz b/v2.13.0.tar.gz new file mode 100644 index 0000000..59a4910 --- /dev/null +++ b/v2.13.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3da4dbfdde25d4c561ac1bd75ad3c66bb0ecb4b4a0c3cce2f852c8a584fcbd71 +size 6755278