From 675c677ab51700fc70a0ed6f5b636d9538cdd54f Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sat, 12 Nov 2022 22:39:53 +0100 Subject: [PATCH] Update package version --- build.gradle | 2 +- python/.openapi-generator/FILES | 15 --------------- python/README.md | 2 +- python/garage_admin_sdk/__init__.py | 2 +- python/garage_admin_sdk/api_client.py | 2 +- python/garage_admin_sdk/configuration.py | 2 +- python/setup.py | 2 +- 7 files changed, 6 insertions(+), 21 deletions(-) diff --git a/build.gradle b/build.gradle index f407b1c..1b16d98 100644 --- a/build.gradle +++ b/build.gradle @@ -13,7 +13,7 @@ task buildPythonClient(type: org.openapitools.generator.gradle.plugin.tasks.Gene outputDir = "$rootDir/python" configOptions = [ packageName: "garage_admin_sdk", - packageVersion: "0.7.3", + packageVersion: "0.8.0", projectName: "garage-admin-sdk" ] } diff --git a/python/.openapi-generator/FILES b/python/.openapi-generator/FILES index 6c88961..9e3aee7 100644 --- a/python/.openapi-generator/FILES +++ b/python/.openapi-generator/FILES @@ -86,19 +86,4 @@ setup.cfg setup.py test-requirements.txt test/__init__.py -test/test_allow_bucket_key_request.py -test/test_allow_bucket_key_request_permissions.py -test/test_bucket_api.py -test/test_bucket_info.py -test/test_bucket_info_quotas.py -test/test_bucket_info_website_config.py -test/test_bucket_key_info.py -test/test_create_bucket_request.py -test/test_create_bucket_request_local_alias.py -test/test_create_bucket_request_local_alias_allow.py -test/test_list_buckets200_response_inner.py -test/test_list_buckets200_response_inner_local_aliases_inner.py -test/test_update_bucket_request.py -test/test_update_bucket_request_quotas.py -test/test_update_bucket_request_website_access.py tox.ini diff --git a/python/README.md b/python/README.md index a0b4217..5179cfb 100644 --- a/python/README.md +++ b/python/README.md @@ -7,7 +7,7 @@ Administrate your Garage cluster programatically, including status, layout, keys This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: v0.8.0 -- Package version: 0.7.3 +- Package version: 0.8.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen ## Requirements. diff --git a/python/garage_admin_sdk/__init__.py b/python/garage_admin_sdk/__init__.py index dbdf91b..a9bcda1 100644 --- a/python/garage_admin_sdk/__init__.py +++ b/python/garage_admin_sdk/__init__.py @@ -10,7 +10,7 @@ """ -__version__ = "0.7.3" +__version__ = "0.8.0" # import ApiClient from garage_admin_sdk.api_client import ApiClient diff --git a/python/garage_admin_sdk/api_client.py b/python/garage_admin_sdk/api_client.py index 72e537c..b0c6ca8 100644 --- a/python/garage_admin_sdk/api_client.py +++ b/python/garage_admin_sdk/api_client.py @@ -76,7 +76,7 @@ class ApiClient(object): self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/0.7.3/python' + self.user_agent = 'OpenAPI-Generator/0.8.0/python' def __enter__(self): return self diff --git a/python/garage_admin_sdk/configuration.py b/python/garage_admin_sdk/configuration.py index 1e118fa..89375ba 100644 --- a/python/garage_admin_sdk/configuration.py +++ b/python/garage_admin_sdk/configuration.py @@ -388,7 +388,7 @@ class Configuration(object): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: v0.8.0\n"\ - "SDK Package Version: 0.7.3".\ + "SDK Package Version: 0.8.0".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/python/setup.py b/python/setup.py index 9e77bc9..7390cd2 100644 --- a/python/setup.py +++ b/python/setup.py @@ -11,7 +11,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "garage-admin-sdk" -VERSION = "0.7.3" +VERSION = "0.8.0" # To install the library, run the following # # python setup.py install