Skip to content

Commit 3cc1840

Browse files
authored
Update version to 24.13.0 (#89)
* Update version to 24.13.0 * Change action branches from `main` to `v3` * Update Github action runner to the latest version of Ubuntu * Set minimal Python version to 3.8 * Drop Python versions 3.6 and 3.7
1 parent bbcf9f6 commit 3cc1840

File tree

9 files changed

+23
-23
lines changed

9 files changed

+23
-23
lines changed

.github/workflows/check-badges.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Check badges in README.md
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ v3 ]
66
pull_request:
7-
branches: [ main ]
7+
branches: [ v3 ]
88

99
jobs:
1010
build-and-test:

.github/workflows/python-latest.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Latest Python Support
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ v3 ]
66
pull_request:
7-
branches: [ main ]
7+
branches: [ v3 ]
88

99
jobs:
1010
# Define the job to run before your matrix job
@@ -16,7 +16,7 @@ jobs:
1616
- uses: snok/latest-python-versions@v1
1717
id: get-python-versions-action
1818
with:
19-
min-version: '3.12'
19+
min-version: '3.13'
2020

2121
test:
2222
needs: [get-python-versions]
@@ -42,7 +42,7 @@ jobs:
4242
- name: Lint
4343
run: |
4444
python -m black --line-length=120 --check .
45-
python -m check_python_versions --expect 3.6- --only setup.py
45+
python -m check_python_versions --expect 3.8- --only setup.py
4646
- name: Test
4747
env:
4848
TEST_CONFIGURATION_ACCESS_TOKEN: ${{ secrets.TEST_CONFIGURATION_ACCESS_TOKEN }}

.github/workflows/python-package.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,28 @@ name: Test
55

66
on:
77
push:
8-
branches: [ main ]
8+
branches: [ v3 ]
99
pull_request:
10-
branches: [ main ]
10+
branches: [ v3 ]
1111

1212
jobs:
1313
build:
1414
# See https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
1515
# for awailable Python versions on ubuntu
16-
runs-on: ubuntu-20.04
16+
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
# see https://www.python.org/downloads/
20-
python-version: [ '3.6', '3.12' ]
19+
# see https://www.python.org/downloads/
20+
python-version: [ '3.8', '3.13', '3.x' ]
21+
continue-on-error: true
2122

2223
steps:
2324
- uses: actions/checkout@v4
2425
- name: Set up Python ${{ matrix.python-version }}
2526
uses: actions/setup-python@v4
2627
with:
2728
python-version: ${{ matrix.python-version }}
29+
check-latest: true
2830
cache: 'pip' # caching pip dependencies
2931

3032
- name: Install dependencies

.github/workflows/twine-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Check Python package
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ v3 ]
66
pull_request:
7-
branches: [ main ]
7+
branches: [ v3 ]
88

99
jobs:
1010
twine-check:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![PyPI](https://img.shields.io/pypi/v/aspose-barcode-cloud)](https://pypi.org/project/aspose-barcode-cloud/)
66

77
- API version: 3.0
8-
- Package version: 24.12.0
8+
- Package version: 24.13.0
99

1010
## Demo applications
1111

@@ -21,7 +21,7 @@ This repository contains Aspose.BarCode Cloud SDK for Python source code. This S
2121

2222
Supported Python versions:
2323

24-
- Python 3.6+
24+
- Python 3.8+
2525

2626
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).
2727

aspose_barcode_cloud/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ def __init__(self, configuration=None, header_name=None, header_value=None, cook
6060
self.rest_client = RESTClientObject(configuration)
6161
self.default_headers = {
6262
"x-aspose-client": "python sdk",
63-
"x-aspose-client-version": "24.12.0",
63+
"x-aspose-client-version": "24.13.0",
6464
}
6565
if header_name is not None:
6666
self.default_headers[header_name] = header_value
6767
self.cookie = cookie
6868
# Set default User-Agent.
69-
self.user_agent = "Aspose-Barcode-SDK/24.12.0/python"
69+
self.user_agent = "Aspose-Barcode-SDK/24.13.0/python"
7070

7171
def __del__(self):
7272
self.rest_client.close()

aspose_barcode_cloud/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def to_debug_report(self):
258258
"OS: {env}\n"
259259
"Python Version: {pyversion}\n"
260260
"Version of the API: 3.0\n"
261-
"SDK Package Version: 24.12.0".format(env=sys.platform, pyversion=sys.version)
261+
"SDK Package Version: 24.13.0".format(env=sys.platform, pyversion=sys.version)
262262
)
263263

264264
@staticmethod

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from setuptools import setup, find_packages
66

77
NAME = "aspose-barcode-cloud"
8-
VERSION = "24.12.0"
8+
VERSION = "24.13.0"
99
# To install the library, run the following
1010
#
1111
# python setup.py install
@@ -35,8 +35,6 @@
3535
"License :: OSI Approved :: MIT License",
3636
"Operating System :: OS Independent",
3737
"Programming Language :: Python :: 3",
38-
"Programming Language :: Python :: 3.6",
39-
"Programming Language :: Python :: 3.7",
4038
"Programming Language :: Python :: 3.8",
4139
"Programming Language :: Python :: 3.9",
4240
"Programming Language :: Python :: 3.10",

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
; Use tox version 3.x
22
; Run particular env:
3-
; python -m tox -e 3.6
3+
; python -m tox -e 3.8
44
[tox]
5-
envlist = 3.6, 3.12
5+
envlist = 3.8, 3.13
66

77
[testenv]
88
passenv = TEST_CONFIGURATION_ACCESS_TOKEN

0 commit comments

Comments
 (0)