diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 360f1bd..1c7639b 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -13,11 +13,11 @@ jobs: build: # See https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json # for available Python versions on ubuntu - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 strategy: matrix: # see https://www.python.org/downloads/ - python-version: [ '3.6', '3.12' ] + python-version: [ '3.7', '3.12' ] steps: - uses: actions/checkout@v4 diff --git a/README.md b/README.md index 0ca4d44..45a6c09 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ [![PyPI](https://img.shields.io/pypi/v/aspose-barcode-cloud)](https://pypi.org/project/aspose-barcode-cloud/) - API version: 4.0 -- Package version: 25.3.0 +- Package version: 25.4.0 ## SDK and API Version Compatibility: @@ -26,7 +26,7 @@ This repository contains Aspose.BarCode Cloud SDK for Python source code. This S Supported Python versions: -- Python 3.6+ +- Python 3.7+ To use these SDKs, you will need Client Id and Client Secret which can be looked up at [Aspose Cloud Dashboard](https://dashboard.aspose.cloud/applications) (free registration in Aspose Cloud is required for this). diff --git a/aspose_barcode_cloud/api_client.py b/aspose_barcode_cloud/api_client.py index a5d30f0..8d56ff1 100644 --- a/aspose_barcode_cloud/api_client.py +++ b/aspose_barcode_cloud/api_client.py @@ -60,13 +60,13 @@ def __init__(self, configuration=None, header_name=None, header_value=None, cook self.rest_client = RESTClientObject(configuration) self.default_headers = { "x-aspose-client": "python sdk", - "x-aspose-client-version": "25.3.0", + "x-aspose-client-version": "25.4.0", } if header_name is not None: self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = "Aspose-Barcode-SDK/25.3.0/python" + self.user_agent = "Aspose-Barcode-SDK/25.4.0/python" def __del__(self): self.rest_client.close() diff --git a/aspose_barcode_cloud/configuration.py b/aspose_barcode_cloud/configuration.py index 7f49eac..03f0cbb 100644 --- a/aspose_barcode_cloud/configuration.py +++ b/aspose_barcode_cloud/configuration.py @@ -258,7 +258,7 @@ def to_debug_report(self): "OS: {env}\n" "Python Version: {pyversion}\n" "Version of the API: 4.0\n" - "SDK Package Version: 25.3.0".format(env=sys.platform, pyversion=sys.version) + "SDK Package Version: 25.4.0".format(env=sys.platform, pyversion=sys.version) ) @staticmethod diff --git a/setup.py b/setup.py index 7777477..0d468e9 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ from setuptools import setup, find_packages NAME = "aspose-barcode-cloud" -VERSION = "25.3.0" +VERSION = "25.4.0" # To install the library, run the following # # python setup.py install